Re: NSViewController and View Swapping
Re: NSViewController and View Swapping
- Subject: Re: NSViewController and View Swapping
- From: "Hamish Allan" <email@hidden>
- Date: Mon, 14 Jul 2008 20:49:11 +0100
On Mon, Jul 14, 2008 at 3:26 PM, Brad Gibbs <email@hidden> wrote:
> But, that screen (with its tab view and all of the custom views to be made
> available from within the tab view) is one of several screens like it. The
> other tab views will contain different numbers of tabs. The user will be
> able to choose among the screens from a pop-up menu on a status bar at the
> top of the screen. So, I still need a way to swap out one set of tab views
> with another, without using a box, in a non-document-based application.
How are you swapping out one screen for another?
If all the other elements in the screen are identical, you don't need
to swap out the tab view -- just choose which tab to show according to
the pop-up menu selection as well as the buttons. You could even add
blank tabs to pad out the numbers so that all screens have the same
number of tabs, and just never show the blank tabs.
Or, if the other elements are not identical, you could use nested tab views...
Hamish
_______________________________________________
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