docs, KVO and NSUserDefaults etc.
docs, KVO and NSUserDefaults etc.
- Subject: docs, KVO and NSUserDefaults etc.
- From: Matt Neuburg <email@hidden>
- Date: Mon, 21 Jun 2010 10:28:10 -0700
- Thread-topic: docs, KVO and NSUserDefaults etc.
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?
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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