Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the differences between MKNetworkKit and AFNetworking?

I'm running some test on those two networking framework: MKNetworkKit and AFNetworking. And I am seeing that it is not easy to see the differences between the two libs. What are the major differences between the two?

like image 297
MonsieurDart Avatar asked Nov 19 '12 08:11

MonsieurDart


1 Answers

MKNetworkKit:

  • Cache on disk included.
  • Frozen operations (offline requests can be queued to be executed when the network is back).
  • More lightweight.

AFNetworking:

  • More users and contributors.
  • Better documentation (clearer and more accessible).
  • UIImageView+AFNetworking for lazy image loading (possible in MKNK, but more painful).
  • Standard (Apple-like) coding style.
  • Better leverage of SDK objects (NSCoding compliant).
  • Great variety of extra features and extensions (e.g. network reachability, streaming multipart form requests, backgrounding support, etc).
  • Has a nice project logo. ;-)

Anything else?

like image 142
MonsieurDart Avatar answered Nov 03 '22 22:11

MonsieurDart