Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generated custom classes for core data.



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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Generated custom classes for core data. (From: Niko Matsakis <email@hidden>)
 >Re: Generated custom classes for core data. (From: Felix Franz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.