Swift-X-Design-Patterns
Design patterns implemented in Swift X.
English | 中文
Introduction
Hello!
Please forgive my poor English. I am a college student who loved Swift programming language and iOS development from China. This repository is to demonstrate design patterns in Swift X (let X = 4.2
). As we know, Swift is an awesome programming language around the world and it's growth so rapidly. These design patterns will be updated with my new articles in Chinese.
If my code did help you, would you please give me a Star
No doubt that I would made some mistakes in it, if you find some bugs, please issue me. I am looking forward to discuss with you about the magic of Swift! Thank you!
Contents
- Simple Factory Pattern
- Factory Method Pattern
- Abstract Factory Pattern
- Strategy Pattern
- Decorator Pattern
- Proxy Pattern
- Prototype Pattern
- Template Pattern
- Facade Pattern
- Builder Pattern
- Observer Pattern
- Delegate Pattern
- State Pattern
- Adapter Pattern
- Memento Pattern
- Composite Pattern
- Iterator Pattern
- Singleton Pattern
- Bridge Pattern
- Command Pattern
- Chain of Responsibility Pattern
- Mediator Pattern
- Flyweight Pattern
- Interpreter Pattern
- Visitor Pattern
Reference
License
- Apache-2.0