Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the differences restkit vs afnetworking vs mknetworkkit vs nsurlconnection [closed]

I'm running some test on those three networking framework: ResKit, NSURLConnection and AFNetworking. And I am seeing that it is not easy to see the differences between the third party libs. What are the major differences between the those? and why? which one is best among these

like image 478
codercat Avatar asked Dec 12 '22 10:12

codercat


1 Answers

NSURLConnection is the standard Cocoa class for managing network connection. That is the base to all these third party libs

The difference is that they are richer,They are written to improve usage of network call in the most easier way and all the basic network call is made possible by custom methods by these libraries

As a dev, Using these will give more Readability ,Performance and icing on the cake is..less code.

Restkit uses AFNetworking for the network communication ,Other than that restkit is a parser for the data coming through the network and is most suitable for RESTful webservices

MKNetworking is one of the other favorites which will have the second place in this list.Got performance and can reduce tons of code

For me,The winner is AFNetworking.It is one of the coolest framework in iOS making my programmig life much easier in network communication.Got great performance also.And uses the latest [or recent] block programming implementation which make the code super easy to read and understand

one more is there ASIHttpRequst : It was a good one but now sadly discontinued

like image 193
Lithu T.V Avatar answered May 07 '23 06:05

Lithu T.V