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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
280
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
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
780
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
120
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
230
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
280
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
10
4k
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
540
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
350
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.6k
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
100
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
230
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
220
Featured
See All Featured
Are puppies a ranking factor?
jonoalderson
1
3.5k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
200
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
140
Visualization
eitanlees
152
17k
Un-Boring Meetings
codingconduct
0
310
Optimizing for Happiness
mojombo
378
71k
Six Lessons from altMBA
skipperchong
29
4.3k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
330
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
420
What's in a price? How to price your products and services
michaelherold
247
13k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
140
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" が… / 今城 善矩