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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com