Jad Jad - 3 months ago 44
iOS Question

Almofire in Swift 3?

I'm about to start a new project using Swift 3. My project is not so complicated. Subscriptions and In-App purchases with user profile data using our APIs server. Is Almofire support enough on Swift 3?

Answer

Alamofire now provides a Swift 3 branch. If you use Cocoapods you can point to the branch like this

pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift3'

Reference: https://github.com/Alamofire/Alamofire/issues/1316