• 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: NSSplitView Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSplitView Question


  • Subject: Re: NSSplitView Question
  • From: Negm-Awad Amin <email@hidden>
  • Date: Mon, 4 Aug 2008 08:40:53 +0200


Am Mo,04.08.2008 um 07:35 schrieb Eric Lee:

Sorry, I accidently did something wrong on that message. Here's the one I'm actually asking...


How do you make a NSSplitView so that when you click something on one side, the other side is updated. For example, take the mail application. When you click trash, the other side is updated to display the trash content, and when you press Inbox, the other side displays the inbox.
Probably you should use bindiings. Here is a small picture from my book:
http://cocoading.de/webspace/EG_MVC_Textfield_ArrayController_Model

Okay, without text this is maybe a little bit confusing. The center is the Array-Controller, which do the administrative work on the model and performs a selection, you can use, to synchronize other elements.

Cheers




How do you do this?
_______________________________________________

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

Amin Negm-Awad email@hidden




_______________________________________________

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: 
 >NSSplitView Question (From: Eric Lee <email@hidden>)

  • Prev by Date: Re: pointers in objective-c?
  • Next by Date: Re: Restarting an app -- AppleScript 'launch' in a detached shell
  • Previous by thread: Re: NSSplitView Question
  • Next by thread: Instance vars, local vars and speed
  • Index(es):
    • Date
    • Thread