4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Design patterns in iOS

In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern isn't a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations.

The design patterns can be broadly classified into 3 categories -

  1. Creational: Singleton.
  2. Structural: MVC, Decorator, Adapter, Facade.
  3. Behavioral: Observer, Memento

Of all the design patterns in iOS, MVC (Model-View-Controller) is considered to be of utmost importance.
To know more you can visit:-

  1. https://www.raywenderlich.com/160651/design-patterns-ios-using-swift-part-12
  2. https://www.raywenderlich.com/160653/design-patterns-ios-using-swift-part-22

This is my favourite blog. :)

114 upvotes $0.10

Replies (1)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: