I'm developing a new universal app (minimum iOS 7) and I want to use Swift (it's my second app with this new language). In this app I need the AFNetworking framework, but I have some doubts about compatibility with the new version Alamofire. I know that there are some problems between Alamofire and iOS 7. So, what do you suggest? Use Alamofire in this project or continue with AFNetworking?
You can just get the Alamofire.swift file in your project, instead of dragging the whole Alamofire project. From Alamofire Github page:
Source File
For application targets that do not support embedded frameworks, such as iOS 7, Alamofire can be integrated by adding the Alamofire.swift source file directly into your project. Note that any calling conventions described in the 'Usage' section with the Alamofire prefix would instead omit it (for example, Alamofire.request becomes request), since this functionality is incorporated into the top-level namespace.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With