multiple inheritance equivalent in Core Data?
multiple inheritance equivalent in Core Data?
- Subject: multiple inheritance equivalent in Core Data?
- From: John Timmer <email@hidden>
- Date: Mon, 09 May 2005 10:29:19 -0400
I'm trying to sensibly design NSManagedObject subclasses, and I'm running
into the following problem: many of my objects have some combination of
names, notes, and IDs, but not all of them need all three. I'd love to
simplify the object graph, and have them inherit from common classes, but I
can't do multiple inheritance, so my option seems to be to either not use
superclasses, or to have the objects carry around unused keys. I'm sure the
overhead of the second is minor, but is there any other way of approaching
this?
Thanks,
JT
_______________________________________________
This mind intentionally left blank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden