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
420
From Web2 to Web3. A developer story.
fassko
0
710
A journey from Swift to Solidity
fassko
0
800
A journey into the SwiftUI world - Tech Stash by Mintos
fassko
0
960
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
APIテスト自動化の勘所
yokawasa
7
4.1k
AIを駆使したゲーム開発戦略: 新設AI組織の取り組み / sge-ai-strategy
cyberagentdevelopers
PRO
1
130
Jr. Championsになって、強く連携しながらAWSをもっと使いたい!~AWSに対する期待と行動~
amixedcolor
0
190
初心者に Vue.js を 教えるには
tsukuha
5
390
生成AIと知識グラフの相互利用に基づく文書解析
koujikozaki
1
140
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
27
12k
Forget efficiency – Become more productive without the stress
ufried
0
120
なんで、私がAWS Heroに!? 〜社外の広い世界に一歩踏み出そう〜
minorun365
PRO
6
1.1k
コンテンツを支える 若手ゲームクリエイターの アートディレクションの事例紹介 / cagamefi-game
cyberagentdevelopers
PRO
1
130
新卒1年目が向き合う生成AI事業の開発を加速させる技術選定 / ai-web-launcher
cyberagentdevelopers
PRO
7
1.5k
「 SharePoint 難しい」ってよく聞くけど、そんなに言うなら8歳の息子に試してもらった
taichinakamura
1
620
プロダクトチームへのSystem Risk Records導入・運用事例の紹介/Introduction and Case Studies on Implementing and Operating System Risk Records for Product Teams
taddy_919
1
170
Featured
See All Featured
The Invisible Side of Design
smashingmag
297
50k
GitHub's CSS Performance
jonrohan
1030
460k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
What's new in Ruby 2.0
geeforr
342
31k
A Philosophy of Restraint
colly
203
16k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
32
1.8k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
The World Runs on Bad Software
bkeepers
PRO
65
11k
How to Ace a Technical Interview
jacobian
275
23k
Designing the Hi-DPI Web
ddemaree
280
34k
Raft: Consensus for Rubyists
vanstee
136
6.6k
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