Swift Alamofire VS AFNetworking

Puvanarajan picture Puvanarajan · Oct 7, 2015 · Viewed 21.4k times · Source

I am developing an app using Swift. I want to call a REST API. I found there are two popular libraries, AFNetworking and Alamofire. But I don't know which is better (is more popular or has more features).

Can anybody suggest what are the main differences between Alamofire and AFNetworking?

Answer

Luke Berry picture Luke Berry · Oct 7, 2015

AFNetworking and Alamofire are by the same people (the Alamofire Software Foundation), Alamofire is their Swift version whereas AFNetworking is the Objective-C version.

Feature wise they are the same.