ASIHTTPRequest vs AFNetworking framework?

Here's my thoughts, although as a subjective question I don't think there's a right or wrong answer.

Here's my thoughts, although as a subjective question I don't think there's a right or wrong answer. I lead a development team that works on commercial apps for sizeable clients, and some of my colleagues are always on the look-out for new libraries that can make things easier. Currently I guess the vast majority of our networking uses ASIHTTP.

We took a look at AFNetworking about six months ago, and decided at the time we'd stick with what we know. ASI has been around for a while, and there is far more documentation and helpful advice available online for it.It is a solid codebase, and been around long enough to have gained a lot of traction and respect. That said (and hopefully people who disagree with everything I've said above will read on!

), I think if you're starting afresh now is the time to move on to something else. Even the developer of ASI thinks so. Given all of the changes that have come with iOS 5, I think a modern actively maintained framework like AFNetworking (and there are other options, like RestKit) is a good choice.

Now, you're right to say some people have trouble using AFNetworking in their application. But equally, a quick google reveals many people who had problems with ASI (valid or not)! I think whatever framework you go with, someone somewhere will have had trouble with it, either through something genuine wrong with the framework or their own limitations.

So with all this in mind I think I'd dive in to AFNetworking, and see how you get on! One of my new year resolutions will be to migrate over to a new networking library, and I think it will probably be AFNetworking.

Great! Thanks txt – dontCheckMyBlog Dec 26 '11 at 22:44 Nice write-up. A lot has changed about AFNetworking in the last 6 months.

I think you'll like how the library has developed since you first looked at it :) – mattt Dec 28 '11 at 2:50.

Https://github.com/BoydYang/BYRequest BYRequest based on MKNetowrkKit, but it works like ASIHttpRequest, so you can easily migrate your project from ASIHttpRequest to BYRequest and also enjoy ARC.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions