• 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 - use of simple accessors vs. KVC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Core Data - use of simple accessors vs. KVC (From: Caleb Strockbine <email@hidden>)
 >Re: Core Data - use of simple accessors vs. KVC (From: Negm-Awad Amin <email@hidden>)

  • Prev by Date: Re: CoreData, SQLite and GUID
  • Next by Date: Re: CFBundleIconFile: heiß or hot?
  • Previous by thread: Re: Core Data - use of simple accessors vs. KVC
  • Next by thread: Best practice for actions invocation across multi-tiered subviews
  • Index(es):
    • Date
    • Thread