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 (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 [EMAIL PROTECTED]

Reply via email to