Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do i need custom views created programatically



On 13.02.2008, at 13:13, Nick Rogers wrote:
I have a part (view) of my main app window that should display a few buttons at one time and when clicked any button, the same view has to change to something else, which would also change to a browser view some time later.

Now I gather that I can not create such changing views using IB to edit the nib file.

So, I'd need to create a view programatically and when changed, the next view should also be done programatically.

Am I right?

Also is it possible to change view like that?


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.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Do i need custom views created programatically (From: Nick Rogers <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.