Introduction
MKNetworkKit is an awesome networking framework written in Objective-C. This framework uses blocks and is ARC-ready. Although you have to write more code with MKNetworkKit over other networking frameworks such as AFNetworking, you gain more control on the working of the framework. You can download the framework from https://github.com/MugunthKumar/MKNetworkKit.
The MKNetworkKit framework consists of two main classes and a number of categories. The classes are as follows:
MKNetworkEngine
:MKNetworkEngine
manages the connections to a host. Some of the items thatMKNetworkEngine
manages are reachability, queues, hostname, and caching. To really take advantage ofMKNetworkEngine
you should subclass it for each unique host that you are connecting to.MKNetworkOperation
: This is a subclass ofNSOperation
; it wraps both the request and response classes. We can create aMKNetworkOperation
class for each network operation that our application needs.
To use MKNetworkKit in our projects,...