Skip to content

Assert that swizzled implementation type signature matches original method #27

@fumoboy007

Description

@fumoboy007

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions