EasySwiftLayout v1.5.1 Release Notes

Release Date: 2020-05-17 // almost 2 years ago
  • โž• Added:

    • Example project.
    • Small helper method add(toSuperview:) for convenient chaining.

    โšก๏ธ Updated:

    • ๐Ÿ“š API documentation.
    • Internal project structure.

Previous changes from v1.5.0

  • โž• Added:

    ๐Ÿšš Ability to chain pin, center methods. For now, all methods returns self with attribute @discardableResult. This will help to remove some boilerplate code in our daily UI routine.

    ๐Ÿ‘ ESLSizeInsets (typealias of UIOffset) instead of ESL2DimentionsInsets (typealias of CGSize). It was just a bad naming, plus UIOffset creates better API rather than CGSize.

    ๐Ÿ‘ Swift 5 support.

    โšก๏ธ Updated:

    ๐Ÿ“š API documentation.

    Size methods which uses another view for layout. Replaced argument labels to to match.

    centerInSuperview. Now it requires argument label axis.

    ๐Ÿ›  Fixed:

    Center methods ignored constraints priority.

    height ignored constraint relation.