EasySwiftLayout v1.5.1 Release Notes

Release Date: 2020-05-17 // almost 5 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.