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
330
みんな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
970
最近きてるかもって思ってるデザイン
tiking76
0
260
Swiftのちょっとうれしい構文
tiking76
0
99
p1assさんを作ろうと試みました
tiking76
0
150
PRのときに使われがちな略語のやつ
tiking76
0
120
swiftでもグラフ書いてみたくない??
tiking76
0
230
コードでUI構築してみた
tiking76
0
110
Other Decks in Programming
See All in Programming
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
810
つよそうにふるまい、つよい成果を出すのなら、つよいのかもしれない
irof
1
290
Rails産でないDBを Railsに引っ越すHACK - Omotesando.rb #110
lnit
1
170
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
380
CursorはMCPを使った方が良いぞ
taigakono
0
130
Java on Azure で LangGraph!
kohei3110
0
160
セキュリティマネジャー廃止とクラウドネイティブ型サンドボックス活用
kazumura
1
190
生成AIで日々のエラー調査を進めたい
yuyaabo
0
610
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
41
27k
Claude Codeの使い方
ttnyt8701
1
130
Spring gRPC で始める gRPC 入門 / Introduction to gRPC with Spring gRPC
mackey0225
2
520
2度もゼロから書き直して、やっとブラウザでぬるぬる動くAIに辿り着いた話
tomoino
0
160
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Embracing the Ebb and Flow
colly
86
4.7k
How to Ace a Technical Interview
jacobian
277
23k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
The Cult of Friendly URLs
andyhume
79
6.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
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" が… / 今城 善矩