• 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: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?


  • Subject: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 2 Apr 2010 22:05:13 -0700

On Apr 2, 2010, at 21:42, Kyle Sluder wrote:

>> + (NSSet*)keyPathsForValuesAffectingSelectedFoo {
>>    return [NSSet setWithObjects:
>>        // Shotgun approach.  Try 'em all!!
>>        @"fooArrayController.selectedObjects",
>>        @"fooArrayController.selectionIndex",
>>        @"fooArrayController.selection",
>>        @"fooArrayController.selectionIndexes",
>>        @"fooArrayController.selectedObjects",
>>        nil] ;
>> }
>
> Oh, and also the documentation is quite clear that you can't bind
> through a to-many property.

Wait, where is the to-many property being bound through?


_______________________________________________

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

  • Follow-Ups:
    • Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
      • From: Kyle Sluder <email@hidden>
    • Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
      • From: Kyle Sluder <email@hidden>
References: 
 >Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey? (From: Jerry Krinock <email@hidden>)
 >Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Next by Date: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Previous by thread: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Next by thread: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Index(es):
    • Date
    • Thread