Re: Docs, questions and stuff
Re: Docs, questions and stuff
- Subject: Re: Docs, questions and stuff
- From: John Hörnkvist <email@hidden>
- Date: Sat, 25 Aug 2001 12:17:53 +0200
On Saturday, August 25, 2001, at 07:13 AM, Jonathan Hendry wrote:
That's a form of delegation, not MI. Rather different. Multiple
Inheritance is, by definition, an issue of type. Delegation
doesn't imply anything about type.
There is actually a concept called composition based inheritance. The
limitation of that approach is that subclasses can't directly access
instance variables declared in their superclasses, and that the
superclass doesn't use methods declared in the subclass.
Regards,
John Hornkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com