MyLayout is a simple and easy objective-c framework for iOS view layout. MyLayout provides some simple functions to build a variety of complex interface. It integrates the functions including Autolayout and SizeClass of iOS, five layout classes of Android, float and flex-box and bootstrap of HTML/CSS. The MyLayout's Swift version are named: TangramKit
Features
- There is a container view S which width is 100 and height is wrap to all subviews height. there are four subviews A,B,C,D arranged from top to bottom.
- Subview A's left margin is 20% width of S, right margin is 30% width of S, height is equal to width of A
- Subview B's left margin is 40, width is filled in to residual width of S,height is 40
- Subview C's width is filled in to S, height is 40
- Subview D's right margin is 20, width is 50% width of S, height is 40
- MyLayoutPos is represent to the position of a view
- UIView provides six extension variables:leftPos, topPos, bottomPos, rightPos, centerXPos, etc.
License
MIT LicenseFollow MyLayout
Other Useful Business Software
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of MyLayout!