Skip to content

kaizeiyimi/XAutoLayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published