obj-c: how do i call an instance method in my super's super?
obj-c: how do i call an instance method in my super's super?
- Subject: obj-c: how do i call an instance method in my super's super?
- From: Ken Victor <email@hidden>
- Date: Wed, 21 Sep 2005 17:20:11 -0700
given class structure:
baseClass
subClassOfBaseClass
subClassOfSubClassOfBaseClass
and each of these classes has an instance method foobar. how can i
call baseClass's foobar from within subClassOfSubClassOfBaseClass's
foobar?
for the time being, i've put a "proxy" method in subClassOfBaseClass
that simpl;y calls baseClass's foobar and i call this "proxy" method
from foobar in subClassOfSubClassOfBaseClass. but it seems that there
aught to be a more direct approach (without having to talk directly
to the runtime code).
thanx,
ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden