Re: [obj performSelectorOnMainThread: ...] vs. [runLoop performSelector: ...]
Re: [obj performSelectorOnMainThread: ...] vs. [runLoop performSelector: ...]
- Subject: Re: [obj performSelectorOnMainThread: ...] vs. [runLoop performSelector: ...]
- From: Just van Rossum <email@hidden>
- Date: Tue, 13 May 2003 11:46:51 +0200
David Remahl wrote:
>
I don't know how much different performSelectorOnMainThread::: is
>
compared to performSelector::::, but why don't you use:
>
>
[obj performSelector:aSelector withObject:anArg afterDelay:0.0];
Ah, d'oh, much better, thanks. (Just yesterday I was working with
threads and had to use performSelectorOnMainThread:, and read what the
doco said about how it behaves if you call it from the main thread.)
Just
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.