Observing NSArrayController selectionIndex always returns null
Observing NSArrayController selectionIndex always returns null
- Subject: Observing NSArrayController selectionIndex always returns null
- From: Ken Tozier <email@hidden>
- Date: Sun, 9 Nov 2008 03:59:24 -0500
Hi
I'm trying to observe an NSArrayController's selectionIndex which,
according to the documentation here:
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSArrayController_Class/Reference/Reference.html#/
/apple_ref/occ/instm/NSArrayController/selectionIndex
Is an observable property.
Changes do trigger the observer's "observeValueForKeyPath" method but
trying to fetch the value using
[inChange objectForKey: NSKeyValueChangeNewKey]
Always returns null. Is this a bug in NSArrayController?
_______________________________________________
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