Skip to content

Compatibility Issue: Implementation of didMoveToWindow swizzling doesn't work with other frameworks #275

@yjkogan

Description

@yjkogan

Is there any reason why you implemented didMoveToWindow for UILabel (and the other classes) instead of just letting them all drop down to UIView's swizzled implementation? That would allow the swizzle chain to stay intact. The other way to do it would be to call [super didMoveToWindow] in UILabel's override_didMoveToWindow]. I've tested both and they seem to work.

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