• 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: Do i need custom views created programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do i need custom views created programatically


  • Subject: Re: Do i need custom views created programatically
  • From: Ricky Sharp <email@hidden>
  • Date: Wed, 13 Feb 2008 16:00:18 -0600


On Feb 13, 2008, at 10:01 AM, Jens Alfke wrote:


On 13 Feb '08, at 5:25 AM, Uli Kusterer wrote:

You could just use an NSTabView. An NSTabView can be set to not show the tabs, and can in fact even be made completely transparent, and then you can just switch to a different tab to show the alternate view. *and* you can lay them all out in IB.

Agreed — this is definitely the best way to do it. You can even wire up buttons to switch to the next/previous tab without having to add any code.


And, for bonus points, bind the tab view's selected tab index to the appropriate "UI state" property. I take this approach for many tabless tab views.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

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: 
 >Do i need custom views created programatically (From: Nick Rogers <email@hidden>)
 >Re: Do i need custom views created programatically (From: Uli Kusterer <email@hidden>)
 >Re: Do i need custom views created programatically (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: KVC and KVO for arrays
  • Next by Date: Re: KVC and KVO for arrays
  • Previous by thread: Re: Do i need custom views created programatically
  • Next by thread: SScrypto framework
  • Index(es):
    • Date
    • Thread