Think and Practice in Swift Pattern

Recently I am developing a painting creation Application in iOS using Swift. iOS employs some main patterns in its framework. Although one can still develop in iOS without knowledge of design patterns of iOS, this will lately get a lot more difficult trying to maintain the app. This article will give a overview of design patterns used in Cocoa.

Design patterns

  • Delegate
  • Observer
  • MVC (Model - View - Controller) and MVVM (Model - View - View model)
  • Dependency injection