get superclass instance
get superclass instance
- Subject: get superclass instance
- From: Agent M <email@hidden>
- Date: Sat, 5 Mar 2005 22:41:52 -0500
I would like to set the target of an NSInvocation to be the superclass
of the current object, however
[invocation setTarget:super];
doesn't work because super is not an id and I can't figure out what
kind of structure it is. (It seems to have a class member, but not
receiver, so it is not an objc_super struct.)
More generally, how can I get an id which points to the superclass
instance (not the meta-class), given "self"?
_______________________________________________
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