# smileyborg/UIView-AutoLayout

Deprecated in favor of PureLayout, which includes OS X support:

Repository: https://github.com/smileyborg/UIView-AutoLayout
Canonical: https://ross.abutalabs.com/products/uiview-autolayout
Homepage: https://github.com/PureLayout/PureLayout
Language: Objective-C
License: NOASSERTION
License Family: other
Last push: 2014-06-23T00:45:03+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": 4764, "days_push": 4455, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1434, forks 195 (observed 2026-08-28T04:04:43.353525+00:00)

## What it is
UIView+AutoLayout is an Objective-C category library providing a simple, developer-friendly API for iOS Auto Layout constraints. It is deprecated in favor of PureLayout, its successor with OS X support.

## Use cases
- create auto layout constraints in code for iOS views
- pin views to superview edges with insets
- center and align views programmatically
- distribute views along an axis with fixed spacing
- set view dimensions and content priorities in code

## When to choose
- maintaining a legacy iOS codebase already using UIView+AutoLayout
- targeting iOS 6/7 where the successor's newer features are unnecessary

## When to avoid
- starting a new iOS or OS X project - use PureLayout instead
- writing Swift-first code where newer layout DSLs like SnapKit may fit better

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, developer-tools
- domain: mobile-development, cross-platform
- platform: -
- tags: auto-layout, objective-c, deprecated, uikit, constraints, ios, mobile

## Member repositories
- smileyborg/UIView-AutoLayout (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.353525+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-30T04:36:55.726820+00:00, confidence not recorded.
  - readme: https://github.com/smileyborg/UIView-AutoLayout (fetched 2026-08-28T04:04:43.353525+00:00, sha 9d5cc0df2d4a)
  - homepage: https://github.com/PureLayout/PureLayout (fetched 2026-08-29T11:47:54.954388+00:00, sha c74803bfa00b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
