Releases: freshOS/Stevia
Releases · freshOS/Stevia
4.7.3 Xcode 11.2.1 & Swift 5.1.2
- Builds the pre-built framework with Xcode 11.2.1 & Swift 5.2.1
4.7.2
- Fixes the issue described in #123 where equation api had bugs when using
>=
&<=
with single values. Props @jsonfellin for noticing, thanks @excursus for chiming in 🙏
Before
view.Width >= 30 ≠ view.width(>=30)
view.Width >= 30 was equivalent to view.Width >= Width + 30 (Wrong)
view.Botton >= 100 was equivalent to view.Bottom >= Bottom + 100 (Wrong)
view.Right >= 100 was equivalent to view.Right >= Right + 100 (Wrong)
Now
view.Width >= 30 == view.width(>=30)
view.Height <= 100 == view.height(<=100)
view.Botton >= 100 == view.Bottom >= Bottom - 100
view.Right >= 100 == view.Right >= Right - 100
- Big thanks @lukysnupy for his first contribution on improving our SPM integration 👏
4.7.1 Right-to-left language support
- Visual format now supports right-to-left language meaning
|-20-myview
meansmyView
is pinned to the right in a right-to-left language environment. - Adds
leading
trailing
support in the chainable api.
Debug Tip
You can force RTL rendering by using view.semanticContentAttribute = .forceRightToLeft
in your view.
4.6.1
Xcode11 & Swift 5.1
- Builds framework with Xcode11 & Swift 5.1
Swift 5 !
fillContainer returns self
fillContainer
now returns self to make it chainable (courtesy of @n13 )
4.4.3
4.4.2
Fixes view.bottom/top/right/leftConstraint
possibly returning wrong constraint if the one you want is not there yet. (looking for constraint in the view itself after looking for it in the superview)
The fix makes sure it only looks for the constraint in the view itself for width
and height
constraints, that corresponds to constraints added via width/heightAnchors api.