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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
tiking
April 22, 2021
Programming
380
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
みんなTCAって 知ってる?ver2.0
tiking
April 22, 2021
More Decks by tiking
See All by tiking
デザインシステムっていいな
tiking76
0
290
GraphQL 入門
tiking76
0
1.5k
みんなTCAって知ってる?
tiking76
0
1.1k
最近きてるかもって思ってるデザイン
tiking76
0
300
Swiftのちょっとうれしい構文
tiking76
0
150
p1assさんを作ろうと試みました
tiking76
0
180
PRのときに使われがちな略語のやつ
tiking76
0
150
swiftでもグラフ書いてみたくない??
tiking76
0
280
コードでUI構築してみた
tiking76
0
150
Other Decks in Programming
See All in Programming
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
200
エンジニアにデザインハーネスを 〜デザインプロセスを規定するためのハーネス〜 / Design harness from an engineer's perspective
rkaga
2
1k
Strategic Design in the Frontend: Moduliths & Micro Frontends @DDDEurope
manfredsteyer
PRO
0
140
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
250
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
140
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
200
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
140
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
250
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
1.5k
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
2.8k
ランチタイムLT会3周年!ランチタイムLT会を3年間続けられたお話
y0hgi
1
130
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
500
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Scaling GitHub
holman
464
140k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.7k
エンジニアに許された特別な時間の終わり
watany
107
250k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
320
Docker and Python
trallard
47
3.9k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
180
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
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" が… / 今城 善矩