Re: makeWindowControllers question
Re: makeWindowControllers question
- Subject: Re: makeWindowControllers question
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 2 Dec 2003 15:46:36 -0800
On Dec 2, 2003, at 3:13 PM, Bill Greene wrote:
Less likely: You've either not over-ridden -windowNibName, or it
returns the wrong string.
I'm overriding makeWindowControllers instead of windowNibName to
allow my document to have multiple windows.
Sorry for not being explicit, the comments apply to your
NSWindowController subclass.
You're right: I had not overridden -[NSWindowController
windowNibName]. I just now tried doing so, but found that it wasn't
called.
Hmm, mea culpa. I got that horribly wrong (my apologies for the
confusion).
How are you creating the new controllers? Looking at an example I did
a long while ago, I used -initWithWindowNibName:
Other than that, are you either sending the controller a -showWindow
message to ensure the window is loaded and displayed?
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.