EasySwiftLayout v1.5.1 Release Notes
Release Date: 2020-05-17 // about 3 years ago-
โ Added:
- Example project.
- Small helper method
add(toSuperview:)
for convenient chaining.
โก๏ธ Updated:
- ๐ API documentation.
- Internal project structure.
Previous changes from v1.5.0
-
โ Added:
๐ Ability to chain
pin
,center
methods. For now, all methods returnsself
with attribute@discardableResult
. This will help to remove some boilerplate code in our daily UI routine.๐
ESLSizeInsets
(typealias ofUIOffset
) instead ofESL2DimentionsInsets
(typealias ofCGSize
). It was just a bad naming, plusUIOffset
creates better API rather thanCGSize
.๐ Swift 5 support.
โก๏ธ Updated:
๐ API documentation.
Size methods which uses another view for layout. Replaced argument labels
to
tomatch
.centerInSuperview
. Now it requires argument labelaxis
.๐ Fixed:
Center methods ignored constraints priority.
height
ignored constraint relation.