In objective-c, how can I make something like “well, I want you to run X function in 2.5 seconds”.
I used a game development objective-c framework called Cocos2d, and it has a function that lets me schedule (and unschedule) functions, but I am not using Cocos2d for this project.
As long as your app is based around NSRunLoop (which pretty much all of them are), you can use NSObject’s
performSelector:withObject:afterDelay:or NSTimer.