Re: Showing more than one entity in a tableview (Core Data)
Re: Showing more than one entity in a tableview (Core Data)
- Subject: Re: Showing more than one entity in a tableview (Core Data)
- From: "Sean McBride" <email@hidden>
- Date: Thu, 8 Feb 2007 11:39:53 -0500
- Organization: Rogue Research
On 2007-02-07 17:30, I. Savant said:
> Make a generic entity called "Animal" with a -name attribute and
>make "Dog" and "Cat" subentities of "Animal" (delete their -name
>attributes of course). Use "Animal" as the entity for the array
>controller.
Thanks I.S.! This seems to be working well. If I additionally need to
use NSMangedObject subclasses should their class hierarchies follow the
entity hierarchies? ie:
NSManagedObject - AnimalManagedObject - DogManagedObject
- CatManagedObject
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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