IOS: doubts about Alamofire vs AFNetworking

I am developing a new universal application (minimum iOS 7), and I want to use Swift (this is my second application with this new language). In this application, I need the AFNetworking infrastructure, but I have some doubts about compatibility with the new version of Alamofire. I know there are some problems between Alamofire and iOS 7. So what do you suggest? Use Alamofire in this project or continue with AFNetworking?

+5
source share
1 answer

You can simply get the Alamofire.swift file in your project, rather than drag and drop the entire Alamofire project. From the Alamofire Github Page :

Original file

For target applications that do not support embedded frameworks such as iOS 7, Alamofire can be integrated by adding the source Alamofire.swift file directly to your project. Note that any calling conventions described in the Usage section with the Alamofire prefix omit it instead (for example, Alamofire.request becomes a request), as this functionality is included in the top-level namespace.

+3
source

All Articles