Search code examples
afnetworking-2alamofire

AFNetworkActivityManager for AlamoFire?


AFNetworking allows one to do:

[[AFNetworkActivityIndicatorManager sharedManager] setEnabled:YES];

But I have not figured out how to do this with the Swift AlamoFire equivalent. I've searched the source for some of the same terms, but don't see anything yet.

(I'm learning Swift, so be gentle).


Solution

  • Your assessment is correct @travis. There is currently no support for such an activity indicator in the latest version of Alamofire. If you need this functionality, you'll have to build it out on your own at the moment. With that said, I know the project is always accepting PRs having submitted many myself. 👍🏻