Re: Fastest Datastore?
Re: Fastest Datastore?
- Subject: Re: Fastest Datastore?
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 5 Mar 2006 18:36:57 -0800
On Mar 5, 2006, at 4:36 PM, Greg Herlihy wrote:
In fact there are two Core Data routines: -primitive<Key> and
setPrimitive<Key> that would be ideal places to intercept data to
and from the data store.
No, you should *not* override these methods:
<http://developer.apple.com/documentation/Cocoa/Reference/
CoreData_ObjC/Classes/NSManagedObject.html#//apple_ref/occ/instm/
NSManagedObject/primitiveValueForKey:>
You can instead follow the pattern described in <http://
developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/
cdAccessorMethods.html#//apple_ref/doc/uid/TP40002154-SW5> or <http://
developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/
cdNSAttributes.html>.
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden