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
370
みんなTCAって 知ってる?ver2.0
tiking
April 22, 2021
Tweet
Share
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
250
GraphQL 入門
tiking76
0
1.5k
みんなTCAって知ってる?
tiking76
0
1.1k
最近きてるかもって思ってるデザイン
tiking76
0
300
Swiftのちょっとうれしい構文
tiking76
0
140
p1assさんを作ろうと試みました
tiking76
0
170
PRのときに使われがちな略語のやつ
tiking76
0
150
swiftでもグラフ書いてみたくない??
tiking76
0
270
コードでUI構築してみた
tiking76
0
140
Other Decks in Programming
See All in Programming
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
420
ファインチューニングせずメインコンペを解く方法
pokutuna
0
190
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
560
Nuxt Server Components
wattanx
0
130
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
190
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
680
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
120
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
510
存在論的プログラミング: 時間と存在を記述する
koriym
5
520
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
1.4k
Rethinking API Platform Filters
vinceamstoutz
0
930
OTP を自動で入力する裏技
megabitsenmzq
0
130
Featured
See All Featured
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
160
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
230
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.5k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
93
New Earth Scene 8
popppiees
1
1.8k
Leo the Paperboy
mayatellez
4
1.6k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
The Invisible Side of Design
smashingmag
302
51k
Documentation Writing (for coders)
carmenintech
77
5.3k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
The World Runs on Bad Software
bkeepers
PRO
72
12k
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" が… / 今城 善矩