Created
April 20, 2016 15:22
-
-
Save andrey-str/0f94cafa8657e8b31e7091f504259d12 to your computer and use it in GitHub Desktop.
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
double delayInSeconds = 0.7; | |
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC); | |
dispatch_after(popTime, dispatch_get_main_queue(), ^(void) { | |
// Your code here.. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment