How can I implement -[NSURLConnection sendAsynchronousRequest:queue:completionHandler:]
for iOS < 5?
#if __IPHONE_OS_VERSION_MIN_REQUIRED <
I typically make a sub-class of NSOperation and do the sync request inside the main method of the operation. To invoke the operation I create an instance of the sub-class and throw it onto a queue (not the main thread). Then when the operation completes it either calls a delegate with the received data or posts a notification via NSNotificationCenter.