FROM : mmalc crawford
DATE : Thu Nov 01 22:04:07 2007
On Nov 1, 2007, at 1:29 PM, Paul Bruneau wrote:
> Not looking for an in-depth explanation (I should be able to find/
> understand the docs once I get tipped in the right direction), but
> can someone briefly hint to me the reason Apple uses key-value
> coding in this example code:
> http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/03_CustomClass/chapter_4_section_3.html
>
Because, for brevity, the tutorial didn't show the implementation of
the custom accessors.
For current best practice, see <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdAccessorMethods.html
>.
Feel free to file an enhancement request to ensure this is covered in
an update to 10.5 for that tutorial.
mmalc
DATE : Thu Nov 01 22:04:07 2007
On Nov 1, 2007, at 1:29 PM, Paul Bruneau wrote:
> Not looking for an in-depth explanation (I should be able to find/
> understand the docs once I get tipped in the right direction), but
> can someone briefly hint to me the reason Apple uses key-value
> coding in this example code:
> http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/03_CustomClass/chapter_4_section_3.html
>
Because, for brevity, the tutorial didn't show the implementation of
the custom accessors.
For current best practice, see <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdAccessorMethods.html
>.
Feel free to file an enhancement request to ensure this is covered in
an update to 10.5 for that tutorial.
mmalc
| Related mails | Author | Date |
|---|---|---|
| Paul Bruneau | Nov 1, 21:29 | |
| mmalc crawford | Nov 1, 22:04 | |
| Paul Bruneau | Nov 2, 13:19 | |
| Ben Trumbull | Nov 4, 00:47 |






Cocoa mail archive

