On Mar 24, 2008, at 11:19 PM, Mike wrote:
And that begs another question:
How do I do what you mentioned but using the
performSelector:withObject:afterDelay: variant?
That method executes the given selector in the current thread; so, if
you need something to run on the main thread after a delay, just chain
them together. Invoke performSelectorOnMainThread, and in the method
you provide to that invoke performSelector:withOjbect:afterDelay,
which will then run *that* method in the *main* thread, after your
designated delay.
randy
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]