• 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: Couple more binding questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Couple more binding questions
      • From: mmalcolm crawford <email@hidden>
References: 
 >Couple more binding questions (From: Brad Miller <email@hidden>)
 >Re: Couple more binding questions (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: [Somewhat-OT] Unexpected behaviour of varia ble argument lists
  • Next by Date: Re: NSUndoManager Undo/Redo Buttons
  • Previous by thread: Re: Couple more binding questions
  • Next by thread: Re: Couple more binding questions
  • Index(es):
    • Date
    • Thread