# nakiostudio/EasyPeasy

Auto Layout made easy

Repository: https://github.com/nakiostudio/EasyPeasy
Canonical: https://ross.abutalabs.com/products/easypeasy
Language: Swift
License: MIT
License Family: permissive
Topics: constraints, auto, layout, auto-layout, swift, ios, easypeasy
Last push: 2022-03-17T09:33:24+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3813, "days_push": 1630, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1930, forks 116 (observed 2026-08-28T04:05:56.048047+00:00)

## What it is
EasyPeasy is a Swift framework that simplifies creating Auto Layout constraints programmatically with a lightweight DSL. It resolves constraint conflicts automatically and supports conditional constraint application based on platform, size classes, or controller state.

## Use cases
- create auto layout constraints in swift without boilerplate
- programmatically lay out ios views
- resolve auto layout constraint conflicts
- apply constraints conditionally by size class or orientation
- replace storyboard constraints with code

## When to choose
- you build UIKit apps in Swift and prefer code-based layout
- you want a lightweight DSL over NSLayoutConstraint boilerplate
- you need conditional constraints based on traits or state

## When to avoid
- you use SwiftUI instead of UIKit
- you prefer SnapKit or another more actively maintained layout DSL
- you rely on Interface Builder storyboards for layout

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, developer-tools
- domain: mobile-development, frontend
- platform: -
- tags: auto-layout, constraints, dsl, cocoapods, carthage, tvos, uikit, ios, swift, macos, mobile

## Member repositories
- nakiostudio/EasyPeasy (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:56.048047+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:08:47.899276+00:00, confidence not recorded.
  - readme: https://github.com/nakiostudio/EasyPeasy (fetched 2026-08-28T04:05:56.048047+00:00, sha 1c0bfa8eeb06)
- Data as of 2026-08-30T08:39:29.467469+00:00.
