TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jun 2015 |
Maintained by Davide Di Stefano.
A small timer class.
The timer continues to track the elapsed time even when the application is in background.
You can also init the timer with a delegate, and the timer will send an event after every timestep.
To run the example project, clone the repo, and run pod install
from the Example directory first.
DZATimer * timer = [[DZATimer alloc] initWithDelegate:nil];
[timer startTimer];
sleep(1);
[timer pauseTimer];
sleep(1);
[timer startTimer];
sleep(1);
[timer stopTimer];
DZATimer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DZATimer"
Davide Di Stefano, [email protected]
DZATimer is available under the MIT license. See the LICENSE file for more info.