SwiftAutoLayout v1.0.0 Release Notes

Release Date: 2016-01-09 // about 8 years ago
  • This is a full rewrite of SwiftAutoLayout with the following major changes/additions:

    • ๐Ÿ‘ Setting layout priorities is supported using the ~ operator
    • ๐Ÿ‘Œ Support for UILayoutGuide and NSLayoutGuide
    • ๐Ÿ‘Œ Support for constraining using UIViewController layout guides
    • Layout item types are now parametrized using a shadow type that determines whether the constraint is an X axis, Y axis, or dimension constraint for additional type safety
    • ๐Ÿ›  The al_ prefixes have been dropped from the layout item accessors (e.g. view.al_left is now view.left)
    • ๐Ÿšš The method equivalents (e.g. greaterThanOrEqualTo() instead of >=) to the operator overloads have been removed since these are needlessly verbose and do not add much value over using the (NS|UI)LayoutAnchor API