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
61
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
260
From Web2 to Web3. A developer story.
fassko
0
540
A journey from Swift to Solidity
fassko
0
650
A journey into the SwiftUI world - Tech Stash by Mintos
fassko
0
820
How to use SwiftUI for rapid development
fassko
0
860
We need to talk about Websockets
fassko
0
2.1k
How to tame Core Animation
fassko
0
1.3k
The A - Z Guide Of iOS App Development
fassko
1
1.3k
RxSwift Xcoders Riga meetup
fassko
0
1.3k
Other Decks in Technology
See All in Technology
LayerXにおけるLLMプロダクト開発の今までとこれから
layerx
PRO
1
180
MySQL の SQL クエリチューニングの要所を掴む勉強会
andpad
3
6.3k
Google Cloud の AI を支える裏側のインフラを垣間見る!
maroon1st
0
350
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
200
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
400
推しは推せるときに推せ! プロダクトにフィードバックしていこう
nakasho
0
310
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
2
900
Reducing Cross-Zone Egress at Spotify with Custom gRPC Load Balancing Recap
koh_naga
0
200
生成AIの変革の時代に、直近1年で直面した課題とその解決策
ktc_wada
0
140
競技としてのKaggle、役に立つKaggle
yu4u
3
1.3k
APIファーストなプロダクトマネジメントの実践 〜SaaSus Platformでの例〜 / "Practicing API-First Product Management - An Example with SaaSus Platform
oztick139
0
100
MapLibreとAmazon Location Service
dayjournal
1
150
Featured
See All Featured
Side Projects
sachag
451
41k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
Debugging Ruby Performance
tmm1
70
11k
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
Embracing the Ebb and Flow
colly
80
4.1k
Automating Front-end Workflow
addyosmani
1356
200k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
25
2.3k
Happy Clients
brianwarren
92
6.4k
Designing on Purpose - Digital PM Summit 2013
jponch
110
6.5k
Ruby is Unlike a Banana
tanoku
96
10k
Agile that works and the tools we love
rasmusluckow
325
20k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
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