Re: How to create subentity object inheriting from superentity object in core data
Re: How to create subentity object inheriting from superentity object in core data
- Subject: Re: How to create subentity object inheriting from superentity object in core data
- From: Kyle Sluder <email@hidden>
- Date: Wed, 16 Sep 2009 11:02:37 -0700
On Wed, Sep 16, 2009 at 10:53 AM, Leon Starr <email@hidden> wrote:
> A is not abstract, so if I create an A NSManagedObject, I need to create and
> relate a single B or C subclass object. How do I make this happen? I can
> create the entities, but HOW do I tell the model that object B is a subclass
> of object A (or vice versa?)
You don't need to tell it anything. Core Data knows that every B isa A.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden