SwiftAutoLayout v1.0.0 Release Notes
Release Date: 2016-01-09 // almost 9 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
andNSLayoutGuide
- ๐ 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 nowview.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