On Dec 17, 2010, at 1:24 pm, Flavio Donadio wrote:

> Lesson learnt,  but I took that code directly from Apple. Check Movie 11 on 
> this page:
> http://developer.apple.com/cocoa/coredatatutorial/index.html
> 
That's an overview tutorial from several years ago, prior to the introduction 
of dynamically-generated accessor methods, and intended to illustrate a quick 
first-pass. The current documentation is quite explicit:

"You can also use key-value coding (KVC) to get or set the value of a simple 
attribute as illustrated in the following code fragment. Using KVC, though, is 
considerably less efficient than using accessor methods, so you should only use 
KVC when necessary (for example when you are choosing the key or key path 
dynamically)."
<http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CoreData/Articles/cdUsingMOs.html%23//apple_ref/doc/uid/TP40001803-CJBDBHCB>

mmalc

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to