finds.dev

ReactiveX/RxSwift

Reactive Programming in Swift

View on GitHub

★ 24,631SwiftMITupdated Sep 2026

// the take

RxSwift is the Swift implementation of ReactiveX — Observable streams, operators, and schedulers for composing async and event-based code. It's aimed at iOS/macOS developers who need to unify callbacks, KVO, and UI events into one pattern, especially in UIKit codebases predating SwiftUI's native state management.

The Traits layer (Driver, Signal, Single, Completable, Maybe) adds real compile-time guarantees about error behavior and main-thread delivery on top of bare Observable — this is a genuine improvement over raw Rx and prevents a class of bugs other Rx ports leave to runtime. RxCocoa's DelegateProxy pattern wires UIKit/AppKit controls (table views, buttons, text fields) into the reactive graph without subclassing, cutting a lot of UIKit boilerplate. The module split (RxSwift core has zero dependencies; RxCocoa/RxRelay/RxTest/RxBlocking are separate) means you can pull in just the Observable abstraction without the UI machinery. Test support via RxTest's marble-diagram scheduler is a legitimate way to assert timing-sensitive stream behavior deterministically.

Swift's own async/await and AsyncSequence have absorbed most of the use case this library was built for, so for new projects it's increasingly a legacy choice rather than a default — teams adopting it now are usually maintaining existing codebases, not starting fresh. The operator-chain mental model has a real onboarding cost; the project's own docs ship dedicated "Tips" and "Warnings" pages because footguns (unexpected retain cycles via closures, scheduler mismatches, double subscription side effects) are common enough to need a cheat sheet. Debugging is painful in practice — a crash or bad value three operators deep in a chain gives you a stack trace through Rx internals, not your business logic. The README itself flags an unresolved Swift Package Manager cross-dependency bug (SR-12303) that's been open for years with a manual workaround, which is a bad sign for a dependency you're about to build a UI layer on top of.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
24,631
Forks
4,148
Language
Swift
License
MIT
Last commit
4 Sep 2026

// nearby

If RxSwift isn't quite it.

All repos →