Problem Statement
Which architectural pattern separates an app into Model, View and Controller roles?
Explanation
The Model-View-Controller (MVC) pattern divides an application into three main components: the Model (manages data), the View (presents data), and the Controller (mediates between Model and View). It is a classic architecture used widely in iOS development and forms a foundation for more advanced patterns. (Ref: design patterns for Swift)
Practice Sets
This question appears in the following practice sets: