Skip to content

doil6317/SuperEasyLayout

Repository files navigation

SuperEasyLayout

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

let label = UILabel()
let button = UIButton()
view.addSubview(label)
view.addSubview(button)

label.left == view.left + 10.0
label.right <= view.right - 10.0
label.top == view.topMargin + 10.0
label.height == 20.0

button.centerX == view.centerX
button.width == view.width * 0.9
button.top == label.bottom + 20.0
button.height == 44.0

Requirements

Installation

Swift package

Cocoapods

SuperEasyLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SuperEasyLayout'

Author

doil6317, [email protected]

License

SuperEasyLayout is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published