Re: loadNibNamed:owner [Pilot Error]

2010-03-02 Thread David Blanton
Thanks Graham! Your insights are always helpful. -db On Mar 2, 2010, at 4:26 PM, Graham Cox wrote: Hi David, You'd probably be better off making Files Owner a subclass of NSWindowController, as it is controlling a window. (That it's a panel is not a reason not to). While in this case th

Re: loadNibNamed:owner [Pilot Error]

2010-03-02 Thread Graham Cox
Hi David, You'd probably be better off making Files Owner a subclass of NSWindowController, as it is controlling a window. (That it's a panel is not a reason not to). While in this case the advantage is likely to me minimal, it's probably good practice to get into using the right object for the

Re: loadNibNamed:owner [Pilot Error]

2010-03-02 Thread David Blanton
I inadvertently set a view in the nib to the class I was instancing. Sorry for the noise. -db On Mar 2, 2010, at 2:53 PM, David Blanton wrote: I have a nib file named Hoops. In this nib is an NSPanel. Outlets and Actions are defined in Files Owner and connected to the Panel. In code I