Stevia Versions Save

:leaves: Concise Autolayout code

4.7.1

4 years ago

⚠️ 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

4 years ago

4.6.0

4 years ago
  • Builds framework with Xcode11 & Swift 5.1

4.5.0

5 years ago

Updates to swift 5 🚀

4.4.4

5 years ago

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

4.4.3

5 years ago
  • Fixes Equation api >= broken operator

4.4.2

5 years ago

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

5 years ago

4.4.0

5 years ago
  • Migrates to Swift 4.2 🚀

4.3.2

5 years ago
  • Adds support for baselines, kudos to @bellebethcooper for bringing this up 🚀
align(lastBaselines: label, label2, label3)
label.FirstBaseline == label.LastBaseline
  • Fixes #90 Thanks @leidi0129 for spotting the issue 👏