I'm in the beginning of developing a large iOS project which is heavily network based. And I'm interested what framework should I choose now.
I see a lot of posts on SO about it: ASIHTTPRequest vs AFNetworking framework
and etc. But they are all old. And I also read this:http://allseeing-i.com/%5Brequest_release%5D; After giving it a lot of thought over the last few weeks, I’ve decided that I’m not going to continue working on ASIHTTPRequest in future.
it was written back in 2011. So as I understood ASIHTTPRequest
is obsolete? I haven't a lot of experience in iOS. So I'm interested what is a modern state of things. What is better - ASIHTTPRequest
or AFNetworking
? I'm interested in the next criteria:
- JSON performance (integration with
NSJSONSerialization
) - Richness of API (uploading files,http queries)
- Simplicity
- iOS 6 and future iOS 7 integration
I preferred ASIHTTPRequest over AFNetworking for below reasons.
I will keep this short to not belabour the point. I have done many iOS apps with both ASIHTTP and AFNetworking.
I now no longer use ASIHTTPRequest for the following reasons:
AFNetworking is a good choice for majority of your criteria, for the following reasons:
Hope this helps.