FirelCrafter / designPatterns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift design patterns

Hello!

In this repository we will relize and explain OOP design patterns using Swift language!


Types of Design Patterns:

  1. Creational patterns
    • Builder
    • Factory
    • Prototype
    • Singleton
  2. Structural patterns
    • Adapter
    • Bridge
    • Composite
    • Decorator
    • Façade
    • Flyweight
    • Proxy
  3. Behavioral patterns
    • Chain of responsibility
    • Command
    • Interpreter

Summary

  1. SOLID
    • Single Responsibility Principle
    • Open-closed principle
    • Liskov substitution principle
    • Interface segregate principle
    • Depency inversion principle
  2. Builder
    • Simple builder
    • Faceted builder
  3. Prototype
    • Copy constructor
  4. Singleton
  5. Factory
    • Abstract factory
  6. Adapter
  7. Bridge
  8. Composite
    • Composite
    • Neural Network
  9. Decorator
    • Custom String Builder
    • Multiple Inharitance
    • Dynamic (+ Static) Decorator
  10. Façade
  11. Flyweight
  12. Proxy
  • Protection Proxy
  • Property Proxy
  1. Chain of responsibility
  • Method chain
  • Broker chain
  1. Command
  2. Interpreter
  • Lexing interpreter
  • Parsing interpreter

About


Languages

Language:Swift 100.0%