How to properly calculate 1 second with deltaTime in Swift
|Added at||2016-12-29 04:12|
I'm trying to calculate an elapsed second in
Here is my code:
How do I make it so I can squeeze some logic in here to run every second?
EDIT: I was able to come up with the following, but is there a better way?