Multiple NSURLConnections in different classes running parallel
Currently I have UITableView and simple UIView in my iPad application. Each of them needs to get data from remote Web-service simultaneously. In each ViewController I create NSURLConnection and run a request to web service, but it seems that second one never return nothing at all.
Is it possible to run two separate requests in parallel?
What I found so far is an advice to开发者_如何学Go use [[NSRunLoop currentRunLoop] run];
though I am not sure how to use it in this context :/
Thanks in advance!
Fuuuuu!
My bad, I forgot to instantiate the response NSMutableData variable. AGAIN! :)
Thanks everyone for your attention!
精彩评论