Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
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