Stevia v4.2.0 Release Notes

Release Date: 2018-01-09 // over 6 years ago
  • 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.WidthcontentView.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 + 10photo.Top + 10 == avatar.Top
    

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

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