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
64
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
570
From Web2 to Web3. A developer story.
fassko
0
880
A journey from Swift to Solidity
fassko
0
960
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.5k
RxSwift Xcoders Riga meetup
fassko
0
1.6k
Other Decks in Technology
See All in Technology
Pythonデータ分析実践試験 出題傾向や学習のポイントとテクニカルハイライト
terapyon
1
130
genspark_presentation.pdf
haruki_uiru
1
210
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
7
63k
企業が押さえるべきMCPの未来
takaakikakei
4
830
Gateway H2 モジュールで スマートホーム入門
minoruinachi
0
130
Simplify! 10 ways to reduce complexity in software development
ufried
1
240
雑に疎通確認だけしたい...せや!CloudShell使ったろ!
alchemy1115
0
130
LINE 購物幕後推手
line_developers_tw
PRO
0
400
白金鉱業Meetup_Vol.18_AIエージェント時代のUI/UX設計
brainpadpr
1
290
社会人力と研究力ー博士号をキャリアの武器にするー
kentaro
2
110
GraphQLを活用したリアーキテクチャに対応するSLI/Oの再設計
coconala_engineer
0
200
LangfuseではじめるAIアプリのLLMトレーシング
codenote
0
110
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
172
14k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
Writing Fast Ruby
sferik
628
61k
Unsuck your backbone
ammeep
671
57k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
GraphQLの誤解/rethinking-graphql
sonatard
71
10k
Speed Design
sergeychernyshev
29
930
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.4k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
23
2.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
780
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
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