Skip to content

greedlab/GreedTimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GreedTimer

CI Status Version License Platform

GCD Timer for iOS

Usage

        GRTimer *timer = [[GRTimer alloc] init];
        __weak __typeof(GRTimer *)weakTimer = timer;
        timer.action = ^{
            [weakSelf timer1Changed:weakTimer];
        };
        self.key1 = timer.key;
        [[GRTimerManager sharedInstance] addAndRunTimer:timer];

develop

$ pod lib create GreedTimer --template-url=git@github.com:GreedBell/pod-template.git
$ cd GreedTimer
$ pod update --no-repo-update --project-directory=Example/
$ pod lib lint GreedTimer.podspec --verbose
$ pod trunk push GreedTimer.podspec

Installation

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

pod "GreedTimer"

Thanks

License

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