Skip to content

About

swift only. Simplify writing AutoLayout in code

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

44 Commits

Folders and files

Repository files navigation

XAutoLayout

uses some swift amazing feature, provides a very short and clear way to make constraints in code.

XCode 10.2 and swift 5

3.2 updated to swift5.

Latest version

current latest version is 3.2.

Quick look

you must know what 'left.attr = right.attr * m + c' means for AutoLayout.

import XAutoLayout

// use `=/`` to make composite equal witch creates an array of NSLayoutConstraint
// TODO: add sample code

What's the matter of AutoLayout ?

The API is not friendly for developers. Too long and too complicated. wish XAutoLayout will make our lives easier.

About

swift only. Simplify writing AutoLayout in code

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages