Model view controller – MVC

The model view controller (MVC) is more abstract than the others that we have discussed so far. This design pattern divides the structural components into three parts; these parts are as follows:

  • The model: Houses application logic
  • The view: User interface
  • The controller: The glue or binding entity between the view and the model

Get Reactive Programming with Swift 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.