Swapping contents of windows from nibs
Swapping contents of windows from nibs
- Subject: Swapping contents of windows from nibs
- From: Timothy Collett <email@hidden>
- Date: Thu, 8 Nov 2007 08:54:19 -0500
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 know that I *could* just get the bounds for the open window, open
the new one with them, and close the old one, but I would think that
wouldn't be as seamless as just replacing the contents of the window...
Any assistance is greatly appreciated.
Timothy Collett
_______________________________________________
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