Re: Apple guys: is the XCode generated CD accessor code decent?
Re: Apple guys: is the XCode generated CD accessor code decent?
- Subject: Re: Apple guys: is the XCode generated CD accessor code decent?
- From: Scott Stevenson <email@hidden>
- Date: Fri, 27 May 2005 11:36:36 -0700
On May 27, 2005, at 11:20 AM, Scott Ellsworth wrote:
In the context menu item for a Core Data attribute, you will find 'copy method implementations to clipboard". [...] Does doing this cause a significant performance overhead over plain old valueForKey? It did not seem to on my very simple tests, but those were, as I said, simple. I suspect you guys have a better idea of what valueForKey/setValue:forKey is doing in the background.
It shouldn't, but that's somewhat beside the point.
If you need to do something special (such as return C primitives) when object values are set/get, this is most practical way to do it. I wouldn't generate them "just because," since it means more code to compile and maintain.
|
_______________________________________________
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