ASTimer 0.1.6

ASTimer 0.1.6

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2016
SPMSupports SPM

Maintained by Macbook.



ASTimer 0.1.6

ASTimer

ASTimer is a Swift based convenience library for NSTimer. ASTimer allows you to set timer completion closures, listen to timer ticks via its delegate, set names for your timers so you can differentiate them easily if you’re running more than one, and listen to NSNotificationCenter notifications to stop/restart the timer. Please feel free to submit a PR or issue.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

ASTimer is available for iOS 8.* and above.

Demonstration

The example project includes a simple countdown timer with an implementation of the coundown delegate, completion closure, and stop/restart notifications. alt tag

Installation

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

pod "ASTimer"

Author

asowers1, [email protected]

License

ASTimer is available under the WTFPL license. See the LICENSE file for more info.