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

Re: Swapping contents of windows from nibs


  • Subject: Re: Swapping contents of windows from nibs
  • From: Daniel Griscom <email@hidden>
  • Date: Thu, 8 Nov 2007 09:43:12 -0500

At 9:37 AM -0500 11/8/07, Daniel T. Staal wrote:
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.)

Note that NSTabView doesn't actually have to have visible tabs; you can just have a stacked set of views and switch between them at need.



Dan

--
Daniel T. Griscom             email@hidden
Suitable Systems              http://www.suitable.com/
1 Centre Street, Suite 204    (781) 665-0053
Wakefield, MA  01880-2400
_______________________________________________

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


References: 
 >Swapping contents of windows from nibs (From: Timothy Collett <email@hidden>)
 >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: NSOpenGLView overlap
  • Previous by thread: Re: Swapping contents of windows from nibs
  • Next by thread: Re: Swapping contents of windows from nibs
  • Index(es):
    • Date
    • Thread