Re: docs, KVO and NSUserDefaults etc.
Re: docs, KVO and NSUserDefaults etc.
- Subject: Re: docs, KVO and NSUserDefaults etc.
- From: Scott Anguish <email@hidden>
- Date: Mon, 21 Jun 2010 19:41:29 -0400
On Jun 21, 2010, at 2:52 PM, Sean McBride wrote:
> On Mon, 21 Jun 2010 10:28:10 -0700, Matt Neuburg said:
>
>> On the one hand, Apple seems to warn in some documents that one should not
>> assume KVO-compliance unless explicitly asserted. On the other, KVO is far
>> more widely implemented in the built-in classes than is explicitly asserted.
>> Experimentation shows that NSUserDefaults is KVO-compliant, and so are lots
>> of properties of other objects.
>>
>> But how is the user supposed to know this? Or is the user who discovers this
>> supposed to ignore it?
>
> If it's not documented, I guess it's an implementation detail that you
> should ignore. :( Though in many cases, it could just be that the docs
> are out of date. :(
>
If you think the docs are out of date, file a bug. But it’s best to assume that it isn’t something to rely on if it isn’t documented.
_______________________________________________
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