Created
March 28, 2013 12:25
-
-
Save hlxwell/5262732 to your computer and use it in GitHub Desktop.
Delayed execution objective-c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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