# mischa-hildebrand/AlignedCollectionViewFlowLayout

A collection view layout that gives you control over the horizontal and vertical alignment of the cells.

Repository: https://github.com/mischa-hildebrand/AlignedCollectionViewFlowLayout
Canonical: https://ross.abutalabs.com/products/alignedcollectionviewflowlayout
Language: Swift
License: MIT
License Family: permissive
Topics: ios, uicollectionview, uicollectionviewflowlayout, uicollectionviewlayout, alignment, swift, uikit
Last push: 2025-03-14T14:41:18+00:00

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

## Adoption (not part of the score)
Stars 1424, forks 207 (observed 2026-08-28T04:04:41.348650+00:00)

## What it is
A Swift UICollectionViewFlowLayout subclass for iOS that lets developers control horizontal and vertical alignment of collection view cells, aligning them like words in left- or right-aligned text. It behaves like Apple's standard flow layout and is well suited for tag views and similar simple layouts.

## Use cases
- align collection view cells like left- or right-aligned text
- build a tag cloud or tag view in iOS
- vertically align cells within their rows in a collection view
- create justified cell layouts in UICollectionView
- support leading/trailing alignment for RTL languages
- customize UICollectionViewFlowLayout cell alignment

## When to choose
- you need text-like horizontal or vertical alignment of collection view cells
- you are building a tag view with a limited number of simple items
- you want a drop-in subclass that behaves like UICollectionViewFlowLayout

## When to avoid
- you display a very large number of items or complex cell layouts, since scrolling may become laggy
- you only need the default centered flow layout behavior
- your project does not use UIKit or Swift on iOS

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, frontend-framework
- domain: mobile-development, web-design
- platform: -
- tags: uicollectionview, uikit, flow-layout, cell-alignment, tag-view, cocoapods, ios, swift, mobile

## Member repositories
- mischa-hildebrand/AlignedCollectionViewFlowLayout (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:41.348650+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:37:35.821825+00:00, confidence not recorded.
  - readme: https://github.com/mischa-hildebrand/AlignedCollectionViewFlowLayout (fetched 2026-08-28T04:04:41.348650+00:00, sha ddc5f36eb409)
- Data as of 2026-08-30T08:39:29.467469+00:00.
