• 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: Changes in KVO behavior on SL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changes in KVO behavior on SL?


  • Subject: Re: Changes in KVO behavior on SL?
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 1 Sep 2009 18:02:28 -0700

On Tue, Sep 1, 2009 at 5:14 PM, Kevin Brock<email@hidden> wrote:
> We've got an app that is using keyValueForPath: and
> observeValueForKeyPath:ofObject:change:context: to keep a status window
> up-to-date.

It's valueForKeyPath:.

> On 10.5 it works fine.  On 10.6 keyValueForPath: is called exactly once per
> property.  When we later create a change dictionary and send
> observeValueForKeyPath:ofObject:change:context: to the observer for a
> property, valueForKeyPath: isn't called again.

You need to post your code.

> Is there a known change in 10.6 to how these functions are supposed to work?
>  It's really odd, because all of our low-level code, including some  KEXTs,
>  works fine in 32 bit SL, but this one piece doesn't...

There are changes -- read the release notes.  None of them should
introduce the behavior you're seeing.

--Kyle Sluder
_______________________________________________

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: 
 >Changes in KVO behavior on SL? (From: Kevin Brock <email@hidden>)

  • Prev by Date: Changes in KVO behavior on SL?
  • Next by Date: Re: Changes in KVO behavior on SL?
  • Previous by thread: Changes in KVO behavior on SL?
  • Next by thread: Re: Changes in KVO behavior on SL?
  • Index(es):
    • Date
    • Thread