FROM : mmalc crawford
DATE : Fri Aug 29 04:33:26 2008
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
DATE : Fri Aug 29 04:33:26 2008
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
| Related mails | Author | Date |
|---|---|---|
| Oleg Krupnov | Aug 27, 18:22 | |
| Negm-Awad Amin | Aug 27, 18:47 | |
| Negm-Awad Amin | Aug 27, 18:48 | |
| mmalc crawford | Aug 27, 19:19 | |
| Negm-Awad Amin | Aug 27, 19:36 | |
| mmalc crawford | Aug 27, 19:57 | |
| Caleb Strockbine | Aug 28, 06:43 | |
| mmalc crawford | Aug 28, 06:51 | |
| Negm-Awad Amin | Aug 28, 08:09 | |
| Negm-Awad Amin | Aug 28, 08:11 | |
| mmalc crawford | Aug 29, 04:33 |






Cocoa mail archive

