slazyk/Observable-Swift
KVO for Swift - Value Observing and Events observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 4456
- days_rel: n/a
- days_push: 2716
- n_releases_24m: 0
Adoption not part of the score
1224 stars · 114 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Observable-Swift is a Swift library providing explicit value observing via Observable<T> and subscribable events via Event<T>, inspired by Objective-C's KVO. It supports chained observables, before/after change handlers, multiple handlers, and observer lifetime management using closures and generics.
Use cases
- observe value changes on Swift variables with closures
- implement KVO-like observing in Swift without Objective-C keys
- subscribe to custom events with Event<T>
- chain observables for key-path-style observation
- add multiple change handlers and tie them to observer lifetime
When to avoid
- you need Combine, RxSwift, or full reactive streams with operators
- your project requires actively maintained libraries with recent Swift version support
- you rely on implicit KVO of arbitrary object properties
Facets
library · maturity maintenance
state-management developer-tools mobile-development programming-languages developer-tools kvo value-observing events reactive closures swift-framework swift apple-ecosystem ios macos
1 source
- readme: https://github.com/slazyk/Observable-Swift · fetched 2026-08-28 · 370428f858e7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| slazyk/Observable-Swift | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="slazyk/Observable-Swift")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem