问题
I want to create an async http request. Where to start? Can you give me some good links to start this? I want to learn it.
回答1:
-[NSURLConnection initWithRequest:delegate:]
See Using NSURLConnection from Apple.
回答2:
http://cocoawithlove.com/2008/09/cocoa-application-driven-by-http-data.html
回答3:
You can use third party SDK like ASIHTTPRequest . It is very simple to use and come with some delegate methods. This is how you can use it. It is really useful as it provide a lot of features.
来源:https://stackoverflow.com/questions/2297398/objective-c-async-http-request