Re: Is showWindow supposed to call init?
Re: Is showWindow supposed to call init?
- Subject: Re: Is showWindow supposed to call init?
- From: "Finlay Dobbie" <email@hidden>
- Date: Wed, 7 Jun 2006 14:43:05 +0100
On 07/06/06, Jerrod Fowkes <email@hidden> wrote:
I have subclassed NSWindowContoller. I am using it for a preferences panel. in my application controller I have a method that gets called by the menu to show the panel.
I need to run some methods first in my preferences controller first before I do some loading, so I put this in my awakeFromNib method in my application contoller.
preferencesController = [[PreferencesController alloc] init];
Are you instantiating the PreferencesController in your nib as well?
That might be where your confusion stems from, but it's hard to tell
:-)
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden