Stevia CocoaPods

:leaves: Elegant Autolayout DSL for iOS

Stevia

Stevia

Language: Swift2 and 3 Platform: iOS 8+ Carthage compatible CocoaPods compatible Build Status Join the chat at https://gitter.im/s4cha/Stevia License: MIT [Release version]()

Reason - Example - Live Reload - Installation - Documentation

Visual Layout Api

layout(
    100,
    |-email-| ~ 80,
    8,
    |-password-forgot-| ~ 80,
    >=20,
    |login| ~ 80,
    0
)

Chainable Api

email.top(100).left(8).right(8).width(200).height(44)
alignHorizontally(password, forgot)
image.fillContainer()
button.centerInContainer().size(50%)
equalWidths(email, password)
image.width(>=80)

Equation-Based Api

email.Top == 100
password.CenterY == forgot.CenterY
login.Top >= password.Bottom + 20
login.Width == 75 % Width

All Generate native NSLayoutConstraints

Related Repositories

awesome-swift

awesome-swift

A collaborative list of awesome swift resources. Feel free to contribute! ...

weight-loss

weight-loss

Machine Learning meets ketosis: how to effectively lose weight ...

proxy-fun

proxy-fun

For learning how to use JavaScript Proxy, or just to see what is possible ...

ws

ws

Networking Library for Swift :cloud: ...

trending-repositories

trending-repositories

:star: That are list of repositories that was trending for a day ...


Top Contributors

s4cha YannickDot 0x7fffffff tmcw waternotwords orta PhilipTrauner pjambet sai-prasanna gitter-badger szotp liberty4me

Releases

-   v1.1.0 zip tar
-   v.1.0 zip tar
-   v0.3 zip tar
-   v0.2.1 zip tar
-   v0.2 zip tar
-   v0.1 zip tar
-   3.0.1 zip tar
-   3.0.0 zip tar
-   2.3.0 zip tar
-   2.2.1 zip tar
-   2.2.0 zip tar
-   2.1.3 zip tar
-   2.1.2 zip tar
-   2.1.1 zip tar
-   2.1.0 zip tar
-   2.0.1 zip tar
-   2.0.0 zip tar
-   1.1.1 zip tar