© Raúl Ferrer García 2023
R. F. GarcíaiOS Architecture Patternshttps://doi.org/10.1007/978-1-4842-9069-9_6

6. VIP: View–Interactor–Presenter

Raúl Ferrer García1  
(1)
Barcelona, Spain
 

What Is VIP?

A Little History

Around the year 2015, Raymond Law created what is known as Clean Swift1 or VIP (View–Interactor–Presenter) architecture with the idea of applying the Clean Architecture (as we saw in Chapter 1) to projects for both iOS and macOS.

The paradigm of this architecture is the unidirectional flow that occurs within the VIP cycle, that is, the information always flows in one direction: from the View to the Interactor, from the Interactor to the Presenter, and from the Presenter to the View.

How It Works

As we just explained, the core of this architecture ...

Get iOS Architecture Patterns: MVC, MVP, MVVM, VIPER, and VIP in Swift 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.