Skip to content

Releases: kean/Align

Align 3.3.1

12 Oct 17:24
9cadf70
Compare
Choose a tag to compare

What's Changed

New Contributors

Align 3.3

13 Sep 23:18
Compare
Choose a tag to compare
  • Add Sendable and @MainActor annotations
  • Add compatibility with Swift 6 and Xcode 16

Align 3.2

13 Apr 17:56
Compare
Choose a tag to compare
  • Remove deprecated .base property
  • Increase the minimum supported Xcode version to 14.3
  • Increase the minimum supported platforms to iOS 13.0, tvOS 13.0, macOS 10.15

Align 3.1.0

22 Jul 14:22
Compare
Choose a tag to compare
  • Use static linking by default
  • Fix warnings in Xcode 15

Align 3.0.0

13 Jul 14:57
Compare
Choose a tag to compare
  • Breaking Change: The Alignment used in pin() method now works slightly differently by default for the pre-defined .trailing, .leading, .bottom, and .top alignments. Previously, .leading alignment would pin to the view to the .leading horizontal guide and .fill the view vertically. In Align 3.0, it centers the view vertically instead.
  • Add new documentation created using DocC
  • Increase the minimum required Xcode version to 13.3
  • Increase the minimum supported platforms to iOS 12.0 / tvOS 12.0 / macOS 10.14
  • Rename LayoutAnchors/base to LayoutAnchors/item
  • Move Alignment to AnchorCollectionEdges/Alignment
  • Fix typos

Align 2.4.1

21 Jun 17:53
Compare
Choose a tag to compare
  • Fix typo in Alignment

Align 2.4.0

21 Jun 17:29
Compare
Choose a tag to compare
  • Add Cheat Sheet
  • Remove anchors.margins and anchors.safeArea APIs
  • Documentation improvements

Align 2.3

21 Jun 01:53
Compare
Choose a tag to compare

This release focuses on filling the remaining gaps in the API.

  • Constraints type now conforms to Collection protocol (backed by Array)
  • Add Constraints activate() and deactivate() methods
  • Add clamp(to limit: ClosedRange<CGFloat>) API for dimension anchors
  • Add default insets argument for AnchorCollectionEdges equal method
  • Replace the target parameter of AnchorCollectionEdges equal method with LayoutItem
  • Add AnchorCollectionEdges variant that works with CGFloat
  • Add AnchorCollectionEdges lessThatOrEqual() method
  • Fix AnchorCollectionCenter lessThatOrEqual() method
  • Replace the target parameter of AnchorCollectionCenter method with LayoutItem
  • Performance optimizations

Align 2.2.1

18 Jun 14:50
Compare
Choose a tag to compare
  • Add a missing version of pin() that works with CGFloat as insets

Align 2.2

18 Jun 13:15
Compare
Choose a tag to compare
  • Add missing Core APIs for collections