What is EasyPeasy?

EasyPeasy is a Swift framework that lets you create Auto Layout constraints programmatically without headaches and never ending boilerplate code. Besides the basics, EasyPeasy resolves most of the constraint conflicts for you and also can attach to a constraint conditional closures that are evaluated before applying a constraint, this way you can install an Auto Layout constraint depending on platform, size classes, orientation… or the state of your controller, easy peasy!

In this quick tour through EasyPeasy we assume that you already know the advantages and disadvantages of the different Auto Layout APIs and therefore you won’t see here a comparison of the code side by side, just read and decide whether EasyPeasy is for you or not.

Features:

  • Compatible with iOS, tvOS and OS X.
  • Lightweight and easy to use domain specific language.
  • Resolution of Auto Layout conflicts.
  • Fast and hassle-free update of constraints.
  • Conditional application of constraints.
  • UILayoutGuide and NSLayoutGuide support.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/nakiostudio/EasyPeasy
  • Resource Maker: Carlos Vidal
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • iOS Versions Supported: iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
  • CocoaPods: EasyPeasy
  • Carthage: nakiostudio/EasyPeasy