Re: Help binding values to a tableview
Re: Help binding values to a tableview
- Subject: Re: Help binding values to a tableview
- From: Allan Odgaard <email@hidden>
- Date: Thu, 13 May 2004 14:06:34 +0200
On 13. May 2004, at 12:09, email@hidden wrote:
[...] I have 1 list of elements and each element has two lists to it.
I want to have it so when I select one element from the first view,
the two associated lists will display in the other two views. [...]
With the method selectionDidChange I tell the two other controllers to
removeObjects: [...]
All you need to do is bind 'contentArray' of the second and third array
controller to the first array controller with a key path like
"selection.firstList" and "selection.secondList". Assuming that the
objects shown in the first table view have a firstList and secondList
key holding the list (array).
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.