motion-layout
motion-layout copied to clipboard
A nice way to use iOS6+ autolayout in your RubyMotion app. Use ASCII-art inspired format strings to build your app's layout!
Is anyone interested in becoming the maintainer of this repo? There's several who have submitted PRs and my app that uses motion-layout doesn't need most of them. I'd rather just...
This patch allow user to set options in `NSLayoutConstraint#constraintsWithVisualFormat:options:metrics:views:` with simple symbol (like `:left`, `:right`, `:trailing`... etc), and by default use option 0 (same as that in `NSLayoutConstraint#constraintsWithVisualFormat:options:metrics:views:`). This patch...
Assuming that we always want to use NSLayoutFormatAlignAllCenterX/Y causes certain layouts to become impossible to create. This minor change adds the ability to optionally pass the options for each constraint...
Yet another way of setting options (turns out I'm not the only one needing this). My approach allows for string/symbol shortcuts for option names. Oh, and no, I'm not going...
It would be nice if we could hook into the constraints that motion-layout sets for us, so we can remove them in case this is appropriate. Is there something like...