Created
December 1, 2020 01:01
-
-
Save nnzo/421f84ff9b1bb9a589249a235f1458c9 to your computer and use it in GitHub Desktop.
swift timer
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
DispatchQueue.main.asyncAfter(deadline: .now() + 1) { | |
print("Timer fired!") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment