StrongX / XTimer

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:Objective-C 67.0%Language:Ruby 33.0%