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

Redux with iOS

yohei sugigami
December 12, 2018
1k

Redux with iOS

### CA.swift #7
### 2018/12/12@株式会社サイバーエージェント

###Yohei Suginami ( @susieyy )

yohei sugigami

December 12, 2018
Tweet

Transcript

  1. Redux w/ iOS
    ɹ
    CA.swi! #7
    2018/12/12@גࣜձࣾαΠόʔΤʔδΣϯτ
    Yohei Suginami ( @susieyy )

    View full-size slide

  2. Profile
    — Yohei Sugigami
    — susieyy
    — Twitter / Qiita / Github
    — Freelance iOS App Developer
    — Clients
    — Folio.inc
    — New app developer
    — Wantedly.inc
    — Technical advisor

    View full-size slide

  3. ɹ
    ɹ
    ɹ
    ΞϓϦ։ൃʹ͓͚Δٞ࿦ͷ
    ग़ൃ఺ʹͳΔ͜ͱΛئ͍ͬͯ·͢

    View full-size slide

  4. Agenda
    — Redux
    — Dive to the Redux sample ios app code

    View full-size slide

  5. ɹ
    ɹ
    ɹ
    ɹ
    ɹ
    Redux͕ੜ·Εͨഎܠ

    View full-size slide

  6. ɹ
    ɹ
    ɹ
    ɹ
    ɹ
    ΞϓϦͷঢ়ଶ͕ෳࡶͰ͋Δ͜ͱ

    View full-size slide

  7. ໰୊
    ɹ
    ɹ
    ɹ
    ɹ
    ΞϓϦͷෳࡶੑʹىҼͯ͠
    ঢ়ଶ͕͍ͭɺͲ͏ͯ͠ɺͲͷΑ͏ʹߋ৽͞ΕΔͷ͔ɹ
    Λ೺Ѳ͢Δ͜ͱ͕ࠔ೉ʹͳ͖͍ͬͯͯΔ

    View full-size slide

  8. Dan Abramovࢯ
    ɹ
    ɹ
    ɹ
    ɹ
    ɹ
    ΞϓϦ։ൃʹ͓͚Δ࠷େͷ՝୊͸

    View full-size slide

  9. Dan Abramovࢯ
    ɹ
    ɹ
    ɹ
    ɹ
    ෳࡶੑͷࠜݯΛมԽʢmutationʣͱ
    ඇಉظੑʢasynchronicityʣΛࠞަ͢Δ͜ͱ
    ʹ͋Δͱߟ͑ͨ

    View full-size slide

  10. ղܾͷΞϓϩʔν
    — FluxΞʔΩςΫνϟͷ৘ใͷ఻೻Λ̍ํ޲ʹ੍ݶ͢Δಛ௃
    Λ౿ऻ͠ɺ͍ͭͲͷΑ͏ʹߋ৽͕ى͖Δ͔Λ໌ྎʹ͢Δ
    — ElmΞʔΩςΫνϟͷ७ਮؔ਺ʹΑΔ෭࡞༻ͷഉআ΍ɺΠ
    ϛϡʔλϒϧͳঢ়ଶදݱͷ੍໿Λ౿ऻ͠ɺݫ֨Ͱ੔߹ੑͷ
    ͱΕͨঢ়ଶ؅ཧΛ࣮ݱ͢Δ

    View full-size slide

  11. ɹ
    ɹ
    Dive to
    the Redux sample
    ios app code

    View full-size slide

  12. Key Technology
    — ReSwift ( Redux )
    — RxSwift
    — IGListKit
    — OpenAPI ( Swagger )
    — Dependency Injection
    — Testable

    View full-size slide

  13. ɹ
    ɹ
    Code reading
    w/ Xcode

    View full-size slide