Objective-C Tips & Trick - Prioregroup.com
[Objective-C] How to never block the interface with NSOperation
       
back

self.queue = [NSOperationQueue new];
 
NSInvocationOperation *operation = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(loadData) object:nil];
 
[self.queue addOperation:operation];






Copyright © 1996-2018 Centro Studi Informatica di Danilo Priore. All rights reserved. P.I.10149810581.
prioregroup.com