NSWindowController subclass behavior
NSWindowController subclass behavior
- Subject: NSWindowController subclass behavior
- From: Matt Judy <email@hidden>
- Date: Mon, 14 Jan 2002 12:40:51 -0800
Hello, all;
I'm setting up an NSWindowController subclass that loads and displays a
window.
MyController (NSObject subclass) creates instances of MyWindowController
(NSWindowController subclass) using initWithWindowNibName:@"Satellite",
loading from Satellite.nib.
MyController is instantiated in MainMenu.nib, and has an outlet to
MyObject, another instantiated custom NSObject.
MyWindowController is File's Owner in Satellite.nib, and has an outlet
connection to an NSImageView in Satellite.nib's window.
From the new MyWindowController instances, I need to be able to message
the NSImageView (this works fine), and the customObject instantiated in
MainMenu.nib (therein lies the problem).
How do I connect an outlet from my new MyWindowController instance to
the instantiated MyObject in MainMenu.nib? Is this even possible? Or
am I missing something?
Thanks!
--Matt Judy