(Asynchronous) NSURLConnection: what's going on underneath?
问题 I understand that it must be taking care of the ugliness of launching a thread to make the network request, then probably calling performSelectorOnMainThread: with my delegate method. I know how to use it when doing iOS programming, and it works great. However, I'd like to know how I would make it work doing in the context of (for example) a command line utility, where there is no UIApplication with the event processing etc. I've tried it, and it seems that the program exits as soon as the