Re: Who Calls Accessors in Bookmarks?
Re: Who Calls Accessors in Bookmarks?
- Subject: Re: Who Calls Accessors in Bookmarks?
- From: "Daniel T. Staal" <email@hidden>
- Date: Fri, 31 Aug 2007 11:38:40 -0400 (EDT)
- Importance: Normal
On Fri, August 31, 2007 11:24 am, Gordon Apple said:
> Because those particular accessors appear to be specific to the mentioned
> classes. If they are going to try to use them, their documents should
> clue you in and at least provide the reference you guys sent. (Ok, the
> documents headers do vaguely reference the Key-Value Coding Guide, along
> with a few other encyclopedic references.)
They aren't specific to those classes. Those classes are often a
convinent way to store and manipulate data that will be shown using those
accessors, but they aren't the only way by a long shot.
NSArray (and the other NSSet sub-classes and addon classes) is simply a
data-store class. How you use it in your program is up to you.
Key-Value-Coding is _one_ way of enabling simple communication between
objects in your program. Note that I said 'communication': it is about
getting data from one place to another in your program, and it doesn't
care how the data is stored or generated. It just helps keep track of it.
Data storage and data communication are only related because they both
talk about data. Often they are used together (because after or before
communicating data you want to store it), but they don't need to be.
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
_______________________________________________
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