• 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
Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker (From: Flavio Donadio <email@hidden>)

  • Prev by Date: Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker
  • Next by Date: Re: NSView setAlphaValue question (Update still not working)
  • Previous by thread: Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker
  • Next by thread: threads and delegates
  • Index(es):
    • Date
    • Thread