Member-only story
The MVP iOS Architecture with Coordinators
MVP can be improved with coordinates. Of course.
3 min readJun 14, 2021
Difficulty: Beginner | Easy | Normal | Challenging
This article has been developed using Xcode 12.5, and Swift 5.4
If you’d like a video version of this, please do take a look!
Prerequisites:
- You need to be able to create a new Swift project, and a Single View Application
- I’ve a previous article about the MVP architecture, and whilst not required reading it may be useful to look it over before coming to this article
Terminology
MVC: Model, View and Controller
MVP: Model, View and Presenter
In my Previous article describing the MVP architecture, I created the Presenter in the View.
Now this is **Ok**, *fine* and *whatever*, but here we need to have the coordinator which is visible to the presenter. It is for this reason that we are creating the View from the presenter.
This is based on my flow coordinator article, and MVP article