Re: Do i need custom views created programatically
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