Re: Core Data Accessor method generation
Re: Core Data Accessor method generation
- Subject: Re: Core Data Accessor method generation
- From: Scott Ellsworth <email@hidden>
- Date: Wed, 7 Sep 2005 10:59:39 -0700
On Sep 7, 2005, at 9:52 AM, mmalcolm crawford wrote:
On Sep 7, 2005, at 6:54 AM, Don Willems wrote:
"You can use the Xcode data modeling tool to generate the code for
accessor methods for any modeled property."
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/
Articles/cdAccessorMethods.html#//apple_ref/doc/uid/TP40002154
But how?
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide21/Contents/Resources/en.lproj/
02_04_design_data_model/chapter_15_section_5.html#//apple_ref/doc/
uid/TP40001871-CH273-DontLinkElementID_75>
Keen - I had known about generating specific properties, but not
about "You can use Xcode's New File Assistant ..."
A word of advice: do not generate your custom objects too early.
Once you do generate them and start stuffing custom code, you need to
be more careful about changing the data model. That said, once the
data model _is_ nailed down, it is a lot easier to understand [foo
propertyName] than [foo valueForKey:@"propertyName"] in code, and the
regex is not that different.
Scott
_______________________________________________
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