Re: Showing a NSPanel
Re: Showing a NSPanel
- Subject: Re: Showing a NSPanel
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 1 Dec 2010 17:03:08 -0700
On Dec 1, 2010, at 4:43 PM, email@hidden wrote:
> The code below explodes on the loadNibNamed call but I have done this many times ... where am I wrong?
I'd recommend you scrap what you're doing and try it again using an NSWindowController subclass, with that subclass as the nib's file owner and the window as a top-level object. It will simplify a great many things regarding loading and opening windows. I would also recommend against subclassing NSWindow or NSPanel unless you have a really good reason for doing so.
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