Get Updates By E-mail 

Article Written By:
Johann Dowa

Tutorial: Design Patterns In Swift – Singleton, MVC, Observer And More

  •  
  •  
  •  
  •  
  •  

Earlier this year I mentioned a growing set of source code examples showing how to implement many design patterns in Swift.

Here’s a nice in-depth guide by Vincent Ngo demonstrating how to implement some common design patterns in Swift and providing a nice overview on design patterns, and the possible uses for each specific pattern.

Specifically the tutorial covers the Singleton, Adapter, Decorator, Facade, MVC, Memento and Observer patterns, and in the tutorial you’ll build a simple music app using those patterns.

You can find the tutorial in two parts over on the Ray Wenderlich blog: Part 1, Part 2.

A nice tutorial on design patterns in Swift.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments