Skip to content

Releases: freshOS/Stevia

Swift 5.9

06 Mar 07:45
Compare
Choose a tag to compare
5.1.4

Bumps to Swift 5.9

Adds PrivacyInfo.xcprivacy

06 Mar 07:41
Compare
Choose a tag to compare
5.1.3

Adds PrivacyInfo.xcprivacy

5.1.2

23 May 18:16
Compare
Choose a tag to compare
  • Undeprecates the double dash "--" operator to address compile time issues as explained in #165

Thanks @cowgp for this release.

5.1.1

19 Nov 12:14
a32dc3c
Compare
Choose a tag to compare

-Adds Int and CGFloat variants for SteviaLayoutAnchor operators. (Fixes #153)

Congrats @edulpn for this release 👏

5.1.0 swift-tools-version:5.3

21 Sep 13:14
Compare
Choose a tag to compare

Updates to swift-tools-version:5.3

5.0.1 Fixes CGFloats in Layout blocks

20 Apr 07:59
Compare
Choose a tag to compare

Thanks @moliya for noticing CGFloat values were broken in layout blocks, this is now fixed 🎉

5.0.0 - Function builders, % api, CGFloat, api clean, UIStackViews !

05 Apr 10:08
Compare
Choose a tag to compare

⚠️ A serious bug has been found in this release, please use 5.0.1 instead ⚠️

Bug found that can break your layouts -> #141

  • Adds support for CGFloat for all apis
  • % constraints can now be used in layout blocks for margins, height & spaces
  • sv() is renamed to subviews() for clarity
  • subviews() has now its function builder counterpart: subviews{} (no more commas!)
  • layout() has now its function builder counterpart: layout {}
  • fillVertically(m:) is renamed to fillVertically(padding:)
  • fillHorizontally(m:) is renamed to fillHorizontally(padding:)
  • fillContainer(x) is renamed to fillContainer(padding: x)
  • centerHorizontally(x) is renamed to centerHorizontally(offset: x)
  • Double dash -- operator is renamed in hyphen bullet for better compile times. (auto replace)
  • Adds UIStackView arrangedSubviews {} function builder

4.8.0 Swift Package Manager

06 Jan 09:22
Compare
Choose a tag to compare

Swift Package Manager is now the official way to install Stevia 🎉.
In order to use other package managers, see previous versions.
Onwards ! ✨

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 👏