AlamofireSpinner 0.2.0

AlamofireSpinner 0.2.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Apr 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Daniel Clelland.



  • By
  • Daniel Clelland

AlamofireSpinner

Tiny Alamofire plugin that starts and stops the network activity indicator.

Note: This pod is now deprecated in favour of AlamofireNetworkActivityIndicator.

Examples

✓ Extremely simple, just call spin() on your request.

Alamofire.request(.GET, "http://myapi.com/users").spin().responseJSON { response in
    print(response)
}

That’s it!