EasySwiftLayout v1.5.1 Release Notes
Release Date: 2020-05-17 // almost 5 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.