Skip to content

icewong/Swift-3-Design-Patterns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Swift 3.0 设计模式

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Swift 100.0%