# floriankugler/FLKAutoLayout

UIView category which makes it easy to create layout constraints in code

Repository: https://github.com/floriankugler/FLKAutoLayout
Canonical: https://ross.abutalabs.com/products/flkautolayout
Language: Objective-C
License: MIT
License Family: permissive
Last push: 2021-01-13T15:33:14+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4908, "days_push": 2058, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1482, forks 114 (observed 2026-08-28T04:04:51.107304+00:00)

## What it is
FLKAutoLayout is a collection of Objective-C categories on UIView that simplify creating Auto Layout constraints programmatically. It offers a readable syntax with convenience methods for simple and complex constraints, automatically adding them to the nearest common superview.

## Use cases
- create autolayout constraints in code instead of interface builder
- align multiple views in a grid programmatically
- space out views vertically with fixed padding
- set up view constraints with readable objective-c syntax
- align baselines of labels and text fields
- constrain view width and height ranges in code

## When to choose
- you build iOS UIs in Objective-C entirely in code without storyboards
- you want a lightweight, readable wrapper around NSLayoutConstraint
- you need convenience methods for aligning groups of views

## When to avoid
- you use Swift and prefer modern alternatives like SnapKit
- you build layouts with Interface Builder or SwiftUI
- you need a library under active development

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components
- domain: mobile-development, developer-tools
- platform: -
- tags: autolayout, objective-c, uiview, layout-constraints, cocoa-touch, ios, mobile

## Member repositories
- floriankugler/FLKAutoLayout (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:51.107304+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:34:06.875028+00:00, confidence not recorded.
  - readme: https://github.com/floriankugler/FLKAutoLayout (fetched 2026-08-28T04:04:51.107304+00:00, sha b7d27e4d642c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
