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
640
From Web2 to Web3. A developer story.
fassko
0
970
A journey from Swift to Solidity
fassko
0
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.2k
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
リーダーになったら未来を語れるようになろう/Speak the Future
sanogemaru
0
280
PLaMo2シリーズのvLLM実装 / PFN LLM セミナー
pfn
PRO
2
970
BtoBプロダクト開発の深層
16bitidol
0
270
Findy Team+のSOC2取得までの道のり
rvirus0817
0
330
SwiftUIのGeometryReaderとScrollViewを基礎から応用まで学び直す:設計と活用事例
fumiyasac0921
0
140
AI時代だからこそ考える、僕らが本当につくりたいスクラムチーム / A Scrum Team we really want to create in this AI era
takaking22
6
3.4k
生成AIとM5Stack / M5 Japan Tour 2025 Autumn 東京
you
PRO
0
210
OCI Network Firewall 概要
oracle4engineer
PRO
1
7.8k
o11yで育てる、強い内製開発組織
_awache
3
120
AWSにおけるTrend Vision Oneの効果について
shimak
0
120
PLaMoの事後学習を支える技術 / PFN LLMセミナー
pfn
PRO
9
3.8k
Function calling機能をPLaMo2に実装するには / PFN LLMセミナー
pfn
PRO
0
910
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Practical Orchestrator
shlominoach
190
11k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
4 Signs Your Business is Dying
shpigford
185
22k
Building Applications with DynamoDB
mza
96
6.6k
It's Worth the Effort
3n
187
28k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
890
GitHub's CSS Performance
jonrohan
1032
460k
Scaling GitHub
holman
463
140k
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