Snap Layout

1pod

SnapLayout

SnapLayout

Concise API for iOS Auto Layout. SnapLayout extends UIView to deliver a list of APIs to improve readability while also shortening constraint code. Internally uses AutoLayout to provide the best experience. With SnapLayout, developers can remove boilerplate code but not at the cost of readability.

Imagine applying any or all of the following constraints in one line of code: top, leading, trailing, bottom, width, height, centerX, centerY. This is possible with SnapLayout.

License: MIT

  • Swift