Skip to content
No description, website, or topics provided.
Swift Ruby
Branch: master
Clone or download
Latest commit a205364 Nov 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example Initial commit Nov 12, 2019
SuperEasyLayout
.gitignore Initial commit Nov 12, 2019
.travis.yml Initial commit Nov 12, 2019
LICENSE Initial commit Nov 12, 2019
README.md Initial commit Nov 12, 2019
SuperEasyLayout.podspec
_Pods.xcodeproj Initial commit Nov 12, 2019

README.md

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

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

pod 'SuperEasyLayout'

Author

doil6317, doil6317@gmail.com

License

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

You can’t perform that action at this time.