Skip to content

Instantly share code, notes, and snippets.

@adib
Created March 12, 2012 08:06
Show Gist options
  • Save adib/2020649 to your computer and use it in GitHub Desktop.
Save adib/2020649 to your computer and use it in GitHub Desktop.
Perform Object After Delay
[[NSOperationQueue mainQueue] performSelector:@selector(addOperation:) withObject:^{
// do your stuff here
} afterDelay:3.0];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment