• 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: View Handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View Handling


  • Subject: Re: View Handling
  • From: Scott Anguish <email@hidden>
  • Date: Fri, 22 Jan 2010 18:45:21 -0500

NSTabView with tabs that aren’t visible?

On Jan 22, 2010, at 4:57 PM, David Blanton wrote:

> I have two views that need to occupy the same space and have their visibility toggled via an action.
>
> I first overlaid one on the other setting it hidden, all done in IB.
>
> Then in code set one hidden the other visible at which time it dawned on me that one view was contained in the other and that hiding the containing view hide both.
>
> So my question. "What is the 'proper' means of handling this situation?"
>
> I could guess:
>
> 1. Remove View 1 from window content view
> 2. Add View 2 to window content view
> 3. Position View 2.
>
>
> But this seems awkward.
>
> Suggestions please.
>
> -db
>
> _______________________________________________
>
> 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: View Handling
      • From: David Blanton <email@hidden>
References: 
 >View Handling (From: David Blanton <email@hidden>)

  • Prev by Date: Re: View Handling
  • Next by Date: Re: View Handling
  • Previous by thread: Re: View Handling
  • Next by thread: Re: View Handling
  • Index(es):
    • Date
    • Thread