/XTimer

It solves the problem that NSTimer needs to add and open runLoop manually in sub-threads, and will cause memory leak.

Primary LanguageObjective-CMIT LicenseMIT

XTimer

CI Status Version License Platform

Description

XTimer uses GCD Source to solve the possible problems in NSTimer. It also realizes the functions of timer pause and restart.

Example

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

Requirements

Installation

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

pod 'XTimer'

Author

StrongX, 385135499@qq.com

License

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