Skip to content

2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@stevebrambilla stevebrambilla released this 25 Jul 01:54
· 4 commits to master since this release

Change Log

  • Added Swift Package compatibility
  • Added support for macOS and macCatalyst
  • Added support for Swift 5.1 function builders:
NSLayoutConstraint.activateLayout {
    if pinTopAndBottomToSafeArea {
        subview.anchors.verticalEdges == container.anchors.safeArea.verticalEdges
    } else {
        subview.anchors.verticalEdges == container.anchors.verticalEdges
    }
    subview.anchors.horizontalEdges == container.anchors.horizontalEdges
}
  • Removed customizable per-edge insets from Edges expressions
  • Renamed .edges anchor to .allEdges
  • Added .verticalEdges and .horizontalEdges anchors