Re: Swapping contents of windows from nibs
Re: Swapping contents of windows from nibs
- Subject: Re: Swapping contents of windows from nibs
- From: "Daniel T. Staal" <email@hidden>
- Date: Thu, 8 Nov 2007 09:37:04 -0500 (EST)
- Importance: Normal
On Thu, November 8, 2007 8:54 am, Timothy Collett said:
> Greetings.
> I've been trying to figure out how to do something for a little
> while, and maybe I'm asking too much, or maybe I'm just looking in
> the wrong documentation, but so far, I haven't found any way to do it...
>
> What I want to do is design several windows in Interface Builder, all
> the same size and shape, and programmatically swap out the contents
> of one for another--similar to the way a CardLayout works in Java.
I think 'windows' is probably the wrong term for what you are trying to
do, if I'm understanding you correctly. Check out NSTabView and see if it
does about what you are looking for. (This would put everything in one
window, but allow you to swap out the contents with alternate contents.)
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
_______________________________________________
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