dusty-commits/Closures
Swifty closures for UIKit and Foundation observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 3335
- days_rel: n/a
- days_push: 1952
- n_releases_24m: 0
Adoption not part of the score
1743 stars · 169 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Swift framework that adds closure-based handlers to popular UIKit and Foundation classes, replacing delegation, data source, and target-action patterns with concise closure syntax. It supports method chaining and covers controls, gesture recognizers, table/collection views, pickers, text fields, and KVO.
Use cases
- handle uibutton taps with closures instead of target-action
- replace uitableview delegate and datasource with closure handlers
- add gesture recognizers to views in one line
- configure uitextfield delegate callbacks using chained closures
- populate uipickerview with strings via closures
- observe kvo changes with closure handlers
When to choose
- you prefer closure-based APIs over delegation patterns in iOS development
- you want concise, chainable syntax for common UIKit callbacks
- you want to reduce boilerplate for table views, collection views, and controls
When to avoid
- your project targets newer Swift/UIKit versions and needs actively maintained dependencies
- your team follows strict delegation-based architecture conventions
- you need SwiftUI-first solutions rather than UIKit extensions
Facets
library · maturity maintenance
ui-components developer-tools mobile-development frontend developer-tools closures uikit foundation delegation target-action cocoapods carthage swift-extensions ios swift mobile
1 source
- readme: https://github.com/dusty-commits/Closures · fetched 2026-08-28 · ff2a566bcb63
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dusty-commits/Closures | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="dusty-commits/Closures")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem