Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
RxSwift on iOS
Marin Todorov
January 27, 2017
Programming
4
3.7k
RxSwift on iOS
Slides from talk at dotSwift 2017. More discussion about the sample code at
http://rx-marin.com
Marin Todorov
January 27, 2017
Tweet
Share
More Decks by Marin Todorov
See All by Marin Todorov
Testing RxRealm with RxBlocking
icanzilb
0
360
Is RxSwift for me? @ try! Swift NYC
icanzilb
3
22k
(Appbuilders) Non-technical ways to be a better developer
icanzilb
3
650
Non-technical ways to be a better developer
icanzilb
1
300
What's in it after the Indiepocalypse is over?
icanzilb
1
2.5k
Easy Animation at Cocoaheads Copenhagen
icanzilb
3
210
Animations with Auto Layout
icanzilb
1
140
SpriteKit with Swift workshop
icanzilb
1
920
Other Decks in Programming
See All in Programming
NGK2023S - OCaml最高! スマホ開発にも使えちゃう?!
haochenxie
0
120
AWSにおける標的型Bot対策
hacomono
0
420
フロントエンドで 良いコードを書くために
t_keshi
3
1.6k
Azure Functionsをサクッと開発、サクッとデプロイ/vscodeconf2023-baba
nina01
1
340
OSSから学んだPR Descriptionの書き方
fugakkbn
4
130
ipa-medit: Memory search and patch tool for IPA without Jailbreaking/ipa-medit-bh2022-europe
tkmru
0
130
Zynq MP SoC で楽しむエッジコンピューティング ~RTLプログラミングのススメ~
ryuz88
0
370
あなたと 「|」 したい・・・
track3jyo
PRO
2
1.1k
Amazon QuickSightのアップデート -re:Invent 2022の復習&2022年ハイライト-
shogo452
0
230
花き業界のサプライチェーンを繋げるプロダクト開発の進め方
userlike1
0
170
子育てとEMと転職と
_atsushisakai
1
410
Hono v3 - Do Everything, Run Anywhere, But Small, And Faster
yusukebe
4
130
Featured
See All Featured
Designing with Data
zakiwarfel
91
4.2k
Building a Scalable Design System with Sketch
lauravandoore
451
31k
Practical Orchestrator
shlominoach
178
8.9k
Mobile First: as difficult as doing things right
swwweet
213
7.8k
YesSQL, Process and Tooling at Scale
rocio
159
12k
Building Flexible Design Systems
yeseniaperezcruz
314
35k
Designing for Performance
lara
600
65k
Streamline your AJAX requests with AmplifyJS and jQuery
dougneiner
128
8.8k
Agile that works and the tools we love
rasmusluckow
320
20k
Adopting Sorbet at Scale
ufuk
65
7.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
7
580
The World Runs on Bad Software
bkeepers
PRO
59
5.7k
Transcript
RxSwift on iOS dotSwift, Paris Marin Todorov
[email protected]
[email protected]
!
[email protected]
"
[email protected]
NSNotificationCenter closures delegates Grand Central Dispatch Selector(:) Dependency Injection
Array<String>
[email protected]
0 first 1 second 2 third
[email protected]
0 first 1 second 2 third 3 fourth ⛅
[email protected]
0 first 1 second 2 third 3 fourth
[email protected]
0 first 1 second 2 third Image Credit: NASA
Goddard Space Flight Center
[email protected]
Observable<Array<String>> 0 first 1 second 2 third 0 first
1 second 2 third 3 fourth 0 first 1 second 2 third 3 fourth 4 fifth
[email protected]
0 first 1 second 2 third 0 first 1
second 2 third 3 fourth 0 first 1 second 2 third 3 fourth 4 fifth
[email protected]
Observable<Array<String>> 0 first 1 second 2 third 0 first
1 second 2 third 3 fourth 0 first 1 second 2 third 3 fourth 4 fifth
[email protected]
Observable<Int> 130 301 17
[email protected]
Observable<ClickData> ClickData { pt: CGPoint(10, 200) nrOfClicks: 1 }
ClickData { pt: CGPoint(20, 160) nrOfClicks: 1 } ClickData { pt: CGPoint(100, 13) nrOfClicks: 2 }
[email protected]
marin Observable<String> filter length > 2 Observable<String> debounce interval
> 0.5s Observable<String> flatMapLatest Any Observable<NSData> map Array<Repo> Observable<Array<Repo>> map URLRequest() Observable<URLRequest> subscribe or bindTo orEmpty
[email protected]
[email protected]
[email protected]
RxSwift 1. Sync-like async code 2. With a functional aspect
3. Cross platform, tried and tested framework
[email protected]
We’re hiring
[email protected]
• Distributed Systems Eng. • JavaScript Engineer
• Product Manager • Sales Engineer • Account Executive • and much more! realm.io/jobs
[email protected]
Sample Code & Credits http://rx-marin.com Thanks: ɾAsh Furrow
ɾFlorent Pillet ɾJunior Bontognali ɾKrunoslav Zaher
[email protected]
Questions? Marin Todorov
[email protected]
www.realm.io @icanzilb