Slide 1

Slide 1 text

みんなTCAって 知ってる? tiking Zli・LOCAL学生部 合同LT会2021 2021/2/26

Slide 2

Slide 2 text

自己紹介 名前 : 舘佳紀 大学 : 会津大学学部3年 サークル : Zli所属です ハンドルネーム: チキング 好きな言語 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

総評 ドキュメントが少ないんじゃ… ある程度慣れてくると、楽にかけるみたい…

Slide 13

Slide 13 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" が… / 今城 善矩