• 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: Observing NSArrayController selectionIndex always returns null
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Observing NSArrayController selectionIndex always returns null (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Can't get CABasicAnimation to explicitly animate "frame" property of CALayer
  • Next by Date: Re: Inviting to comment on Cocoa categories
  • Previous by thread: Observing NSArrayController selectionIndex always returns null
  • Next by thread: CoreAudio — AudioUnit and AudioUnitExternalBuffer
  • Index(es):
    • Date
    • Thread