Re: Sensible way to extend base class?
Re: Sensible way to extend base class?
- Subject: Re: Sensible way to extend base class?
- From: Jerry Krinock <email@hidden>
- Date: Wed, 20 May 2009 05:24:32 -0700
On 2009 May 20, at 05:09, Graham Cox wrote:
I have a base class...
I believe a short version of your question is: "How can I get multiple
inheritance?" The short answer is that Objective-C does not support
multiple inheritance.
Any solution I've missed?
Re-think your design so that the required ivars can be stored in a
delegate. If desired to make it more fool-programmer-proof and
reuseable, declare the delegate with an informal or formal protocol.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden