Re: Possible to load window from nib in thread from Finder CM plugin
Re: Possible to load window from nib in thread from Finder CM plugin
- Subject: Re: Possible to load window from nib in thread from Finder CM plugin
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 28 May 2009 13:02:49 -0600
On May 28, 2009, at 7:37 AM, Aaron London wrote:
Is it possible from that thread to load a NSWindow from a nib and be
able to have that window respond to UI events?
No; it is a bad idea to load nibs in threads other than the main
thread. You can't count on both the AppKit and instantiated objects
with -awakeFromNib methods to be thread-safe.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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