Re: Observing NSArrayController selectionIndex always returns null
Re: Observing NSArrayController selectionIndex always returns null
- Subject: Re: Observing NSArrayController selectionIndex always returns null
- From: "Sean McBride" <email@hidden>
- Date: Mon, 10 Nov 2008 12:19:09 -0500
- Organization: Rogue Research
On 11/9/08 3:59 AM, Ken Tozier said:
>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?
Yes. See "(Missing) KVO notification old and new values" at:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
And please file a radar.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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