Re: Generated custom classes for core data.
Re: Generated custom classes for core data.
- Subject: Re: Generated custom classes for core data.
- From: Niko Matsakis <email@hidden>
- Date: Fri, 29 Feb 2008 18:24:27 +0100
Thanks, that's precisely what I wanted to know.
Niko
On Feb 29, 2008, at 3:51 PM, Felix Franz wrote:
On 29.02.2008, at 12:03, Niko Matsakis wrote:
I have a core data model, and I would like to generate custom
classes for each of the Entities in it. I am using Xcode 3.0: I
see that it is possible to copy-and-paste the interface/
implementation using the "Copy Obj-C 2.0 ... to Clipboard" options,
but that is really annoying in practice. I am wondering if there
is a way to just generate the class definitions automatically for
all of the entities? The idea would be some kind of menu option
that generated the required .h/.m files and added the appropriate
definitions to them.
Select all entities in the model and choose "File > New Fileā¦". And
"Design > Managed Object Class".
See:
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/02_40_design_data_modeling/chapter_17_section_7.html#
>
Cheers,
felix
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden