Swift X (X=3.0) Design patterns.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
01-Simple_Factory_Pattern.playground Reformat code Dec 8, 2016
02-Factory_Method_Pattern.playground
03-Abstract_Factory_Pattern.playground
04-Strategy_Pattern.playground
05-Decorator_Pattern.playground
06-Proxy_Pattern.playground
07-Prototype_Pattern.playground
08-Template_Pattern.playground
09-Facade_Pattern.playground
10-Builder_Pattern.playground
11-Observer_Pattern.playground
12-Delegate_Pattern.playground
13-State_Pattern.playground
14-Adapter_Pattern.playground
15-Memento_Pattern.playground
16-Composite_Pattern.playground
17-Iterator_Pattern.playground
18-Singleton_Pattern.playground
19-Bridge_Pattern.playground
20-Command_Pattern.playground
21-Chain_of_Responsibility_Pattern.playground Chain of Responsibility Pattern Dec 13, 2016
22-Mediator_Pattern.playground
23-Flyweight_Pattern.playground
24-Interpreter_Pattern.playground
25-Visitor_Pattern.playground
.gitignore
LICENSE
README.md
README_CN.md

README.md

Swift-3-Design-Patterns

Design patterns implemented in Swift 3.0

中文版本 README

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 3.0. 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 🌟? It will courage me to move on! Thank you!

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

  1. Simple Factory Pattern
  2. Factory Method Pattern
  3. Abstract Factory Pattern
  4. Strategy Pattern
  5. Decorator Pattern
  6. Proxy Pattern
  7. Prototype Pattern
  8. Template Pattern
  9. Facade Pattern
  10. Builder Pattern
  11. Observer Pattern
  12. Delegate Pattern
  13. State Pattern
  14. Adapter Pattern
  15. Memento Pattern
  16. Composite Pattern
  17. Iterator Pattern
  18. Singleton Pattern
  19. Bridge Pattern
  20. Command Pattern
  21. Chain of Responsibility Pattern
  22. Mediator Pattern
  23. Flyweight Pattern
  24. Interpreter Pattern
  25. Visitor Pattern

Reference

License

Apache-2.0