Interested in creating a timer to count up for the user.
I was wondering if I’d have to keep track of all the integer variables separately or if I could use date formatter.
I’m currently using a -scheduledTimerfoo to call an -updateLabel method with seconds, but It looks a bit horrible after 100 seconds. I’d sort of like “hours:mins:seconds:split seconds” to display.
Cheers
Sam
NSDateFormatter is only for formatting dates, not intervals of time. A better way to do this would be to record when you start the timer, and every second, update the label with how much time passed since you started the timer.