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
みんなTCAって 知ってる?ver2.0
Search
tiking
April 22, 2021
Programming
1
340
みんなTCAって 知ってる?ver2.0
tiking
April 22, 2021
Tweet
Share
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
200
GraphQL 入門
tiking76
0
1.4k
みんなTCAって知ってる?
tiking76
0
980
最近きてるかもって思ってるデザイン
tiking76
0
260
Swiftのちょっとうれしい構文
tiking76
0
100
p1assさんを作ろうと試みました
tiking76
0
150
PRのときに使われがちな略語のやつ
tiking76
0
120
swiftでもグラフ書いてみたくない??
tiking76
0
240
コードでUI構築してみた
tiking76
0
120
Other Decks in Programming
See All in Programming
AIに安心して任せるためにTypeScriptで一意な型を作ろう
arfes0e2b3c
0
370
大規模FlutterプロジェクトのCI実行時間を約8割削減した話
teamlab
PRO
0
480
Constant integer division faster than compiler-generated code
herumi
2
660
書き捨てではなく継続開発可能なコードをAIコーディングエージェントで書くために意識していること
shuyakinjo
1
280
Comparing decimals in Swift Testing
417_72ki
0
170
一人でAIプロダクトを作るための工夫 〜技術選定・開発プロセス編〜 / I want AI to work harder
rkaga
12
2.6k
令和最新版手のひらコンピュータ
koba789
14
7.8k
マイコンでもRustのtestがしたい その2/KernelVM Tokyo 18
tnishinaga
2
2.3k
Amazon Q CLI開発で学んだAIコーディングツールの使い方
licux
3
180
なぜ今、Terraformの本を書いたのか? - 著者陣に聞く!『Terraformではじめる実践IaC』登壇資料
fufuhu
4
620
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
730
DataformでPythonする / dataform-de-python
snhryt
0
180
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
140
7.1k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
A better future with KSS
kneath
239
17k
Why Our Code Smells
bkeepers
PRO
338
57k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
Designing for humans not robots
tammielis
253
25k
Faster Mobile Websites
deanohume
309
31k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
It's Worth the Effort
3n
186
28k
GraphQLとの向き合い方2022年版
quramy
49
14k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Transcript
みんなTCAって 知ってる?ver2.0 Swift愛好会 2021/04/22 tiking76
自己紹介 名前 : 舘佳紀 大学 : 会津大学学部4年 好きな言語 swift twitter @tikin0716
gitHub tiking76
Agenda 1. TCAとは 2. 実際にやってみた… 3. 総評
TCAとは
TCAとは The Composable Architecture • Redux,Elmの思想を受け継いだアーキテクチャ • UIKit,SwiftUI両方で使えます😤
TCAとは • State management • Composition ←これがいい!! • Side effects
• Testing • Ergonomics
データの流れ Action View State Reducer Effect Store
データの流れ テストしたい時 Action View State Reducer Effect Environment Store DI
実際にやってみた…
Store
View
総評 • 状態を管理できてうれしい!! • SwiftUIとUIKit両方で使えて嬉しいな!! • 書き方をライブラリー側で制限してくれている →codeのFormatが整ってくれる!!!
今後やっていきたいこと 今作っている個人アプリにも適応させたいです!!
さいごに… 先ほどd_dateさんから紹介があったisowordsでも使ってます!! pointfreeco/isowords: Open source game built in SwiftUI and
the Composable Architecture.
tips Document • https://github.com/pointfreeco/swift-composable-architecture#learn-mor e • ComposableArchitecture - ComposableArchitecture •
https://carbon.now.sh/sdYH1wRRXcQpQM6t75eV • iOSDC Japan 2020: iOSアプリ開発のための"The Composable Architecture" が… / 今城 善矩