Last active
August 6, 2019 19:57
-
-
Save FradSer/bc9d027bb9658de0975a01e76886c179 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
@State var timeCount: Double = 0.0 | |
var timer: Timer { | |
Timer.scheduledTimer(withTimeInterval: 0.1, repeats: true) {timer in | |
self.timeCount += 0.1 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment