Hello there!
Is there a way to call a function after a desired time? I'm looking for something like performSelector: afterDelay: in OSX/iOS.
Thanks!
Hello there!
Is there a way to call a function after a desired time? I'm looking for something like performSelector: afterDelay: in OSX/iOS.
Thanks!
I just kick off a Timer object when I need that.
(Of course, when enough people have got access to C++11 features, it'll be great to be able to add a lambda-based function for this)
Great, that's what I usually do myself.
Thanks!