robb/Cartography
A declarative Auto Layout DSL for Swift :iphone::triangular_ruler: observed · 2026-08-28
Health v2 · maintenance only
41/100
- Activity 40
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4460
- days_rel: n/a
- days_push: 362
- n_releases_24m: 0
Adoption not part of the score
7325 stars · 527 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Cartography is a declarative DSL for building Auto Layout constraints in Swift, replacing verbose NSLayoutConstraint code with concise operator-based syntax. It supports iOS and macOS views, constraint groups, and constraint replacement.
Use cases
- lay out iOS views with Auto Layout in declarative Swift code
- replace verbose NSLayoutConstraint boilerplate with readable constraints
- animate view layout changes by replacing constraint groups
- define constraints between UIKit or AppKit views using operators
When to choose
- you build UIKit/AppKit interfaces in Swift and want concise, type-safe Auto Layout code
- you prefer operator-based constraint DSLs over Interface Builder or raw NSLayoutConstraint
When to avoid
- you use SwiftUI or programmatic layoutAnchor APIs which cover most needs natively
- you need a library under a standard permissive license or with very active development
Facets
library · maturity maintenance
ui-components developer-tools mobile-development cross-platform auto-layout dsl constraints uikit swift ios macos mobile
1 source
- readme: https://github.com/robb/Cartography · fetched 2026-08-28 · 87f46191556c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| robb/Cartography | main | 41 |
For agents
markdown · JSON · MCP: product_card(name="robb/Cartography")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem