1 - Different view hierarchies
==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.
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 :)
- 👍 UILayoutSupport & UILayoutGuide are now supported in Equation base api.
- Built with Xcode 8.3.1