• 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
Newbie Q: How to implement multiple views occupying the same space?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie Q: How to implement multiple views occupying the same space?


  • Subject: Newbie Q: How to implement multiple views occupying the same space?
  • From: email@hidden
  • Date: Fri, 18 Jan 2002 02:08:55 -0500

Hi,
I'd like to implement a set of views controlled by an NSPopUpButton or a panel of icons similar to the Network preferences panel or the System Preferences panel where the bottom (part) of the view is completely replaced based on your selection in the popup button. Can this be done with nib files and InterfaceBuilder? or do I have to manually build up a bunch of subViews (no nib files - <sniffle>) and call [NSView replaceViewWith: <view-user-picked>] everytime the user picks a new one (bleah).

So far, everything else in Cocoa has seemed incredibly easy using nibs, so I find it hard to believe that there isn't some really easy way to accomplish this task as well. What am I missing?? Can you make a nib file that has disembodied (disenwindowed?) NSView subclasses in it??

Thanks,
email@hidden

P.S. Is there a Cocoa FAQ?? I mean, somewhere besides
http://beowulf-
underground.org/doc_project/cocoa/cocoa.html


  • Follow-Ups:
    • Re: Newbie Q: How to implement multiple views occupying the same space?
      • From: Gore <email@hidden>
  • Prev by Date: Reloading root of NSOutlineView
  • Next by Date: Re: Reloading root of NSOutlineView
  • Previous by thread: Re: Reloading root of NSOutlineView
  • Next by thread: Re: Newbie Q: How to implement multiple views occupying the same space?
  • Index(es):
    • Date
    • Thread