Re: Is this possible without multiple inheritance?
Re: Is this possible without multiple inheritance?
- Subject: Re: Is this possible without multiple inheritance?
- From: Nathan Day <email@hidden>
- Date: Fri, 4 Jul 2003 17:10:14 +0930
You really need to supply us with more information, there could be a
completely different solution to your problem that does not need
multiple inheritance. For example in objective-C polymorphism is
independent of inheritance and so you may be able to solve your problem
by simply implementing the methods you want in class that may be
unrelated to either NSString nor NSSet.
On Friday, July 4, 2003, at 04:53 PM, Kyle Moffett wrote:
I have a particular object that needs to belong to both the NSString
and NSSet class clusters. Unfortunately, I don't see any way to
accomplish this without multiple inheritance of some sort. I am
considering just subclassing NSObject and re-implementing several
NSObject methods to fool things into thinking that my class belongs to
both, but that kind of hackery is dreadful. Is there any way at all
to do this neatly?
Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.