4 ms·
Betteridge's law definitely applies here. https://github.com/PureLayout/PureLayout https://github.com/PureLayout/PureLayout PureLayout is a fantastic library
by gorena 11y ago
Betteridge's law definitely applies here.
https://github.com/PureLayout/PureLayout https://github.com/PureLayout/PureLayout
PureLayout is a fantastic library for layout on iOS. There's no weird operator overloading, or semantically odd DSLs. It just feels like Cocoa. It's very much "the missing autolayout API".
Everything just returns layout constraints, so if you need to alter the priority or activeness, just use whatever method you choose (i.e. ReactiveCocoa). Unlike IB, it's type safe, and fully annotated for Swift.
- wille92 11y agoNever seen this library before but it looks very cool. Could be a great middle ground between laying out views with visual format and storyboards.
- jimbokun 11y agoIncludes a cool breakdown of the Pros and Cons of the various options being discussed here: https://github.com/PureLayout/PureLayout#purelayout-vs-the-rest https://github.com/PureLayout/PureLayout#purelayout-vs-the-r...