Re: How to open two nibs at app launch ? Beginners question
Re: How to open two nibs at app launch ? Beginners question
- Subject: Re: How to open two nibs at app launch ? Beginners question
- From: Quincey Morris <email@hidden>
- Date: Mon, 13 Apr 2009 09:53:55 -0700
On Apr 13, 2009, at 08:29, Filip van der Meeren wrote:
Instead of overriding the init method, you could override
windowNibName
- (NSString*)windowNibName { return @"MyNibName"; }
and then just call your WindowController alloc init methods...
This doesn't look correct. This pattern is used inside a NSDocument
subclass, but the OP's application isn't NSDocument-based.
NSWindowController also has a windowNibName method (which I'd never
noticed before), but it looks like that's not for *supplying* the name
but for *returning* the name passed to the initializer.
I'm not sure which of the two you're referring to, but neither seems
to solve the problem.
_______________________________________________
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