How do I reset a countdown timer when it reaches 0? (Xcode 4)
- by Zac Prunty
first question and I have researched the heck out of this and can't seem to find any answers.
I would like to implement a countdown timer in my app that starts at 30 seconds and resets when it hits 0. It will count back by 1 second intervals. I have played around with the resources that Apple provides and I can't seem to implement the NStimer to do as I just explained. Are there any suggestions on how I could code this? I would eventually like to link this to a button that will start the timer when it is pressed. I appreciate any advice on this topic!