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 on iOS
Search
Marin Todorov
January 27, 2017
Programming
4
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
Testing RxRealm with RxBlocking
icanzilb
0
510
Is RxSwift for me? @ try! Swift NYC
icanzilb
3
23k
(Appbuilders) Non-technical ways to be a better developer
icanzilb
3
780
Non-technical ways to be a better developer
icanzilb
1
390
What's in it after the Indiepocalypse is over?
icanzilb
1
2.8k
Easy Animation at Cocoaheads Copenhagen
icanzilb
3
280
Animations with Auto Layout
icanzilb
1
170
SpriteKit with Swift workshop
icanzilb
1
1k
Other Decks in Programming
See All in Programming
AWS CDKの推しポイントN選
akihisaikeda
1
210
Agentに至る道 〜なぜLLMは自動でコードを書けるようになったのか〜
mackee
5
2.2k
DartASTとその活用
sotaatos
2
150
無秩序からの脱却 / Emergence from chaos
nrslib
1
9.5k
目的で駆動する、AI時代のアーキテクチャ設計 / purpose-driven-architecture
minodriven
11
3.5k
WebRTC と Rust と8K 60fps
tnoho
0
240
Flutterチームから作る組織の越境文化
findy_eventslides
0
600
「正規表現をつくる」をつくる / make "make regex"
makenowjust
1
860
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
240
チーム開発の “地ならし"
konifar
8
6.2k
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
560
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
5
2.5k
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Mobile First: as difficult as doing things right
swwweet
225
10k
Being A Developer After 40
akosma
91
590k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Documentation Writing (for coders)
carmenintech
76
5.1k
Typedesign – Prime Four
hannesfritz
42
2.9k
It's Worth the Effort
3n
187
29k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
Speed Design
sergeychernyshev
33
1.3k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
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