• 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: Sheet from another nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sheet from another nib


  • Subject: Re: Sheet from another nib
  • From: Gregory Weston <email@hidden>
  • Date: Tue, 25 Dec 2001 07:57:04 -0500

On 12/24/01, Gideon King <email@hidden> wrote:

> I have been trying to put a sheet on a window where the sheet is in one
> nib file and the window is in another, but it doesn't seem to work (it
> just comes up as a floating modal panel). It works fine if both are in a
> single nib file. Has anyone successfully put the sheet window in one nib
> and the window they attach it to in a another one?

Certainly. I've got each of my windows in its own nib. I've also defined a
controller for each window that, when instantiated, grabs the appropriate nib
file and sets itself up as the owner. I send a message to the controller when I
want the sheet to display. I'm not on a X machine right now so I can't show you
code that I know works but it might help if you show or describe how you're
trying to do things.

G


  • Follow-Ups:
    • Re: Sheet from another nib
      • From: Gideon King <email@hidden>
  • Prev by Date: RE: inserting non RTF graphics into an NSTextView ?
  • Next by Date: Re: NSColor <-> NSString
  • Previous by thread: Re: Getting internet connection.
  • Next by thread: Re: Sheet from another nib
  • Index(es):
    • Date
    • Thread