Window Controllers Not Linking
Window Controllers Not Linking
- Subject: Window Controllers Not Linking
- From: Sanford Selznick <email@hidden>
- Date: Fri, 14 Oct 2005 15:15:36 -0700
Hello,
I have a multi-document application created with stationary.
In MyDocument.nib I have:
A MyWindowController instance (inheriting from NSWindowController)
A Window instance (of NSWindow)
I want Cocoa to use MyWindowController for my window from the Nib
instead of creating its own NSWindowController.
How do I convince Cocoa to use the MyWindowController instance from
my Nib instead of creating its own? What's the best place to do
this? If I try to do it in NSDocument:makeWindowControllers,
MyWindowController hasn't been instanced yet. Am I missing some
magic in IB perhaps?
Thanks,
Sanford
PS - I'm a little new to cocoa, if you couldn't already tell. ;-)
_______________________________________________
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