Skip to content

Avoid overwriting layoutSubviews in category #1

@Bluezen

Description

@Bluezen

Verify @bpoplauschi following comment and do the proper modifications:

Overwriting layoutSubviews in a category is a bad practice. Because this implementation will be called instead of the one someone could write if they choose to subclass UIImageView and they will have no clue this happens. We might want to solve the position issue using constraints rather than keep calculating frames.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions