Skip to content

Releases: freshOS/Stevia

Xcode 10 & Swift 4.2

18 Sep 09:22
Compare
Choose a tag to compare
  • Migrates to Swift 4.2 πŸš€

Adds Support for baselines + bug fix

09 Sep 20:35
Compare
Choose a tag to compare
  • Adds support for baselines, kudos to @bellebethcooper for bringing this up πŸš€
align(lastBaselines: label, label2, label3)
label.FirstBaseline == label.LastBaseline

Adds centerXConstraint & centerYConstraint

09 Sep 11:00
Compare
Choose a tag to compare

This release adds centerXConstraint & centerYConstraint helpers.

Thanks to @Shadester for pointing this out πŸ‘

Xcode 9.3 & Swift 4.1

04 Apr 21:07
Compare
Choose a tag to compare

Supports Xcode 9.3 & Swift 4.1 πŸŽ‰

"==" operator now supports different view hierarchies!

09 Jan 14:38
Compare
Choose a tag to compare

1 - Different view hierarchies

Before the == wasn't working if views weren't on the same Z-index in the view hierarchy.
It was blind taking the first argument's superview.
Now the == operator is smart enough to grab the closest common ancestor πŸ€“

2 - Reflexivity

The way it was before, the == operator wasn't reflexive.
Meaning

view.Width == contentView.Width
contentView.Width == view.Width

were not generating the same constraint behind the hood.
Mathematically speaking this was quite misleading.

Thanks to fix we can write interchageably :

avatar.Top == photo.Top + 10
photo.Top + 10 == avatar.Top

3- Re-opening Layout([array]) overload

Some needed it for dynamic layout so it's back :)

UILayoutSupport & UILayoutGuide πŸ“

20 Nov 18:27
Compare
Choose a tag to compare

UILayoutSupport & UILayoutGuide are now supported in Equation base api !

It's time to clean the iPhone X support code :

button.bottomAnchor.constraint(equalTo: bottomLayoutGuide.topAnchor).isActive = true

into

button.Bottom == bottomLayoutGuide.Top

Happy coding πŸŽ‰

Swift4 and xcode9

29 Sep 08:48
Compare
Choose a tag to compare

Migrates to swift 4 \o/

Sizeable Orphan views + getters

14 Jun 12:51
Compare
Choose a tag to compare

Kudos to @trupin and @cowgp for this release πŸŽ‰

  • Size constraints such as width and height can now be added without the need for a superview.
  • New leadingConstraint & trailingConstraint property

πŸ‘ πŸ‘

tvOS Support

14 Jun 09:08
Compare
Choose a tag to compare

Stevia is now supported on tvOS πŸŽ‰πŸ“Ί

Built with Xcode 8.3.1

13 Apr 10:14
Compare
Choose a tag to compare