Re: NSSplitView Question
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