Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
みんなTCAって 知ってる?ver2.0 Swift愛好会 2021/04/22 tiking76
Slide 2
Slide 2 text
自己紹介 名前 : 舘佳紀 大学 : 会津大学学部4年 好きな言語 swift twitter @tikin0716 gitHub tiking76
Slide 3
Slide 3 text
Agenda 1. TCAとは 2. 実際にやってみた… 3. 総評
Slide 4
Slide 4 text
TCAとは
Slide 5
Slide 5 text
TCAとは The Composable Architecture ● Redux,Elmの思想を受け継いだアーキテクチャ ● UIKit,SwiftUI両方で使えます😤
Slide 6
Slide 6 text
TCAとは ● State management ● Composition ←これがいい!! ● Side effects ● Testing ● Ergonomics
Slide 7
Slide 7 text
データの流れ Action View State Reducer Effect Store
Slide 8
Slide 8 text
データの流れ テストしたい時 Action View State Reducer Effect Environment Store DI
Slide 9
Slide 9 text
実際にやってみた…
Slide 10
Slide 10 text
Store
Slide 11
Slide 11 text
View
Slide 12
Slide 12 text
総評 ● 状態を管理できてうれしい!! ● SwiftUIとUIKit両方で使えて嬉しいな!! ● 書き方をライブラリー側で制限してくれている →codeのFormatが整ってくれる!!!
Slide 13
Slide 13 text
今後やっていきたいこと 今作っている個人アプリにも適応させたいです!!
Slide 14
Slide 14 text
さいごに… 先ほどd_dateさんから紹介があったisowordsでも使ってます!! pointfreeco/isowords: Open source game built in SwiftUI and the Composable Architecture.
Slide 15
Slide 15 text
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" が… / 今城 善矩