FluidGroup / MondrianLayout

🏗 A way to build AutoLayout rapidly than using InterfaceBuilder(XIB, Storyboard) in iOS.
https://medium.com/geekculture/describing-autolayout-with-imaginable-how-it-lays-out-programmatically-mondrianlayout-71efe82f3149
MIT License
168 stars 11 forks source link

Introduce descriptor for multiplied constraints #45

Closed muukii closed 3 years ago

muukii commented 3 years ago

still under the consideration of the syntax.

a.width(.toSuperview.width, multiplier: 1)

a.width(.to(b).width, multiplier: 1)

a.width(.to(b).width, .exact(10), multiplier: 1)
muukii commented 3 years ago

https://github.com/muukii/MondrianLayout/issues/44