• 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
Re: NSViewController and View Swapping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSViewController and View Swapping (From: Brad Gibbs <email@hidden>)
 >Re: NSViewController and View Swapping (From: Nathan Kinsinger <email@hidden>)
 >Re: NSViewController and View Swapping (From: Brad Gibbs <email@hidden>)
 >Re: NSViewController and View Swapping (From: Scott Anguish <email@hidden>)
 >Re: NSViewController and View Swapping (From: Brad Gibbs <email@hidden>)

  • Prev by Date: Calling an Apple Detector
  • Next by Date: Flicker from NSResponder Chain?
  • Previous by thread: Re: NSViewController and View Swapping
  • Next by thread: Is there any way to show disclosure button always closed in NSOutlineView
  • Index(es):
    • Date
    • Thread