layoutBox/PinLayout
Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer] observed · 2026-08-28
Health v2 · maintenance only
38/100
- Activity 33
- Release rhythm 8
- Longevity 100
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: 3474
- days_rel: 406
- days_push: 406
- n_releases_24m: 1
Adoption not part of the score
2434 stars · 148 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PinLayout is a Swift layout library for laying out UIView, NSView, and CALayer without Auto Layout, using concise, chainable, pure-code syntax. It supports iOS, tvOS, and macOS and offers fast, fully controlled frame-based layouting.
Use cases
- lay out iOS views in Swift without Auto Layout constraints
- replace storyboard constraints with readable chainable layout code
- position views relative to safe area or keyboard
- compute view sizes automatically with sizeToFit
- layout CALayer directly on macOS or iOS
- support right-to-left language layouts
When to choose
- you want maximum layout performance without constraint solving
- you prefer explicit frame-based layout code over Auto Layout
- you need a lightweight layout DSL for iOS, tvOS, or macOS views
When to avoid
- your project is heavily invested in Interface Builder and constraint-based Auto Layout
- you need reactive constraint updates that adapt automatically to size-class changes
- you are building for platforms outside Apple's ecosystem
Facets
library · maturity stable
ui-components developer-tools mobile-development frontend cross-platform swift layout auto-layout-alternative uiview calayer chainable-api cocoapods carthage swift-package-manager rtl-support ios macos
1 source
- readme: https://github.com/layoutBox/PinLayout · fetched 2026-08-28 · 415fe3069ca5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| layoutBox/PinLayout | main | 38 |
For agents
markdown · JSON · MCP: product_card(name="layoutBox/PinLayout")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem