• 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: Programatically placing panels inside a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programatically placing panels inside a window


  • Subject: Re: Programatically placing panels inside a window
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 17 Jun 2008 15:04:56 +0200

Am 17.06.2008 um 09:59 schrieb Ken Tozier:
I'm not sure If I'm going about this the right way but I created a bunch of panels in IB and want to swap individual panels in and out of a window at runtime. Basically what I'm doing is making a master/ detail window where the items listed in the master are objects that handle editing of different kinds of database tables. For example The master list might display

fruit
vegetables
dairy
etc...

Clicking on the fruit item should load the fruit detail panel. Clicking on vegetables should load the vegetable detail panel etc.

How would I do something like that programatically?


Check out NSTabView (especially the properties that let you make it borderless and not show its tabs) and NSViewController.

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


References: 
 >Programatically placing panels inside a window (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: iMovie HD like splash screen
  • Next by Date: Re: launching finder with optionschi
  • Previous by thread: Re: Programatically placing panels inside a window
  • Next by thread: Re: Programatically placing panels inside a window
  • Index(es):
    • Date
    • Thread