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
3.9k
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
460
Is RxSwift for me? @ try! Swift NYC
icanzilb
3
23k
(Appbuilders) Non-technical ways to be a better developer
icanzilb
3
720
Non-technical ways to be a better developer
icanzilb
1
350
What's in it after the Indiepocalypse is over?
icanzilb
1
2.7k
Easy Animation at Cocoaheads Copenhagen
icanzilb
3
250
Animations with Auto Layout
icanzilb
1
160
SpriteKit with Swift workshop
icanzilb
1
980
Other Decks in Programming
See All in Programming
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
900
Ethereum_.pdf
nekomatu
0
470
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
subpath importsで始めるモック生活
10tera
0
320
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
CSC509 Lecture 09
javiergs
PRO
0
140
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
120
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
3
700
ヤプリ新卒SREの オンボーディング
masaki12
0
130
Featured
See All Featured
How to Ace a Technical Interview
jacobian
276
23k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Optimizing for Happiness
mojombo
376
70k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Practical Orchestrator
shlominoach
186
10k
The Invisible Side of Design
smashingmag
298
50k
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