Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

Final conclusion of the iOS architecture

Final conclusion of the iOS architecture

DevSap勉強会 18/07/28
https://devsap.connpass.com/event/90071/

(前回)iOSアプリのアーキテクチャについて考える
https://speakerdeck.com/yusuga/iosapurifalseakitekutiyanituitekao-eru

Yu Sugawara

July 28, 2018
Tweet

More Decks by Yu Sugawara

Other Decks in Technology

Transcript

  1. ʓʓͷਖ਼͍͠ઃܭ͸Θ͔Γ·͔͢ʁ • ʓʓ → MVC, MVVM, MVP, Clean Architecture, VIPER

    • ֶशίετ • ϩʔΧϧ/ࣾ಺ϧʔϧ͕௥Ճ͞Εɺ͞Βʹֶशίετ
  2. ReactorKit Meetup JapanͷΞϑλʔύʔςΟʹͯ • ΞʔΩςΫνϟʹڵຯ͋Δਓ͕ଟ͍ͷͰ৭ʑͳ࿩Λฉ͘ • Ωʔϫʔυͱͯ͠ɺFlux, Redux, MVVM, Clean

    Architecture • ʓʓΛϕʔεʹ˚˚ͷҰ෦औΓೖΕͯΔͱ͍͏࿩͕ଟ͔ͬͨ • ΞʔΩςΫνϟͷ֦ு͸ආ͚Δ΂͖ͩͱࢥ͍ͬͯͨ • Ή͠Ζ൚༻ΞʔΩςΫνϟΛͦͷ··ద༻͢Δํ͕ٯʹί ετ૿ʹͳΔ͜ͱ΋…ʁ
  3. ൺֱ • DIͳ͠ • DI: खಈ, Pure • ಈతDIίϯςφ: Swinject,

    Cleanse • ੩తDIίϯςφ: DIKit, Cake pattern, Reader Monad • Service Locator ύλʔϯ • Dependency Lookup
  4. Pure DI • Pure DI by Mark Seemann • DIίϯςφΛ࢖༻͠ͳ͍DI

    • ݸਓతʹ͸ಈతDIίϯςφ͸ڧ͍੩త ܕ෇͚Ͱ͋ΔSwiftʹϚον͠ͳ͍ͷͰ ͸ͱײ͡Δ ! • ίʔυྔ͸ݮָͬͯͳͷͰ͕͢…
  5. Pure DI in Swift • devxoul/Pure • ࡞ऀ͸ReactorKitͱಉ͡ʂʂ • v1.0.0

    • ϥΠϒϥϦࣗମ͸ඇৗʹܰྔ • ׆༻͢ΔͨΊʹ͸DIͷ஌͕ࣝඞཁ • ReactorKitʹҾ͖ଓ͖ઃܭࢥ૝͕޷ ͖ • ݱࡏ࣮Ҋ݅ʹ࠾༻͠ઈࢍࢼߦࡨޡத