Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 298 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 298 Bytes

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];