Re: NSRunLoop performSelector question
Re: NSRunLoop performSelector question
- Subject: Re: NSRunLoop performSelector question
- From: Craig Hopson <email@hidden>
- Date: Thu, 11 May 2006 13:12:22 -0600
Shawn,
Thanks. I had tried that call before but it generated some error
which (conveniently) I cannot remember. I just tried it again and it
works - I must have had a bad parameter or something. Anyway, I'm
still curious about why the other way does not work as I expect.
Anyone out there have any ideas?
-Craig
On May 11, 2006, at 12:08 PM, Shawn Erickson wrote:
On 5/11/06, Craig Hopson <email@hidden> wrote:
Each of the various threads may finish their part
at a different time, so they signal back to the main thread via a
callback.
Not sure the reason for the issue your hitting off the top of my head
but I generally use the following, it works perfectly for this type of
thing...
[self performSelectorOnMainThread:@selector(myCleanup) withObject:nil
waitUntilDone:NO];
-Shawn
Craig Hopson
Red Rock Software
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden