https://github.com/c-villain/gofpatterns
Patterns of GoF and its realization on Swift
https://github.com/c-villain/gofpatterns
behavioral-patterns creational-patterns gof gof-patterns patterns structural-patterns
Last synced: 10 months ago
JSON representation
Patterns of GoF and its realization on Swift
- Host: GitHub
- URL: https://github.com/c-villain/gofpatterns
- Owner: c-villain
- License: mit
- Created: 2020-06-16T16:18:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-13T18:54:20.000Z (over 5 years ago)
- Last Synced: 2025-03-04T23:45:28.528Z (about 1 year ago)
- Topics: behavioral-patterns, creational-patterns, gof, gof-patterns, patterns, structural-patterns
- Language: Swift
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GoFPatterns
Patterns of GoF and its realization on Swift
Репозиторий представляет из себя Playground книгу с кратким описанием паттернов из книги ["банды четырех"](https://ru.wikipedia.org/wiki/Design_Patterns).
Рассмотрены примеры, когда целесообразно применять тот или иной паттерн, а также основные участники в нем.
Описание дополнено примерами на Swift.
## Creational
- Builder
- Abstract factory
- Factory method
- Prototype
- Singleton
## Structural
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
- Behavioral
## Command
- Chain of responsibility
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template method
- Visitor
## Special thanks
- [Рефакторинг.Гуру](https://refactoring.guru)
- [Metanit](https://metanit.com)