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くんすげぇ.pdf
Search
tiking
August 22, 2020
86
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RxSwiftくんすげぇ.pdf
tiking
August 22, 2020
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
290
GraphQL 入門
tiking76
0
1.5k
みんなTCAって 知ってる?ver2.0
tiking76
1
380
みんなTCAって知ってる?
tiking76
0
1.1k
最近きてるかもって思ってるデザイン
tiking76
0
300
Swiftのちょっとうれしい構文
tiking76
0
150
p1assさんを作ろうと試みました
tiking76
0
180
PRのときに使われがちな略語のやつ
tiking76
0
150
swiftでもグラフ書いてみたくない??
tiking76
0
280
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
310
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
How to build a perfect <img>
jonoalderson
1
5.7k
エンジニアに許された特別な時間の終わり
watany
107
250k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
Agile that works and the tools we love
rasmusluckow
331
22k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
400
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
340
Transcript
RxSwiftくんすげぇ 2020/8/8 CAMPHOR - LT 2020 Summer @tikin0716
Readme name : 舘佳紀 colleage : 会津大学学部3年 さーくる : Zli所属です
Handlename : チキング 好きな言語 swift twitter @tikin0716 gitHub tiking76
そもそもRxってなに?? RxとはReactive xの略称で、「オブザーバパターン」「イテレータパターン」「関数型プロ グラミング」の概念を実装している拡張ライブラリです。
メリット Rxを導入するメリットは、 ・「値の変化を検知できる」 ・「非同期の処理を簡潔に書ける」
今回やったこと RxSwiftを使った実装とノンライブラリで実装した物 を比較した話
共通しているところ ・api呼び出しのところ ・画面遷移のところ ・UIコンポーネントのコンフィグについて
api呼び出し&画面遷移
UIコンポーネントのコンフィグ
変更したところ ・Textviewとボタンのバリデーション
変更前
変更後
DEMO (時間があったら…)
None
比較してみて感じたこと ・やっぱりRxSwiftを使うとイベントの処理や記述量が減って最高!!。 ・今回みたいな簡単な実装ならすぐ書けそうだけど、複雑になるとスト リームの管理が大変 そう。
参考にしました ・Qiita - それ、RxSwiftで書いてみましょう(入門編) https://qiita.com/Narakkyyyyy/items/39e76cfd188b1595293f
ありがとうございました!!