Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker
Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker
- Subject: Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker
- From: mmalc Crawford <email@hidden>
- Date: Fri, 17 Dec 2010 16:47:46 -0800
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#//apple_ref/doc/uid/TP40001803-CJBDBHCB>
mmalc
_______________________________________________
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