Skip to content

Releases: freshOS/Stevia

4.7.3 Xcode 11.2.1 & Swift 5.1.2

10 Dec 17:59
Compare
Choose a tag to compare
  • Builds the pre-built framework with Xcode 11.2.1 & Swift 5.2.1

4.7.2

13 Nov 09:48
Compare
Choose a tag to compare
  • 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

04 Nov 12:01
Compare
Choose a tag to compare

⚠️ Warning, this release adds support for RTL languages which represents quite a big change. If you use this version, make sure to check you app for any layout issue and please report them :)

  • Visual format now supports right-to-left language meaning |-20-myview means myView 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

16 Oct 11:05
Compare
Choose a tag to compare
4.6.1

Xcode11 & Swift 5.1

30 Sep 10:32
Compare
Choose a tag to compare
  • Builds framework with Xcode11 & Swift 5.1

Swift 5 !

02 Apr 12:40
Compare
Choose a tag to compare

Updates to swift 5 🚀

fillContainer returns self

09 Mar 14:42
Compare
Choose a tag to compare

fillContainer now returns self to make it chainable (courtesy of @n13 )

4.4.3

03 Jan 14:18
Compare
Choose a tag to compare
  • Fixes Equation api >= broken operator

4.4.2

03 Jan 10:53
Compare
Choose a tag to compare

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.

4.4.1

28 Dec 10:00
Compare
Choose a tag to compare