Re: performSelectorOnMainThread fails second time through
Re: performSelectorOnMainThread fails second time through
- Subject: Re: performSelectorOnMainThread fails second time through
- From: Charles Srstka <email@hidden>
- Date: Wed, 8 Dec 2010 11:58:11 -0600
On Dec 8, 2010, at 6:30 AM, Gideon King wrote:
> 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?
Does it work if you move that to applicationDidFinishLaunching: instead of awakeFromNib?
Charles_______________________________________________
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