# forkingdog/UIView-FDCollapsibleConstraints

Builds to collapse a view and its relevant layout constraints, simulating a "Flow Layout" mode

Repository: https://github.com/forkingdog/UIView-FDCollapsibleConstraints
Canonical: https://ross.abutalabs.com/products/uiview-fdcollapsibleconstraints
Language: Objective-C
License: MIT
License Family: permissive
Last push: 2016-04-04T02:15:32+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4159, "days_push": 3804, "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 1074, forks 161 (observed 2026-08-28T04:03:29.025304+00:00)

## What it is
An Objective-C UIKit category that collapses a UIView and its related Auto Layout constraints to simulate a flow-layout effect. It supports Interface Builder wiring via IBOutletCollection and auto-collapsing views like UILabel or UIImageView when their content becomes empty.

## Use cases
- collapse a view and its margins in an Auto Layout stack
- hide empty labels or image views in table view cells automatically
- simulate flow layout behavior for dynamic cell content
- toggle view visibility while keeping layout clean in Interface Builder
- remove spacing constraints when a component has no content

## When to choose
- you maintain a legacy Objective-C iOS codebase using Auto Layout
- you need Interface Builder-friendly collapsing of views and constraints
- you want views to auto-collapse when their content is empty

## When to avoid
- you use SwiftUI or modern UIKit stack views, which handle this natively
- you need an actively maintained library
- your project is in Swift and you prefer Swift-native solutions

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, animation
- domain: mobile-development, frontend
- platform: -
- tags: objective-c, autolayout, uikit, interface-builder, cocoapods, ios, mobile

## Member repositories
- forkingdog/UIView-FDCollapsibleConstraints (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.025304+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-30T06:53:31.132797+00:00, confidence not recorded.
  - readme: https://github.com/forkingdog/UIView-FDCollapsibleConstraints (fetched 2026-08-28T04:03:29.025304+00:00, sha 7e0df099403a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
