/Neron

Swift DSL Auto Layout framework

Primary LanguageSwiftMIT LicenseMIT

Neron

Neron makes iOS Auto Layout easy.

Example

Usage example:

view.layout
    .add(to: self)
    .leading.equalTo(layoutMarginsGuide, .leading)
    .trailing.equalTo(layoutMarginsGuide, .trailing)
    .yAxis.center(with: guide)
    .height.equalTo(constant: 50)
    .activate()

License

Neron is shared under the MIT license. See the LICENSE for more info.