Yalta v2.0.0 Release Notes
Release Date: 2020-06-18 // almost 4 years ago-
๐ > Use Migraiton Guide included in the repo to ease migration.
- โ Add
macOS support
- โ Add new low-level APIs:
equal
,greaterThanOrEqual
,lessThatOrEqual
- โ Add
spacing()
method for alignments - ๐ Rename uncler
.al
to.anchors
- โ Remove
.al
version accepting closure - โ Add
constraints
property toConstraints
type to allow access to all of the constraints created using it - โ Add
activate
parameter toConstraints
initiliazer to optionally disable automatic activation of constraints - ๐ Deprecated
func edges(_ edges: LayoutEdge...)
, usepin(axis:)
insteads - ๐
pin()
methods now use.leading
and.trailing
anchors intead of absolute.left
and.right
anchors. To switch to absolute anchors, useabsolute()
:view.anchors.edges.absolute()
- โ Remove
addSubview
family of APIs - Migrate to Swift 5.1
- Increase minimum required platform versions
- โ Add