Re: Newbie Q: How to implement multiple views occupying the same space?
Re: Newbie Q: How to implement multiple views occupying the same space?
- Subject: Re: Newbie Q: How to implement multiple views occupying the same space?
- From: Gore <email@hidden>
- Date: Fri, 18 Jan 2002 15:47:50 +0200
GREAT IDEA ! never came to think of it =)
On Friday, January 18, 2002, at 01:31 , Markus Hitter wrote:
Am Freitag den, 18. Januar 2002, um 08:22, schrieb Gore:
the best way to do this is to use a NSBox and setContentView:
Is it? (SCNR)
I've used in such a situation an NSTabView with Tabs and Borders set to
invisible. Works great, easy to set up in Interface Builder. No
fiddling with subviews etc.
On Friday, January 18, 2002, at 09:08 , email@hidden wrote:
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
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.