I am developing an app that target at minimum iOS4 using XCode 4.2. Never done it before, and this is my first month developing iPhone app.
I did some research and came accross ASIHTTPRequest - which is not maintained and even the developer suggested to use something else: http://allseeing-i.com/%5Brequest_release%5D;
From that list, I thought why not use NSUrlConnection since it's built in XCode. I know RESTKit seems quite popular out there, but I have heard it's bit cumbersome to setup - and I don't need anything fancy here, just connection to REST API services that returns JSON, so I have a feeling that NSURLConnection is more than enough.
Not quite sure how to do it, especially because I am targetting iOS4 and iOS5, and from what I understands iOS 5 SDK introduces NSURLConnectionDelegate (not sure how different they are?).
I was following this article initially https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html. But I have some doubt since it is clearly says on the top: MAC OSX Developer Library not iOS Developer Library.
Can anyone points me to the right direction? Any examples or tutorials?