Re: Inheritance question
Re: Inheritance question
- Subject: Re: Inheritance question
- From: j o a r <email@hidden>
- Date: Fri, 17 Aug 2007 13:15:56 +0200
On 17 aug 2007, at 12.41, Daniel Angermeier wrote:
Ok, this would work for that particular case, but what if I have an
instance of MyClass and want to call a super method on it.
[(MySuperClass *)myClassInstance theMethod];
why does this casting approach at compile time not work ?
Is there any other way to force the run time to use the super
implementation of that method ?
What are you really trying to do? Can you describe the problem you're
trying to solve rather than describing the problems you have with
your approach to solve that problem?
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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