Re: Couple more binding questions
Re: Couple more binding questions
- Subject: Re: Couple more binding questions
- From: Scott Stevenson <email@hidden>
- Date: Fri, 17 Sep 2004 00:29:17 -0700
On Sep 16, 2004, at 11:55 PM, mmalcolm crawford wrote:
I want the myObject table to be populated with the data array from
what ever row is selected in the list table. That was easy to get
working, I set the myObject array controller's contentArray to be
bound to selection.data of the list array controller.
The problem I'm having is getting it to work with multiple selections
in the list table.
See 'contentArrayForMultipleSelection':
<http://developer.apple.com/documentation/Cocoa/Reference/
CocoaBindingsRef/BindingsText/NSArrayController.html>
Just to avoid confusion for thread archives, it looks like this page
has a typo:
This binding is useful when combined with array operators. For example,
contentArray is bound to the "selection.employees' keypath of
companyArrayController and, contentArrayForMultipleSelection is bound
to the "email@hiddenyees" keypath
It should be @distinctUnionOfArrays (plural), right?
- Scott
--
Tree House Ideas
http://treehouseideas.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden