Re: Programatically placing panels inside a window
Re: Programatically placing panels inside a window
- Subject: Re: Programatically placing panels inside a window
- From: Uli Kusterer <email@hidden>
- Date: Tue, 17 Jun 2008 15:04:56 +0200
Am 17.06.2008 um 09:59 schrieb Ken Tozier:
I'm not sure If I'm going about this the right way but I created a
bunch of panels in IB and want to swap individual panels in and out
of a window at runtime. Basically what I'm doing is making a master/
detail window where the items listed in the master are objects that
handle editing of different kinds of database tables. For example
The master list might display
fruit
vegetables
dairy
etc...
Clicking on the fruit item should load the fruit detail panel.
Clicking on vegetables should load the vegetable detail panel etc.
How would I do something like that programatically?
Check out NSTabView (especially the properties that let you make it
borderless and not show its tabs) and NSViewController.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden