chiahsien/CHTCollectionViewWaterfallLayout
The waterfall (i.e., Pinterest-like) layout for UICollectionView. observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 72
- Release rhythm 75
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 5032
- days_rel: 168
- days_push: 168
- n_releases_24m: 2
Adoption not part of the score
4614 stars · 688 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A UICollectionViewLayout subclass for iOS/tvOS that arranges collection view items in a Pinterest-like waterfall (masonry) layout. It mimics UICollectionViewFlowLayout's API, supports headers/footers, per-section column counts, and handles 10,000+ items smoothly.
Use cases
- build a Pinterest-style image grid in an iOS app
- display variable-height cards in a masonry layout with UICollectionView
- show different column counts per section in a collection view
- add header and footer views to a waterfall layout
- render thousands of items in a waterfall grid with smooth scrolling
When to choose
- you need a Pinterest/masonry waterfall layout on iOS or tvOS
- you want a drop-in UICollectionViewLayout subclass with a familiar flow-layout-like API
- you need per-section column counts, headers, and footers
- you need both Swift and Objective-C implementations with SPM/CocoaPods support
When to avoid
- you are not building with UIKit UICollectionView (e.g., SwiftUI-only without UIKit interop)
- you need a uniform grid where UICollectionViewFlowLayout suffices
- you target iOS versions below 13
- you need cross-platform (Android/web) masonry layouts
Facets
library · maturity stable
ui-components animation mobile-development frontend web-design uicollectionview uicollectionviewlayout waterfall-layout pinterest-style objective-c swift-package-manager cocoapods ios mobile swift
1 source
- readme: https://github.com/chiahsien/CHTCollectionViewWaterfallLayout · fetched 2026-08-28 · a28f41cc3dd8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| chiahsien/CHTCollectionViewWaterfallLayout | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="chiahsien/CHTCollectionViewWaterfallLayout")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem