• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
docs, KVO and NSUserDefaults etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: docs, KVO and NSUserDefaults etc.
      • From: Scott Anguish <email@hidden>
    • Re: docs, KVO and NSUserDefaults etc.
      • From: "email@hidden" <email@hidden>
    • Re: docs, KVO and NSUserDefaults etc.
      • From: Ken Thomases <email@hidden>
    • Re: docs, KVO and NSUserDefaults etc.
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: CoreData and memory leaks
  • Next by Date: Re: Memory management on returning nil in init
  • Previous by thread: Re: Async NSURLConnection and blocks (was: Running NSURLConnection from within an NSOperation?)
  • Next by thread: Re: docs, KVO and NSUserDefaults etc.
  • Index(es):
    • Date
    • Thread