Problem with NSProxy subclasses
Hi there,
I have an application with a class named DynamicUIWebViewDelegate that I want to put hooks on some methods of it. The problem is that class is a subclass of NSProxy so when I add the hooker I have an exception at runtime :
[DynamicUIWebViewDelegate aspect_hookSelector:withOptions:usingBlock:error:]: unrecognized selector sent to class
How could I react to solve this issue ?
Thanks Peter
That might be hard; as we use runtime forwarding internally as well. does it work on the 1.5 branch?
Nope.
Not having any plans to add special code, but if you find an elegant solution, I'm curious.