Constrictor

Constrictor

Constrict your Auto Layout code with Constrictor, your chainable sugar.

Constrict (/ˈkənˈstrɪkt/), verb

“… to make something become tighter and narrower:”

Presentation

Build Status codecov CocoaPods Carthage compatible GitHub contributors apm

  • Compatible with Auto Layout
  • Concise and chainable syntax
  • Automatically sets translateAutoresizingMaskIntoConstraints
  • Constraints are active by default
  • Easily update constraints
  • Allows setting priority upon creation

Installation

CocoaPods

Constrictor’s available through CocoaPods. To do so, add the following line to your PodFile:

pod 'Constrictor'

And then run the following command in terminal:

pod install

Carthage

Add this to your Cartfile:

github "pedrommcarrasco/Constrictor"

And then run the following command in terminal:

carthage update