MVP Architecture
2 min readOct 3, 2020
Components:
Model is an interface responsible for the domain data (to be displayed or otherwise acted upon in the GUI) View is responsible for the presentation layer (GUI)
Presenter is the “middle-man” between Model and View. It reacts to the user’s actions performed on the View, retrieves data from the Model, and formats it for display in the View
Component duties:
Differences between MVC and MVP:
- View in MVC is tightly coupled with the Controller, the View part of the MVP consists of both UIViews…