NSInvalid. Override this method in your concrete subclass to return a proper
NSMethod object for the given selector and the class your proxy objects stand in for.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The selector for which to return a method signature.
Not applicable. The implementation provided by
NSProxy raises an exception.
Be sure to avoid an infinite loop when necessary by checking that
a isn’t the selector for this method itself and by not sending any message that might invoke this method.
For example, if your proxy merely forwards messages to an instance variable named
real, it can implement
method like this: