• 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
Swapping contents of windows from nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Swapping contents of windows from nibs
      • From: "Daniel T. Staal" <email@hidden>
  • Prev by Date: Re: How to ensure minimum version requirement
  • Next by Date: Re: How to ensure minimum version requirement
  • Previous by thread: Application crashes due to NSLog in NSWorkspace isFilePackageAtPath
  • Next by thread: Re: Swapping contents of windows from nibs
  • Index(es):
    • Date
    • Thread