Re: Core Data - use of simple accessors vs. KVC
Re: Core Data - use of simple accessors vs. KVC
- Subject: Re: Core Data - use of simple accessors vs. KVC
- From: mmalc crawford <email@hidden>
- Date: Thu, 28 Aug 2008 19:33:26 -0700
On Aug 27, 2008, at 11:11 PM, Negm-Awad Amin wrote:
Perhaps I'm being dense here, but why would you use a category on
NSManagedObject to declare accessors that only actually apply to a
single entity?
[...]
Am I missing something?
No, you misssed nothing. Using a category of NSManagedObject is
mixing machine.
You should never do that.
This "advice" directly contradicts the documentation and the
suggestions of the Core Data team.
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdAccessorMethods.html
>
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