Possible Duplicate:
How does -performSelector:withObject:afterDelay: work?
I often use this code to let the UI finish its business before calling a long-running method:
[obj performSelector:@selector(go) withObject:nil afterDelay:0];
But what does it do?
My personal interpretation has always been that the go
method is called on the next run loop, but surely that's not even right.