el-hoshino / NotAutoLayout

Layout your views without Auto Layout constraints, in a much more swifty way.
http://qiita.com/lovee/items/7454c9f27638a8e471fa
Apache License 2.0
179 stars 8 forks source link

Use `LayoutGuide`s inside `ViewFrameProperty` instead of tons of properties #66

Closed el-hoshino closed 6 years ago

el-hoshino commented 6 years ago

There're too many properties in ViewFrameProperty which is difficult to cover all of them. Create a new LayoutGuide struct and just store boundsGuide layoutMarginsGuide safeAreaGuide readableContentGuide

el-hoshino commented 6 years ago

Also rename ViewFrameProperty to ViewLayoutProperty

el-hoshino commented 6 years ago

Closed by #70