Skip to content

Instantly share code, notes, and snippets.

@AhmedKammorah
Created August 29, 2013 09:52
Show Gist options
  • Save AhmedKammorah/6376220 to your computer and use it in GitHub Desktop.
Save AhmedKammorah/6376220 to your computer and use it in GitHub Desktop.
make async task ios
dispatch_queue_t queue = dispatch_get_global_queue(
DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
dispatch_async(queue, ^{
//any thing
});
//ref
//http://jeffreysambells.com/2013/03/01/asynchronous-operations-in-ios-with-grand-central-dispatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment