Member-only story

Implement the Clean VIPER Architecture in iOS

Learn how to implement the architecture!

Steven Curtis
3 min readSep 28, 2020
Photo by Captureson Photography on Unsplash

Difficulty: Beginner | Easy | Normal | Challenging
This article has been developed using Xcode 12.0, and Swift 5.3

I’ve previously written an article explaining the use of VIPER for iOS applications. That particular article lacked one thing — a full example of the architecture and how we might traverse from one view to another and correctly inject dependencies. We can put that right now!

In steps this article to describe the implementation of the article using Swift. Let’s get started!

Prerequisites:

  • You will be expected to be aware how to make a Single View Application in Swift.
  • The implementation takes adavantage of my network code Single View Application, and you may choose to look through that to understand what is going on with the netwroking here

What this article is, and what it isn’t

One of the main disadvantages touted surrounding the VIPER architecture is that the communication between objects can become confusing and feel rather confusing.

This implementation will cover a very clean case of the VIPER architecture to give you…

--

--

No responses yet