# LinkedInAttic/LayoutKit

LayoutKit is a fast view layout library for iOS, macOS, and tvOS.

Repository: https://github.com/LinkedInAttic/LayoutKit
Canonical: https://ross.abutalabs.com/products/layoutkit
Homepage: http://layoutkit.org
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift, tvos, ios, macos, linkedin, ui, layout-engine, layoutkit, objective-c
Archived: true
Last push: 2021-02-17T01:29:14+00:00

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

## Adoption (not part of the score)
Stars 3129, forks 262 (observed 2026-08-28T04:07:45.332904+00:00)

## What it is
LayoutKit is a fast, declarative view layout library for iOS, macOS, and tvOS, created by LinkedIn as a performant alternative to Auto Layout. It computes immutable, cacheable layouts asynchronously on background threads and integrates with UIKit views, UITableView, and UICollectionView.

## Use cases
- replace Auto Layout for faster view layout in scrollable views
- compute view layouts asynchronously on background threads
- build declarative immutable layout hierarchies in Swift
- cache precomputed layouts to improve scroll performance
- support right-to-left language layouts automatically
- efficiently lay out UITableView and UICollectionView cells

## When to choose
- you need maximum layout performance for complex scrollable view hierarchies on Apple platforms
- you prefer declarative, immutable layout code over Auto Layout constraints
- you want background-thread layout computation to keep the UI responsive

## When to avoid
- you need a maintained library - the project is explicitly unmaintained and no longer used by LinkedIn
- you are starting a new project where SwiftUI or modern Auto Layout tooling is sufficient
- you target platforms beyond iOS, macOS, and tvOS

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, animation
- domain: mobile-development, cross-platform, performance
- platform: -
- tags: layout-engine, auto-layout-alternative, uikit, swift, unmaintained, ios, macos

## Member repositories
- LinkedInAttic/LayoutKit (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:45.332904+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-30T07:26:17.413288+00:00, confidence not recorded.
  - readme: https://github.com/LinkedInAttic/LayoutKit (fetched 2026-08-28T04:07:45.332904+00:00, sha b0e5fa42482a)
  - homepage: http://layoutkit.org (fetched 2026-08-29T09:41:06.029454+00:00, sha 1df8d64bd1a1)
  - site_page: http://layoutkit.org/code-documentation (fetched 2026-08-29T09:41:06.038888+00:00, sha 0ed150ada445)
- Data as of 2026-08-30T08:39:29.467469+00:00.
