HTTP Networking in Swift
###
The library that comes to mind when talking iOS networking is Alamofire
. It’s a convienient CocoaPod that abstracts away the details leaving you with a clean interface for making HTTP requests.
This post aims to show how to build a simple wrapper class for Alamofire
that automatically manages an activity indicator, allowing your HTTP requests to be as simple as possible.