Forum Archive

[closed] How to get the objc class name from an ObjCInstanceMethodProxy class instance ?

Brun0oO

Hi,

Is it possible to retrieve the objc class name from an ObjCInstanceMethodProxy class instance ?
I'm debugging a method call to an ObjCInstanceMethodProxy class instance. It failed and I'm trying to enumerate the available methods from the instance (using some stuff from the 'objc_tools/objc_info.py' code).

Thanks for your help....

Brun0oO

Ok... I found my error and as always, the solution was in front of my eyes...
I was certain to deal with a variable not a method.
If I got an ObjCIntanceMethodProxy class instance, i got the address of a method not a variable so I need to put () characters...

Brun0oO
.. in search of arkit integration...