• 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: Flavio Donadio <email@hidden>
  • Date: Fri, 17 Dec 2010 19:28:19 -0200

mmalc,


I meant Movie 13.


Cheers,
Flavio

On 17/12/2010, at 19:24, Flavio Donadio wrote:

> mmalc,
>
>
> Lesson learnt,  but I took that code directly from Apple. Check Movie 11 on this page:
>
> http://developer.apple.com/cocoa/coredatatutorial/index.html
>
> I think the code you suggested would work better and is even more readable.
>
> Thanks for the tip!
>
>
> Cheers,
> Flavio
>
>
> On 12/16/2010, at 23:56, mmalc Crawford wrote:
>
>> Don't use KVC to set managed object properties unless you have a good reason (dynamic code). Core Data generates accessor methods for you that are much more efficient to use:
>>
>> 	[self setDatePurchased:[NSDate date]];
>>
>> 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: Core data - binding related problem in NSNumberFormatter and NSDatePicker
  • Previous by thread: Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker
  • Next by thread: Re: Core data - binding related problem in NSNumberFormatter and NSDatePicker
  • Index(es):
    • Date
    • Thread