InterposeKit icon indicating copy to clipboard operation
InterposeKit copied to clipboard

Assert that swizzled implementation type signature matches original method

Open fumoboy007 opened this issue 4 years ago • 0 comments

To make swizzling more robust, it would be ideal if the return/argument types of the swizzled implementation could be checked against the original method.

As for how to do that… I guess the only way would be to accept an Objective-C method (via target/selector parameters) instead of an Objective-C block?

fumoboy007 avatar Jan 23 '21 16:01 fumoboy007