DZATimer 0.1.2

DZATimer 0.1.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2015

Maintained by Davide Di Stefano.



DZATimer 0.1.2

  • 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.

Usage

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];

Requirements

Installation

DZATimer is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "DZATimer"

Author

Davide Di Stefano, [email protected]

License

DZATimer is available under the MIT license. See the LICENSE file for more info.