Skip to content

Instantly share code, notes, and snippets.

@B0bcat
Last active October 13, 2015 09:22
Show Gist options
  • Save B0bcat/5d6519590a0557d20fb0 to your computer and use it in GitHub Desktop.
Save B0bcat/5d6519590a0557d20fb0 to your computer and use it in GitHub Desktop.
fjoidf
- (void)doSomething {
NSOperationQueue *queue = [[NSOperationQueue alloc] init];
[queue addOperationWithBlock:^{
// load data from disk
NSLog(@"done");
}];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment