Hacker News new | ask | show | jobs
by kreeger 4641 days ago
Kudos to Mattt Thompson and the whole community of collaborators that put work into this release. AFNetworking makes a large part of my job making iOS apps a joy, and I can't wait to start working with latest round of changes and features in this new release (including support for NSURLSession in iOS 7).

That said if you haven't used AFNetworking before, I highly recommend doing so. Start with the AFHTTPRequestOperation class(es). And if you're writing an API wrapper of any kind, definitely check out subclassing either AFHTTPRequestOperationManager (for iOS 6) or AFHTTPSessionManager (for iOS 7).

Edit: Derp, I was wrong — AFHTTPClient's been split-up. Thanks for calling me out, @dcaunt; I've updated my remarks.

https://github.com/AFNetworking/AFNetworking/wiki/AFNetworki...

1 comments

With AFNetworking 2.0, you'll use AFHTTPRequestOperationManager in iOS 6 and AFHTTPSessionManager in iOS 7 rather than AFHTTPClient.
I glossed over that originally, apologies; I've updated my comment.