• 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: Uli Kusterer <email@hidden>
  • Date: Wed, 13 Feb 2008 14:25:06 +0100

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Do i need custom views created programatically
      • From: Jens Alfke <email@hidden>
References: 
 >Do i need custom views created programatically (From: Nick Rogers <email@hidden>)

  • Prev by Date: Re: NSView -drawRect optimization
  • Next by Date: SScrypto framework
  • Previous by thread: Re: Do i need custom views created programatically
  • Next by thread: Re: Do i need custom views created programatically
  • Index(es):
    • Date
    • Thread