Skip to content

Instantly share code, notes, and snippets.

@funmia
Created January 24, 2020 12:06
Show Gist options
  • Select an option

  • Save funmia/a41bfb2e7dc1c8755f09b4f25a4e99a5 to your computer and use it in GitHub Desktop.

Select an option

Save funmia/a41bfb2e7dc1c8755f09b4f25a4e99a5 to your computer and use it in GitHub Desktop.

Revisions

  1. funmia created this gist Jan 24, 2020.
    20 changes: 20 additions & 0 deletions design-patterns.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    Design patterns - rayweinderlich

    #### Types of design patterns

    1. **Structural patterns** describe how objects are composed to form larger subsystems.
    Examples of structural patterns are:
    - [Model-view-controller (MVC)](Model-View-Controller)
    - MVVM

    2. **Behavioral patterns** describe how objects communicate with each other.
    Examples of behavioral patterns are:
    - [Delegation](Delegation)
    - [Strategy](Strategy)
    - [Observer](Observer)
    - [Memento](Memento)

    3. **Creational patterns** instantiate or "create" objects for you.
    Examples of creational patterns are:
    - [Singleton](Singleton)
    - [Builder](Builder)