Nice! That worked! However, should I use Content Array or Content Array for Multiple Selection? Are they basically the same thing but allow you to define different behaviors depending on how many master items were selected?

Luc



On 3-Feb-09, at 2:31 PM, Timothy Larkin wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, this is a multiple selection issue.

The easiest way to handle this is to set controller key in the detail controller to "selectedObjects" of the master controller, and then model key path to @distinctUnionOfSets.foo, where foo is the field of interest. There are other possibilities besides @distinceUnionOfSets, which may work better in your application. See the section "Set and Array Operators" in the "Key-Value coding programming guide".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkmIm38ACgkQOzculQ5SMWQiFQCcCVWgjHA5t+6OTTa3JArKgx6K
bJoAn39dKD9rhsJPWVi1eSdjCp7wD2qI
=O0pO
-----END PGP SIGNATURE-----

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to