On 10-Jul-2010, at 3:24 PM, Joanna Carter wrote:

> Hi Matt
> 
>> Wow, thank you so much.  I have no idea how I missed the "Class" column in 
>> the xcdatamodel's UI.  From what I saw, none of the tutorials mentioned 
>> doing this either.  Maybe I was reading the newbie stuff where they didn't 
>> get into fun stuff like that.
> 
> I'm not sure why you would need to put a different name into the Class column 
> of the modeller. Common practice is to simply name the entities as you would 
> have them be in code.
> 
> e.g.
> 
> Customer
>  [attributes]
>  name: String
>  address: String
>  …

I guess because he wasn't autogenerating the code. If you just add an entity in 
the modeler and do nothing else, it gives it a default of NSManagedObject. That 
I think is where Matt was when he asked the question. 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to