Skip to content

wamaca/Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timer

A timer for Swift 2.1 designed to be simple. Here's an example on how to use it:

let timer = Timer(initial: 0)

timer.tick(every: 1) {
  print($0)
  
  if $0 == 10 {
    timer.stop()
  }
}

About

A simple timer for Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published