I want to be able to schedule three small events in the future without having to write a function for each. How can I do this using NSTimer? I understand block
NSTimer
Objective-C version of @Peter Peng's answer:
_actionDelayTimer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:[NSBlockOperation blockOperationWithBlock:^{ NSLog(@"Well this is useless."); }] selector:@selector(main) userInfo:nil repeats:YES];