Releases: freshOS/Stevia
Releases · freshOS/Stevia
Swift 5.9
Adds PrivacyInfo.xcprivacy
5.1.3 Adds PrivacyInfo.xcprivacy
5.1.2
5.1.1
5.1.0 swift-tools-version:5.3
Updates to swift-tools-version:5.3
5.0.1 Fixes CGFloats in Layout blocks
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 !
Bug found that can break your layouts -> #141
- Adds support for
CGFloat
for all apis %
constraints can now be used inlayout
blocks for margins, height & spacessv()
is renamed tosubviews()
for claritysubviews()
has now its function builder counterpart:subviews{}
(no more commas!)layout()
has now its function builder counterpart:layout {}
fillVertically(m:)
is renamed tofillVertically(padding:)
fillHorizontally(m:)
is renamed tofillHorizontally(padding:)
fillContainer(x)
is renamed tofillContainer(padding: x)
centerHorizontally(x)
is renamed tocenterHorizontally(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
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
- 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 👏