For reference, here’s a list of links to my two series of posts on RxSwift and Combine. There’s nothing new today, but it occurred to me that I didn’t have a good summary page that others can link to.
RxSwift Primer
In late 2016, I walked through how to write an extremely basic app using RxSwift. We start by writing the app traditionally/procedurally, and then migrate it to being written using RxSwift.
- RxSwift Primer: Part 1
An overview of what RxSwift is and what problems it’s trying to solve. - RxSwift Primer: Part 2
Introducing the app we’ll be migrating, and some basic concepts of RxSwift. - RxSwift Pimer: Part 3
Eliminating the state in our app by usingscan()
. - RxSwift Pimer: Part 4
Tying data to the user interface usingDriver
. - RxSwift Pimer: Part 5
Architectural changes and unit testing.
Combine vs. RxSwift
In June of this year, I did a deeper dive on how functional reactive programming came to be, why one would want to use it, and how RxSwift and Combine take slightly different approaches to solving the same problems.
- Building Up to Combine
Let’s create the idea of anObservable
/Publisher
from scratch. - RxSwift Quick Overview
Exploring the projects that exist in and around RxSwift. - Combine: Where’s the Beef?
Where are theUIKit
bindings in Combine? - Quick Notes on Yesterday’s Post
Does KVO make Combine easier to use? - Error Handling Approaches
RxSwift and Combine take very different approaches to handling errors. - Under Pressure
Combine handles the concept of backpressure, whereas RxSwift mostly doesn’t.