Re: Changes in KVO behavior on SL?
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