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
66
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
580
From Web2 to Web3. A developer story.
fassko
0
890
A journey from Swift to Solidity
fassko
0
980
A journey into the SwiftUI world - Tech Stash by Mintos
fassko
0
1.1k
How to use SwiftUI for rapid development
fassko
0
1.2k
We need to talk about Websockets
fassko
0
2.5k
How to tame Core Animation
fassko
0
1.6k
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
技術書典18結果報告
mutsumix
2
180
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
8
65k
Postman AI エージェントビルダー最新情報
nagix
0
190
toittaにOpenTelemetryを導入した話 / Mackerel APM リリースパーティ
cohalz
1
470
他チームへ越境したら、生データ提供ソリューションのクエリ費用95%削減へ繋がった話 / Cross-Team Impact: 95% Off Raw Data Query Costs
yamamotoyuta
0
200
アプリケーションの中身が見える!Mackerel APMの全貌と展望 / Mackerel APMリリースパーティ
mackerelio
0
420
積み上げられた技術資産と向き合いながら、プロダクトの信頼性をどう守るか
plaidtech
PRO
0
590
Azure Developer CLI と Azure Deployment Environment / Azure Developer CLI and Azure Deployment Environment
nnstt1
1
120
AIオンボーディングとAIプロセスマイニング
nrryuya
5
1.3k
GitHub Coding Agent 概要
kkamegawa
1
1.5k
コードの考古学 〜労務システムから発掘した成長の糧〜
kenta_smarthr
0
800
令和トラベルQAのAI活用
seigaitakahiro
0
500
Featured
See All Featured
Balancing Empowerment & Direction
lara
1
83
Building Flexible Design Systems
yeseniaperezcruz
329
39k
The Power of CSS Pseudo Elements
geoffreycrofte
76
5.8k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
Unsuck your backbone
ammeep
671
58k
How GitHub (no longer) Works
holman
314
140k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
KATA
mclloyd
29
14k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
15
880
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
19
1.2k
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