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
62
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
380
From Web2 to Web3. A developer story.
fassko
0
670
A journey from Swift to Solidity
fassko
0
760
A journey into the SwiftUI world - Tech Stash by Mintos
fassko
0
930
How to use SwiftUI for rapid development
fassko
0
970
We need to talk about Websockets
fassko
0
2.2k
How to tame Core Animation
fassko
0
1.4k
The A - Z Guide Of iOS App Development
fassko
1
1.4k
RxSwift Xcoders Riga meetup
fassko
0
1.4k
Other Decks in Technology
See All in Technology
リアルお遍路+SORACOM IoT
ozk009
1
140
グイグイ系QAマネージャーの仕事
sadonosake
0
340
フルカイテン株式会社 採用資料
fullkaiten
0
32k
開発者の定量・定性データを組み合わせて開発者体験を把握するための取り組み
ham0215
1
140
たった1人からはじめる【Agile Community of Practice】~ソース原理とFearless Changeを添えて~
ktc_corporate_it
1
480
PDF Viewer作成の今までとこれから
hunachi
0
470
プロダクトエンジニアを支えるための開発生産性向上施策
tsukakei
0
140
学術機関におけるID連携とOpenID Connect
fujie
0
250
OR学会2024秋_短期収益と将来のオフ方策評価性能を考慮したクーポン割当方策混合比の決定
recruitengineers
PRO
4
460
App Router を実プロダクトで採用して見えてきた勘所をちょっとだけ紹介
marokanatani
1
930
OSTという文化を組織に根付かせてみた
sansantech
PRO
2
390
テスト”ケース”駆動開発 で手戻りをなくそう
ryohma0510
0
320
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
5
480
Music & Morning Musume
bryan
46
6k
Rebuilding a faster, lazier Slack
samanthasiow
78
8.6k
Gamification - CAS2011
davidbonilla
79
5k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.4k
The Mythical Team-Month
searls
218
43k
Optimising Largest Contentful Paint
csswizardry
31
2.8k
Fontdeck: Realign not Redesign
paulrobertlloyd
80
5.1k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
363
22k
Build The Right Thing And Hit Your Dates
maggiecrowley
30
2.3k
In The Pink: A Labor of Love
frogandcode
139
22k
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