• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
get superclass instance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: NSTask outliving parent
  • Next by Date: Re: bindings for nsmatrix
  • Previous by thread: NSTask outliving parent
  • Next by thread: Re: get superclass instance
  • Index(es):
    • Date
    • Thread