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 16:58:56 +0100
On 07/06/06, Jerrod Fowkes <email@hidden> wrote:
Finlay Dobbie <email@hidden> wrote:Well, why are you doing it programmatically? By the time you get to
awakeFromNib, you should have a valid instance unarchived from the
nib.
Well, It's a preference panel in a non document application. I need to be able to call initWithWindowNibName: @"*" at some point. Which calls init. If I didn't then it would never show up. Maybe I am not too sure what you mean? -Jerrod
In your NSWindowController subclass, override init and call
-initWithWindowNibName: on super.
-- 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