Re: NSDocument and KVO compliance
Re: NSDocument and KVO compliance
- Subject: Re: NSDocument and KVO compliance
- From: Seth Willits <email@hidden>
- Date: Fri, 18 Oct 2013 11:49:07 -0700
On Oct 18, 2013, at 11:41 AM, email@hidden wrote:
> Twice recently I have found myself tinkering with NSDocument et al to support observing of certain values.
> For example, NSDocument -isDocumentEdited is not seemingly KVO compliant.
> -isDocumentEdited status is driven by -updateChangeCount: so
>
> ...
>
> Is this the best way to go about addressing these sorts of issues with regard to missing KVO compliance?
Well, the best thing to do is file a radar and wait a couple years for them to get around to adding it. :(
That said, it would probably mostly work, but it's not always guaranteed to be bulletproof because those keys could also be influenced by private methods.
--
Seth Willits
_______________________________________________
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