Last active
September 19, 2022 07:18
-
-
Save SwiftSIQI/bbc47a79a9b66dbd3c1e5527614d4a7e to your computer and use it in GitHub Desktop.
This file contains 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
let time: NSTimeInterval = XXX | |
let delay = dispatch_time(DISPATCH_TIME_NOW, Int64(time * Double(NSEC_PER_SEC))) | |
dispatch_after(delay, dispatch_get_main_queue(), { | |
//anythiny you want... | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment