• 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: Hiding tab view items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding tab view items


  • Subject: Re: Hiding tab view items
  • From: Volker in Lists <email@hidden>
  • Date: Mon, 12 Oct 2009 17:04:47 +0200

Hi,

there a different roots to success....

a) roll your own Tabs instead of Segmented cell in combination with a tabless NSTabView
b) Add/remove tab items on demand


Both are fairly easy to achieve with some pitfalls like view retains and such. I am using the b) route for something similar and am swapping in and out views in a splitview pane on account of user choices. I also used route a) for an intelligent inspector without problems.

Cheers,
Volker

Am 12.10.2009 um 16:53 schrieb BareFeet:

Hi all,

I have a hierarchical list of objects, like the typical iTunes or XCode left pane. When the user selects a node in this hierarchy, I display detail of that node in the pane on the right. This right pane is divided into tab view items. Only some of the tab view items are relevant to each type of node, so I'd like to hide the tab view items that are not relevant. How can I do this?

In interface builder, I can't see any "hidden" property of tab view item. There is a "hidden" property for the sub-view of a tab view item, but this doesn't hide the tab view item itself, so is misleading to the user (ie they can click on it, only to see a blank view).

I tried using a segmented control, instead, using bindings to link it to the tab view (now tabless). But segmented control cells also seem to lack a "hidden" property.

Any ideas?

Thanks,
Tom
BareFeet

_______________________________________________

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

_______________________________________________

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


  • Follow-Ups:
    • Re: Hiding tab view items
      • From: BareFeet <email@hidden>
References: 
 >Hiding tab view items (From: BareFeet <email@hidden>)

  • Prev by Date: Re: drawing in uiview
  • Next by Date: Re: TIFFRepresentation, different TIFF format under Snow Leopard
  • Previous by thread: Hiding tab view items
  • Next by thread: Re: Hiding tab view items
  • Index(es):
    • Date
    • Thread