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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to