[categories] [index] [all (552)] [latest]
NSOperationQueue *queue = [[[NSOperationQueue alloc] init] autorelease];
[queue addOperationWithBlock:^{
CGFloat n = [self resultOfSomeMassiveComputation];
[[NSOperationQueue mainQueue] addOperationWithBlock:^{
[self updateOnMainThreadWithResult:n];
}];
}];