• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: multiple inheritance equivalent in Core Data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple inheritance equivalent in Core Data?


  • Subject: Re: multiple inheritance equivalent in Core Data?
  • From: Todd Ransom <email@hidden>
  • Date: Mon, 9 May 2005 10:10:51 -0600

I don't have Tiger yet and haven't looked at CoreData much but I hope that won't matter much. Under Panther I would use protocols to encapsulate these behaviors because a class can conform to multiple protocols.

Todd Ransom
Return Self Software
http://returnself.com

On May 9, 2005, at 8:29 AM, John Timmer wrote:

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

_______________________________________________ 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
  • Follow-Ups:
    • Re: multiple inheritance equivalent in Core Data?
      • From: John Timmer <email@hidden>
References: 
 >multiple inheritance equivalent in Core Data? (From: John Timmer <email@hidden>)

  • Prev by Date: Re: multiple mdimporters not managed by Spotlight ??? critical bug IMO
  • Next by Date: Tiger: NSAttributedString from WebArchive
  • Previous by thread: multiple inheritance equivalent in Core Data?
  • Next by thread: Re: multiple inheritance equivalent in Core Data?
  • Index(es):
    • Date
    • Thread