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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
530
Is RxSwift for me? @ try! Swift NYC
icanzilb
3
23k
(Appbuilders) Non-technical ways to be a better developer
icanzilb
3
790
Non-technical ways to be a better developer
icanzilb
1
400
What's in it after the Indiepocalypse is over?
icanzilb
1
2.8k
Easy Animation at Cocoaheads Copenhagen
icanzilb
3
290
Animations with Auto Layout
icanzilb
1
180
SpriteKit with Swift workshop
icanzilb
1
1k
Other Decks in Programming
See All in Programming
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
410
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
490
Package Management Learnings from Homebrew
mikemcquaid
0
170
GISエンジニアから見たLINKSデータ
nokonoko1203
0
200
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
5.9k
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
360
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
180
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
5.9k
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
2.4k
Featured
See All Featured
Navigating Team Friction
lara
192
16k
The Cult of Friendly URLs
andyhume
79
6.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Code Review Best Practice
trishagee
74
20k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The Curse of the Amulet
leimatthew05
1
8k
Automating Front-end Workflow
addyosmani
1371
200k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
280
Balancing Empowerment & Direction
lara
5
880
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