• 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
Multiple nibs (used to be "tricks of the trade")
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple nibs (used to be "tricks of the trade")


  • Subject: Multiple nibs (used to be "tricks of the trade")
  • From: Enrique Zamudio <email@hidden>
  • Date: Mon, 11 Jun 2001 14:50:51 -0500

you can have a single object as the owner of several nibs and load
those nibs as needed.

Also, you can have an instance of an object living in one nib, and
it can also be the owner of a different nib.

If you have classes A, B, C, you can have an instance of A (let's
call it iA) in the main nib, but it can be the owner of NibA. When it
needs to use a window or something else living in NibA, iA loads it.
Maybe NibA contains an instance of B, so now you can have
connections between iA and iB. iB can load NibB and be its owner, and
NibB can have an instance of C, and now iB and iC can have
connections between them. If you need to connect iA and iC, maybe iB
can set them up programatically or you just place iC in the main nib
with iA, instead of including it in NibB.

That might have been a little more confusing than I was hoping for
but maybe it will help.

eZL


  • Prev by Date: Re: NSSavePanel with a Sheet, strange callBack definition
  • Next by Date: re: Handling Dragged Urls
  • Previous by thread: Re: OpenSSL
  • Next by thread: Re: Icons in NSTableView
  • Index(es):
    • Date
    • Thread