Releases: kean/Align
Releases · kean/Align
Align 3.3.1
What's Changed
- Rename macOS .v10_16 to .v11 by @akaDuality in #9
New Contributors
- @akaDuality made their first contribution in #9
Align 3.3
Align 3.2
Align 3.1.0
- Use static linking by default
- Fix warnings in Xcode 15
Align 3.0.0
- Breaking Change: The
Alignment
used inpin()
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
toLayoutAnchors/item
- Move
Alignment
toAnchorCollectionEdges/Alignment
- Fix typos
Align 2.4.1
- Fix typo in
Alignment
Align 2.4.0
- Add Cheat Sheet
- Remove
anchors.margins
andanchors.safeArea
APIs - Documentation improvements
Align 2.3
This release focuses on filling the remaining gaps in the API.
Constraints
type now conforms toCollection
protocol (backed byArray
)- Add
Constraints
activate()
anddeactivate()
methods - Add
clamp(to limit: ClosedRange<CGFloat>)
API for dimension anchors - Add default
insets
argument forAnchorCollectionEdges
equal
method - Replace the target parameter of
AnchorCollectionEdges
equal
method withLayoutItem
- Add
AnchorCollectionEdges
variant that works withCGFloat
- Add
AnchorCollectionEdges
lessThatOrEqual()
method - Fix
AnchorCollectionCenter
lessThatOrEqual()
method - Replace the target parameter of
AnchorCollectionCenter
method withLayoutItem
- Performance optimizations
Align 2.2.1
- Add a missing version of
pin()
that works withCGFloat
as insets