8000 GitHub - hyh19/ACBlocks: Perform selectors with delays inline via blocks · GitHub
[go: up one dir, main page]

Skip to content

About

Perform selectors with delays inline via blocks

Resources

Stars

2 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

ACBlocks

Perform selectors with delays inline via blocks

Turns

[self performSelector:@selector(action) withObject:nil afterDelay:2];

- (void)action {
	// DO something
}

into a a block based call

[self performBlock:^{
        NSLog(@"Logging…");
    } afterDelay:2];

About

Perform selectors with delays inline via blocks

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0