How to perform sequential request with Alamofire and update a progressHUD at every step in Swift 3
问题 Ok, I am going nuts over this one... I'm using Alamofire 4.x (Swift 3 and XCode 8.1). I need to fetch and parse several html requests from a site that requires authentication (no json API, unfortunately). The HTML is then parsed with Fuzi and this progress can take some time so I plan to use a ProgressHUD (PKHUD to be exact) to let users know about what is going on. I also need to grab some html that is not behind an authentication. I created a struct and functions to handle the overall