Async data connections iOS
问题 I've written a synchronisation class for the app I'm currently working on. Because of the large amount of data it first gets a data count and then batches up the downloads in an NSOperationQueue . This all works fine and I've got the sync algorithm working quickly. The way it works is as follows... - (void)synchroniseWithCompletionHandler://block for completion handler errorHandler://block for error handler { [self.queue addOperationWithBlock ^{ //Create an NSURLRequest for the first batch /