Skip to content

Instantly share code, notes, and snippets.

@SlappyAUS
Last active October 9, 2020 23:50
Show Gist options
  • Save SlappyAUS/bdc3661f8b7f5113af9ca8828fba10ef to your computer and use it in GitHub Desktop.
Save SlappyAUS/bdc3661f8b7f5113af9ca8828fba10ef to your computer and use it in GitHub Desktop.
Timer with Closure #util
Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { (timer) in
// Code here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment