Chapter 7. AFNetworking 2.0 Library
In this chapter, we will cover:
- Checking the network connection type and changes
- Creating a web client using AFHTTPSessionManager
- Creating a custom response serializer
- Using the UIImageView+AFNetworking category
- Downloading files with a progress bar
Introduction
AFNetworking is an amazing network library for iOS and OS X and is incredibly easy to use. It is also very lightweight, modular, and superfast. You can download the AFNetworking library and sample code from the AFNetworking website at https://github.com/AFNetworking/AFNetworking.
In November 2013, the AFNetworking framework was updated to Version 2.0. This was a major update and drastically changed the way we used the library within our applications. This chapter ...
Get iOS and OS X Network Programming Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.