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
490
Is RxSwift for me? @ try! Swift NYC
icanzilb
3
23k
(Appbuilders) Non-technical ways to be a better developer
icanzilb
3
760
Non-technical ways to be a better developer
icanzilb
1
370
What's in it after the Indiepocalypse is over?
icanzilb
1
2.7k
Easy Animation at Cocoaheads Copenhagen
icanzilb
3
270
Animations with Auto Layout
icanzilb
1
160
SpriteKit with Swift workshop
icanzilb
1
1k
Other Decks in Programming
See All in Programming
WindowInsetsだってテストしたい
ryunen344
1
190
なぜ「共通化」を考え、失敗を繰り返すのか
rinchoku
1
510
エンジニア向け採用ピッチ資料
inusan
0
160
C++20 射影変換
faithandbrave
0
530
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
340
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
150
童醫院敏捷轉型的實踐經驗
cclai999
0
190
『自分のデータだけ見せたい!』を叶える──Laravel × Casbin で複雑権限をスッキリ解きほぐす 25 分
akitotsukahara
1
550
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
540
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
310
Bytecode Manipulation 으로 생산성 높이기
bigstark
2
380
LINEヤフー データグループ紹介
lycorp_recruit_jp
0
890
Featured
See All Featured
How GitHub (no longer) Works
holman
314
140k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Balancing Empowerment & Direction
lara
1
370
Optimising Largest Contentful Paint
csswizardry
37
3.3k
The Cult of Friendly URLs
andyhume
79
6.5k
Stop Working from a Prison Cell
hatefulcrawdad
270
20k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Designing for humans not robots
tammielis
253
25k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
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