Last active
May 10, 2016 13:55
-
-
Save Kievkao/a4e51a24ef490edb49ba to your computer and use it in GitHub Desktop.
Swift dispatch_after
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, (Int64)(UInt64(<#delayInSeconds#>) * NSEC_PER_SEC)), dispatch_get_main_queue()) { | |
| <#code to be executed after a specified delay#> | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment