Skip to content

qiubaiying/BYTimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BYTimer

This is a the GCD timer Ruin a per second

Usage

    [BYTimer timerWithTimeout:10 handlerBlock:^(int timeout) {
        NSLog(@"timeout %d", timeout);
    } finish:^() {
        NSLog(@"end");
    }];

or

    BYTimer *timer = [[BYTimer alloc] init];
    [timer createTimerWithTimeout:10 handlerBlock:^(int presentTime) {
        NSLog(@"timeout %d", presentTime);
    } finish:^{
        NSLog(@"end");
    }];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published