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
63
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
430
From Web2 to Web3. A developer story.
fassko
0
720
A journey from Swift to Solidity
fassko
0
820
A journey into the SwiftUI world - Tech Stash by Mintos
fassko
0
980
How to use SwiftUI for rapid development
fassko
0
1k
We need to talk about Websockets
fassko
0
2.3k
How to tame Core Animation
fassko
0
1.5k
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
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
860
AGIについてChatGPTに聞いてみた
blueb
0
130
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
1k
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
130
複雑なState管理からの脱却
sansantech
PRO
1
150
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
500
The Rise of LLMOps
asei
7
1.6k
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
250
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
210
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
社内で最大の技術的負債のリファクタリングに取り組んだお話し
kidooonn
1
550
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
32
1.5k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
Side Projects
sachag
452
42k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Writing Fast Ruby
sferik
627
61k
The Pragmatic Product Professional
lauravandoore
31
6.3k
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