An open API service indexing awesome lists of open source software.

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

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}"
```