• 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
Re: Using a nib's window for a sheet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a nib's window for a sheet?


  • Subject: Re: Using a nib's window for a sheet?
  • From: "Erik M. Buck" <email@hidden>
  • Date: Wed, 5 Dec 2001 11:10:28 -0600
  • Organization: EMB & Assocites Inc.

> [NSBundle loadNibNamed:@"SheetWindow" owner:myWindowOwner];
>

The myWinowOwner object should have an outlet for the window inside the nib.
In Interface Builder, connect the File's Owner's outlet to the window. When
the nib is loaded, the outlet in myWindowOwner will be set to the window as
specified in Interface Builder. Then just use the outlet to access the
window.


References: 
 >Using a nib's window for a sheet? (From: email@hidden)

  • Prev by Date: Re: Application localization
  • Next by Date: getFocus on NSTextField
  • Previous by thread: Using a nib's window for a sheet?
  • Next by thread: Editing a NSTextFieldCell with attributed string
  • Index(es):
    • Date
    • Thread