RxSwift splits into five modules, and only RxSwift itself has no dependencies
Reactive Programming in Swift
At a glance
- What is it?
- RxSwift is the Swift implementation of Reactive Extensions, built around Observable streams. It ships as five modules, supports XCFrameworks and Carthage, and its last release is 6.10.2 from 2 March 2026.
- Who is it for?
- Adopt RxSwift if your iOS or macOS codebase already composes asynchronous work as Observable streams, or you need RxCocoa bindings to UIKit controls. Before adding it to a new project, read the project's own Combine and ReactiveSwift comparison page, and check the last release date against your Xcode and Swift toolchain, since the newest tag is 6.10.2 from 2 March 2026.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 13 days ago.
- What is it written in?
- Mainly Swift, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- ReactiveX/RxSwift24,624 ★ · -7
| Repository | 2026-10-08 | 2026-11-25 |
|---|---|---|
| ReactiveX/RxSwift | 24.6k | 24.6k |
-7 Stars in the last 48 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Observable<Element> is the single abstraction for KVO, UI events and async work
RxSwift is the Swift implementation of the Reactive Extensions standard. Its central type is Observable<Element>, which lets you broadcast and subscribe to values and other events from a stream. The project says KVO observation, async operations, UI events and other streams of data are all unified under the abstraction of a sequence.
The project aims to stay true to the original spirit and naming conventions of Rx while offering a Swift-first API. That means operator names you may know from other Rx ports appear here, and the cross-platform documentation lives on ReactiveX.io. The goal stated in the README is easy composition of asynchronous operations and streams of data, using Observable objects and a suite of methods to transform and combine them.
The cost of one abstraction for everything is that every asynchronous source you adopt has to be wrapped as an Observable before it composes. The README links a Why page, a Getting Started page with a debugging section, a page on hot and cold observable sequences and a Tips page covering common errors.
Five modules depend on each other in a fixed shape
The README draws the structure as five components. RxSwift is the core and has no other dependencies. RxRelay depends on RxSwift and provides PublishRelay, BehaviorRelay and ReplayRelay, three simple wrappers around Subjects. RxCocoa depends on both RxSwift and RxRelay and provides Cocoa-specific capabilities for iOS, macOS, watchOS and tvOS, such as Shared Sequences and Traits. RxTest and RxBlocking both depend on RxSwift and provide testing capabilities.
This matters when you pick what to link. A view model that only needs streams can depend on RxSwift alone. Anything that binds to UIKit controls needs RxCocoa, and that pulls in RxRelay as well. Test targets add RxTest or RxBlocking without touching your app target.
The README's Traits page explains why Single, Completable, Maybe, Driver and ControlProperty exist. The repository has matching top-level directories: RxSwift, RxCocoa, RxRelay, RxTest, RxBlocking and RxExample.
The README example debounces a search bar with throttle and flatMapLatest
The usage example defines a GitHub repository search from searchBar.rx.text.orEmpty. It applies throttle with 300 milliseconds on MainScheduler.instance, then distinctUntilChanged, then flatMapLatest. Inside flatMapLatest an empty query returns .just([]), and otherwise it calls searchGitHub(query) with catchAndReturn([]). The chain ends with observe(on: MainScheduler.instance).
A second snippet binds the results to a table view using tableView.rx.items(cellIdentifier: "Cell") and finishes with disposed(by: disposeBag). Subscriptions in RxSwift live as long as their dispose bag, so the bag has to be owned by something with the right lifetime.
Two behaviors are worth reading closely. flatMapLatest drops the previous in-flight search when a new query arrives. catchAndReturn([]) converts a failure into an empty result, which keeps the stream alive but hides the error from the table. If you want users to see failures, you need a different handling than the one in the example.
Installation covers XCFrameworks, Carthage and a manual build, with a stale-looking pin
The README says RxSwift has no external dependencies and lists the supported options. Manual means opening Rx.xcworkspace, choosing RxExample and running it, which builds everything and starts the sample app. Each release starting with RxSwift 6 includes *.xcframework binaries, which you drag into the Frameworks, Libraries, and Embedded Content section of your target's General tab. The XCFrameworks are signed with an Apple Developer account, and the Team Name to verify is Shai Mishali.
For Carthage, add a line to the Cartfile and run the update:
github "ReactiveX/RxSwift" "6.10.0"$ carthage updateThe pinned version in that Cartfile snippet is 6.10.0, while the newest tags are 6.10.1 and 6.10.2. Copying the snippet as written gives you the older release, so change the number if you want the latest. Carthage builds a Dynamic Library by default, and the README has a separate section for building as a Static Library.
The repository root also has Package.swift and [email protected], and the README badges mention Swift Package Manager. For Swift Package Manager and the other options, follow the installation section of the README.
Is RxSwift dead? Pushes continue, but tagged releases have slowed
The repository is not archived. The last push was on 4 September 2026. The three newest releases are 6.10.2 (codename Kawazoi.2) on 2 March 2026, 6.10.1 on 27 January 2026 and 6.10.0 on 22 January 2026. There is no release after 2 March 2026, so anything pushed between that tag and the last push on 4 September 2026 is only on the main branch.
For a team, this means two things. A release pinned to 6.10.2 is stable but misses anything merged since March. Tracking main gets the newer work without a tag to reference, which makes builds harder to reproduce.
The repository carries Swift tooling files such as .swift-version, .swiftformat and .swiftlint.yml, and a Makefile with a single format target that runs swiftformat through mise. The project is MIT licensed, has a Slack channel at slack.rxswift.org, and links a comparison document against Combine and ReactiveSwift for anyone choosing between the three. That comparison page is the right next read before a new project.
Editorial conclusion
Adopt RxSwift if your iOS or macOS codebase already composes asynchronous work as Observable streams, or you need RxCocoa bindings to UIKit controls. Before adding it to a new project, read the project's own Combine and ReactiveSwift comparison page, and check the last release date against your Xcode and Swift toolchain, since the newest tag is 6.10.2 from 2 March 2026.
Frequently asked questions
What is RxSwift used for?
RxSwift composes asynchronous operations and streams of data, such as KVO, UI events and network results, as Observable sequences with methods to transform and combine them.
Is RxSwift dead?
The repository is not archived and was last pushed on 4 September 2026. The newest release is 6.10.2 from 2 March 2026.
RxSwift subject vs relay?
RxRelay provides PublishRelay, BehaviorRelay and ReplayRelay, which the project describes as three simple wrappers around Subjects. RxRelay depends on RxSwift.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/reactivex-rxswift)Star history chart for your README
[](https://hysenlabs.com/projects/reactivex-rxswift)Was this useful?