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
320
みんなTCAって 知ってる?ver2.0
tiking
April 22, 2021
Tweet
Share
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
190
GraphQL 入門
tiking76
0
1.3k
みんなTCAって知ってる?
tiking76
0
950
最近きてるかもって思ってるデザイン
tiking76
0
250
Swiftのちょっとうれしい構文
tiking76
0
91
p1assさんを作ろうと試みました
tiking76
0
140
PRのときに使われがちな略語のやつ
tiking76
0
110
swiftでもグラフ書いてみたくない??
tiking76
0
230
コードでUI構築してみた
tiking76
0
100
Other Decks in Programming
See All in Programming
国漢文混用体からHolloまで
minhee
1
190
ComposeでWebアプリを作る技術
tbsten
0
110
エンジニア未経験が最短で戦力になるためのTips
gokana
0
270
スモールスタートで始めるためのLambda×モノリス(Lambdalith)
akihisaikeda
2
280
音声プラットフォームのアーキテクチャ変遷から学ぶ、クラウドネイティブなバッチ処理 (20250422_CNDS2025_Batch_Architecture)
thousanda
0
170
Ruby's Line Breaks
yui_knk
2
940
PHP で学ぶ OAuth 入門
azuki
1
190
状態と共に暮らす:ステートフルへの挑戦
ypresto
1
460
Fiber Scheduler vs. General-Purpose Parallel Client
hayaokimura
1
100
エンジニアが挑む、限界までの越境
nealle
1
160
On-the-fly Suggestions of Rewriting Method Deprecations
ohbarye
1
1.9k
DataStoreをテストする
mkeeda
0
290
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.4k
The Cost Of JavaScript in 2023
addyosmani
49
7.7k
Bash Introduction
62gerente
611
210k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
178
53k
Become a Pro
speakerdeck
PRO
27
5.3k
Writing Fast Ruby
sferik
628
61k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.6k
Agile that works and the tools we love
rasmusluckow
328
21k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
A better future with KSS
kneath
239
17k
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" が… / 今城 善矩