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
300
みんなTCAって 知ってる?ver2.0
tiking
April 22, 2021
Tweet
Share
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
160
GraphQL 入門
tiking76
0
1.1k
みんなTCAって知ってる?
tiking76
0
840
最近きてるかもって思ってるデザイン
tiking76
0
200
Swiftのちょっとうれしい構文
tiking76
0
56
p1assさんを作ろうと試みました
tiking76
0
100
PRのときに使われがちな略語のやつ
tiking76
0
88
swiftでもグラフ書いてみたくない??
tiking76
0
170
コードでUI構築してみた
tiking76
0
83
Other Decks in Programming
See All in Programming
CircleCIを活用して AWSへの継続的デリバリーを 実践する
coconala_engineer
1
230
Site Reliability Engineering for GMO
pyama86
6
920
甘い香りに誘われてVanilla Extractを1年間運用してみた
miyahkun
1
110
Folding Cheat Sheet #2
philipschwarz
PRO
0
110
コードレビューで学ぶ!Kotlinオブジェクト指向デザインパターン
akkie76
2
180
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
190
Front-end application development, Symfony-style(s)
dunglas
2
1.9k
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
330
StreamlitとTerraformでデータカタログを作った話
gussan0223
0
300
両面どころかインフラもTSでできるよ ~ 全方位TypeScriptによるプロダクト開発 ~
myfinder
9
3.2k
Semantic search with Django and pgvector
pauloxnet
0
240
ONE WEDGE_company_guide
1wedge_one
0
380
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Producing Creativity
orderedlist
PRO
336
39k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
115
18k
Typedesign – Prime Four
hannesfritz
36
2.1k
Bootstrapping a Software Product
garrettdimon
PRO
301
110k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
The Pragmatic Product Professional
lauravandoore
24
5.8k
RailsConf 2023
tenderlove
2
530
Product Roadmaps are Hard
iamctodd
43
9.7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
154
14k
Writing Fast Ruby
sferik
620
60k
What’s in a name? Adding method to the madness
productmarketing
PRO
15
2.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" が… / 今城 善矩