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

設計を知るための第一歩を踏み出そう

macneko-ayu
February 18, 2022

 設計を知るための第一歩を踏み出そう

macneko-ayu

February 18, 2022
Tweet

More Decks by macneko-ayu

Other Decks in Programming

Transcript



  1. CAMP
    20 21 

    2
    0 22
    /
    2
    /
    17


    View full-size slide



  2. iOS


    Flutter Kotlin Multiplatform Mobile


    View full-size slide

  3. 3
    3


    SoC Separation of Concerns


    SOLID


    3

    View full-size slide


  4. SoC Separation of Concerns


    View full-size slide

  5. SOLID
    SOLID 5

    S O L I D


    Single Responsibility Principle


    Open/Closed Principle


    Liskov Substitution Principle



    Interface Segregation Principle


    Dependency Inversion Principle
    SOLID

    View full-size slide

  6. SOLID
    SOLID 5

    S O L I D


    Single Responsibility Principle


    Open/Closed Principle


    Liskov Substitution Principle



    Interface Segregation Principle


    Dependency Inversion Principle
    SOLID

    View full-size slide

  7. SOLID


    SOLID 5 S O L I D







    SOLID

    View full-size slide

  8. SOLID


    4


    Open/Closed Principle


    Liskov Substitution Principle



    Interface Segregation Principle


    Dependency Inversion
    Principle
    SOLID

    View full-size slide




  9. Manager


    Service


    ××Util

    View full-size slide

  10. Swift API Design Guidelines
    Naming


    https://www.swift.org/documentation/
    api-design-guidelines/#naming


    View full-size slide




  11. API Design Guidelines



    View full-size slide

  12. 3
    3


    SoC Separation of Concerns


    SOLID


    3

    View full-size slide



  13. YAGNI DRY KISS



    etc.


    View full-size slide

  14. Clean Architecture


    https://www.kadokawa.co.jp/product/
    3
    0
    18060 0
    0678
    /


    iOS


    https://peaks.cc/books/iOS_architecture

    View full-size slide