Stevia v5.0.1 Release Notes

Release Date: 2020-04-20 // about 1 month ago
  • 🍱 Thanks @moliya for noticing CGFloat values were broken in layout blocks, this is now fixed 🎉

Previous changes from v5.0.0

    • ➕ 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