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.4k
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
icanzilb
0
310
icanzilb
3
21k
icanzilb
3
610
icanzilb
1
290
icanzilb
1
2.4k
icanzilb
3
200
icanzilb
1
130
icanzilb
1
890
Other Decks in Programming
See All in Programming
ryokbt
2
280
mihyaeru21
0
360
maito1201
1
820
christianliebel
PRO
0
130
mitohato14
0
110
grapecity_dev
0
190
keiichihirobe
1
110
grapecity_dev
0
180
makomakok
0
140
grapecity_dev
1
180
s103ng
0
240
christianweyer
PRO
0
270
Featured
See All Featured
edds
56
9.4k
samlambert
237
10k
bermonpainter
342
26k
pauljervisheath
196
15k
brad_frost
157
6.4k
philhawksworth
192
8.8k
chrislema
231
16k
tanoku
86
8.5k
tammielis
237
23k
shpigford
165
19k
vanstee
117
4.8k
skipperchong
8
710
Transcript
RxSwift on iOS dotSwift, Paris Marin Todorov mt@realm.io
mt@realm.io !
mt@realm.io "
mt@realm.io NSNotificationCenter closures delegates Grand Central Dispatch Selector(:) Dependency Injection
Array<String> mt@realm.io 0 first 1 second 2 third
mt@realm.io 0 first 1 second 2 third 3 fourth ⛅
mt@realm.io 0 first 1 second 2 third 3 fourth
mt@realm.io 0 first 1 second 2 third Image Credit: NASA
Goddard Space Flight Center
mt@realm.io 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
mt@realm.io 0 first 1 second 2 third 0 first 1
second 2 third 3 fourth 0 first 1 second 2 third 3 fourth 4 fifth
mt@realm.io 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
mt@realm.io Observable<Int> 130 301 17
mt@realm.io Observable<ClickData> ClickData { pt: CGPoint(10, 200) nrOfClicks: 1 }
ClickData { pt: CGPoint(20, 160) nrOfClicks: 1 } ClickData { pt: CGPoint(100, 13) nrOfClicks: 2 }
mt@realm.io 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
mt@realm.io
mt@realm.io
mt@realm.io
RxSwift 1. Sync-like async code 2. With a functional aspect
3. Cross platform, tried and tested framework mt@realm.io
We’re hiring mt@realm.io • Distributed Systems Eng. • JavaScript Engineer
• Product Manager • Sales Engineer • Account Executive • and much more! realm.io/jobs
mt@realm.io Sample Code & Credits http://rx-marin.com Thanks: ɾAsh Furrow
ɾFlorent Pillet ɾJunior Bontognali ɾKrunoslav Zaher
mt@realm.io Questions? Marin Todorov mt@realm.io www.realm.io @icanzilb