Skip to content

Remove the layout function? #2

@robb

Description

@robb

I don't fully grok the implications of extending framework classes in Swift yet, but being able to directly write

let view1 = UIView()
let view2 = UIView()

view1.width  == 200
view1.height == view1.width

view2.width  == view1.width
view2.height == view2.width

seems more natural. Not sure if it's worth the risk of collisions though…

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions