Re: performSelectorOnMainThread fails second time through
Re: performSelectorOnMainThread fails second time through
- Subject: Re: performSelectorOnMainThread fails second time through
- From: Gideon King <email@hidden>
- Date: Wed, 8 Dec 2010 22:30:07 +1000
So could this issue be something to do with the timing of the first time the threaded operation is run?
During startup of the application, in an awakeFromNib, it calls a performSelector...afterDelay:0, and when that eventually fires, it triggers the thread to run. I would have thought that would be perfectly safe, but maybe not?
Thanks
Gideon
On 08/12/2010, at 10:02 PM, Dave Keck wrote:
>
> 4. Does -performSelectorOnMainThread work if you call [NSThread
> mainThread] as the first line in main()?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden