Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
RxSwift
Search
Kristaps Grinbergs
February 08, 2018
Technology
0
71
RxSwift
Using RxSwift in real life applications. How to start and what are the pros and cons.
Kristaps Grinbergs
February 08, 2018
Tweet
Share
More Decks by Kristaps Grinbergs
See All by Kristaps Grinbergs
Decoding Smart Contracts: From Creation to NFT Integration
fassko
0
650
From Web2 to Web3. A developer story.
fassko
0
980
A journey from Swift to Solidity
fassko
0
1.1k
A journey into the SwiftUI world - Tech Stash by Mintos
fassko
0
1.2k
How to use SwiftUI for rapid development
fassko
0
1.3k
We need to talk about Websockets
fassko
0
2.6k
How to tame Core Animation
fassko
0
1.7k
The A - Z Guide Of iOS App Development
fassko
1
1.6k
RxSwift Xcoders Riga meetup
fassko
0
1.6k
Other Decks in Technology
See All in Technology
ViteとTypeScriptのProject Referencesで 大規模モノレポのUIカタログのリリースサイクルを高速化する
shuta13
3
210
Dify on AWS 環境構築手順
yosse95ai
0
140
オブザーバビリティが育むシステム理解と好奇心
maruloop
2
1.3k
コンパウンド組織のCRE #cre_meetup
layerx
PRO
1
270
OSSで50の競合と戦うためにやったこと
yamadashy
3
1k
QA業務を変える(!?)AIを併用した不具合分析の実践
ma2ri
0
150
頭部ふわふわ浄酔器
uyupun
0
110
SCONE - 動画配信の帯域を最適化する新プロトコル
kazuho
1
390
Zero Trust DNS でより安全なインターネット アクセス
murachiakira
0
100
Behind Postgres 18: The People, the Code, & the Invisible Work | Claire Giordano | PGConfEU 2025
clairegiordano
0
140
DSPy入門
tomehirata
0
170
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
0
370
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Building Adaptive Systems
keathley
44
2.8k
Six Lessons from altMBA
skipperchong
29
4k
A better future with KSS
kneath
239
18k
For a Future-Friendly Web
brad_frost
180
10k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Navigating Team Friction
lara
190
15k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
We Have a Design System, Now What?
morganepeng
53
7.8k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Transcript
RxSwift Introduction to reactive programming Kristaps Grinbergs @fassko
None
Imperative programming • Saved state • Order of execution •
Side effects
In computing, reactive programming is a programming paradigm oriented around
data flows and the propagation of change. Wikipedia
Reactive programming is programming with asynchronous data streams
Reactive programming • Asynchronous • No saved state • Functional
• Responsive
ReactiveX An API for asynchronous programming with observable streams. •
Microsoft (Rx.NET) - 2009 • Many languages • RxSwift - 2015
Rx components • Observable • Observers • Schedulers
None
None
None
Observables Next Completed Error
Operators Filtering Transforming Combining
None
None
RxMarbles
None
UI bindings RxCocoa
None
Rx extensions Almost for everything
+ Agile and reusable code Thread safety Eliminate state from
code Testing Well tested, with large community and extensions
- Steep learning curve Change previous practices Debugging Over-reactive
None
None