Upgrade to Pro — share decks privately, control downloads, hide ads and more …

TCAにおける副作用の分離

Yuya Okuse
March 18, 2024
440

 TCAにおける副作用の分離

2024/03/18開催の【iOS】TCAでわいわいLT会における発表資料です。
https://uzabase-tech.connpass.com/event/309323/

Yuya Okuse

March 18, 2024
Tweet

Transcript

  1. 自己紹介 2 • Yuya Okuse • 株式会社ディー・エヌ・エー23新卒 • SWET 第二グループ

    • iOS アプリエンジニア(Swift) ◦ 2023/07 ~ • TCA ◦ 2024/02 ~
  2. TCA • The Composable Architecture • 以下の課題を解決: ◦ State management

    ◦ Composition ◦ Side effect ◦ Testing ◦ Ergonomics 4 https://github.com/pointfreeco/swift-composable-architecture
  3. TCA • The Composable Architecture • 以下の課題を解決: ◦ State management

    ◦ Composition ◦ Side effect ◦ Testing ◦ Ergonomics 5 https://github.com/pointfreeco/swift-composable-architecture
  4. 非同期処理が実行できない 7 Cannot pass function of type '(inout LoginFeature.State, LoginFeature.Action)

    async -> Effect<LoginFeature.Action>' to parameter expecting synchronous function type Error: