Re: KVO question
Re: KVO question
- Subject: Re: KVO question
- From: Roland King <email@hidden>
- Date: Thu, 19 Nov 2015 08:52:15 +0800
> On 19 Nov 2015, at 08:38, Quincey Morris <email@hidden> wrote:
>
> (sorry, posted the incomplete message by accident)
>
> On Nov 18, 2015, at 16:29 , Roland King <email@hidden <mailto:email@hidden>> wrote:
>>
>> I didn’t read his original question as saying that
>
> I could easily have got it wrong, but I believe what he was saying was that much of his system was working. The part that doesn’t work is when (e.g.) the Font Manager updates the dictionary directly, by which I mean it changes values in the dictionary, but does not replace the entire dictionary in the model object (it can’t do that, it doesn’t know where to find the model object, or what the property name of the dictionary in the model object is).
>
> In this kind of update, Graham is expecting a KVO notification “for the dictionary”, in order to trigger keyPathsForValuesAffectingThingy. I’m saying that can’t possibly happen.
>
>
I agree that if what he’s doing is changing values in the dictionary then he’s not going to get a change notification for the dictionary. I just read his message again and I can’t read it as saying anything else than the entire dictionary is being replaced, perhaps it’s just how I read it. I think we need some clarification here about what’s really getting changed.
_______________________________________________
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