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 (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