• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSWindowController subclass behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Cocoa Documentation Updated for December Tools Release
  • Next by Date: Re: Objective-C (Possibly OT)
  • Previous by thread: Re: How to highlight an image with transparency [SOLUTION]
  • Next by thread: Kitware.com VTK 4.0 on OS X 10.1 (Quartz)
  • Index(es):
    • Date
    • Thread