Skip to content

Instantly share code, notes, and snippets.

@hlxwell
Created March 28, 2013 12:25
Show Gist options
  • Save hlxwell/5262732 to your computer and use it in GitHub Desktop.
Save hlxwell/5262732 to your computer and use it in GitHub Desktop.
Delayed execution objective-c
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 1 * NSEC_PER_SEC), dispatch_get_current_queue(), ^{
//// will be executed after 1 second
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment