Newbie Q: How to implement multiple views occupying the same space?
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