square / Paralayout

Paralayout is a set of simple, useful, and straightforward utilities that enable pixel-perfect layout in iOS. Your designers will love you.
https://medium.com/square-corner-blog/introducing-paralayout-d5ac09e93fb0
Apache License 2.0
790 stars 34 forks source link

Layers should also be alignable and distributable #131

Open NickEntin opened 4 months ago

NickEntin commented 4 months ago

It's common to use layers directly in view alignment or distribution, particularly for layer types that don't have an equivalent view, such as CAGradientLayer or CAShapeLayer. We should make the alignment and distribution abstractions support layers in addition to views.