devxoul/Then
✨ Super sweet syntactic sugar for Swift initializers observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 71
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3905
- days_rel: n/a
- days_push: 176
- n_releases_24m: 0
Adoption not part of the score
4392 stars · 300 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Then is a tiny Swift library providing syntactic sugar for object initialization via then(), with(), and do() closure-based helpers. It works with any NSObject subclass or custom types conforming to the Then protocol.
Use cases
- initialize and configure swift objects in one expression
- reduce boilerplate when setting up uikit views
- copy and mutate value types concisely
- cleaner view controller property setup
- configure nsobject subclasses without temporary variables
When to choose
- you write lots of UIKit/SwiftUI-adjacent view setup code in Swift
- you want concise, readable initializer configuration
- you need a tiny dependency with no other requirements
When to avoid
- you don't write Swift
- you prefer explicit multi-line initialization or already use builder patterns
Facets
library · maturity stable
ui-components developer-tools programming-languages developer-tools mobile-development syntactic-sugar initializers cocoapods swift-package-manager swift ios macos
1 source
- readme: https://github.com/devxoul/Then · fetched 2026-08-28 · da742fc08d93
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| devxoul/Then | main | 55 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem