gowalla/AFNetworking - GitHub

Aug 27, 2011 01:32 · 139 words · 1 minute read

A delightful iOS networking library with NSOperations and block-based callbacks

There’s a lot to be said for a networking library that you can wrap your head around. API design matters, too. Code at its best is poetry, and should be designed to delight (but never surprise).

AFNetworking was lovingly crafted to make best use of our favorite parts of Apple’s Foundation framework: NSOperation for managing multiple concurrent requests, NSURLRequest & NSHTTPURLResponse to encapsulate state, NSCache & NSURLCache for performant and compliant cacheing behavior, and blocks to keep request / response handling code in a single logical unit in code.

If you’re tired of massive libraries that try to do too much…

If you’ve taken it upon yourself to roll your own hacky solution…

If you want a library that actually makes iOS networking code kinda fun…

…try out AFNetworking