• 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
Nib owner's outlets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nib owner's outlets


  • Subject: Nib owner's outlets
  • From: Michel Fortin <email@hidden>
  • Date: Wed, 23 Jan 2002 07:12:46 -0500

I've made a preference panel with a subclass of NSWindowController as
the controller. In the nib file, the owner is set to my subclass. When
the window controller loads the nib, owner's outlets do not get
connected to to controls in the window. This is what I use to open the
preference panel:

- (IBAction)openPreferences:(id)sender {
if ( prefs == nil )
prefs = [[PreferenceWindowController alloc]
initWithWindowNibName:@"Preferences"];
[prefs showWindow:nil];
}

I've done it before in another app, but this one doesn't work and I
can't find why. All actions are connected fine. I've even tried making
the nib from scratch without success. Any ideas?

Michel Fortin
Student at Universiti Laval, Quibec
email@hidden


  • Follow-Ups:
    • Re: Nib owner's outlets
      • From: Vince DeMarco <email@hidden>
    • Re: Nib owner's outlets
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Window Title Image
  • Next by Date: Re: app preferences top view
  • Previous by thread: Window Title Image
  • Next by thread: Re: Nib owner's outlets
  • Index(es):
    • Date
    • Thread