Is this possible without multiple inheritance?
Is this possible without multiple inheritance?
- Subject: Is this possible without multiple inheritance?
- From: Kyle Moffett <email@hidden>
- Date: Fri, 4 Jul 2003 03:23:22 -0400
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?
Thanks in Advance,
Kyle Moffett
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a16 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP? t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r
!y?(-)
------END GEEK CODE BLOCK------
_______________________________________________
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.