594Delaying Methods. And cancelling the delaying of methods
Delaying a method should be by now fairly clear:
[self performSelector:@selector(myMethod) withObject:nil afterDelay:3];
But what, if you need to cancel the delayed perform request? That's the way to do it:
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(myMethod) object:nil];
'cancelPreviousPerformRequestsWithTarget' seems to be the current leader in the 'Longest Objective C Method Name Competition" with 39 characters, not bad.
Let me know, if you find any more contenders...