https://github.com/keygenqt/skill-patterns-swift
Examples classic OOP design patterns
https://github.com/keygenqt/skill-patterns-swift
cli patterns skill swiftcli
Last synced: 5 months ago
JSON representation
Examples classic OOP design patterns
- Host: GitHub
- URL: https://github.com/keygenqt/skill-patterns-swift
- Owner: keygenqt
- License: apache-2.0
- Created: 2022-01-23T09:13:20.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T19:25:30.000Z (almost 4 years ago)
- Last Synced: 2025-03-11T03:42:11.079Z (9 months ago)
- Topics: cli, patterns, skill, swiftcli
- Language: Swift
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Patterns In Swift
===================
Examples classic OOP design patterns
### Behavioral
* Chain of Responsibility
* Command
* Interpreter
* Iterator
* Mediator
* Memento
* Observer
* State
* Strategy
* Template Method
* Visitor
### Creational
* [Abstract factory](https://github.com/keygenqt/skill-patterns-swift/blob/master/Sources/Patterns/Creational/AbstractFactory)
* [Builder](https://github.com/keygenqt/skill-patterns-swift/blob/master/Sources/Patterns/Creational/Builder)
* [Factory Method](https://github.com/keygenqt/skill-patterns-swift/blob/master/Sources/Patterns/Creational/FactoryMethod)
* Prototype
* [Singleton](https://github.com/keygenqt/skill-patterns-swift/blob/master/Sources/Patterns/Creational/Singleton)
### Structural
* Adapter
* Bridge
* Composite
* Decorator
* Facade
* Flyweight
* Proxy
#### Run example
```bash
patterns pattern "{Name Pattern}"
```