The Façade Design Pattern in Swift

Definitely worthwhile!

Steven Curtis
4 min readApr 22, 2021
Photo by Wojtek Witkowski on Unsplash

Difficulty: Beginner | Easy | Normal | Challenging

The supporting video

Missing the wonderful diagrams below, but this video might be of interest to you!

Prerequisites

You will be expected to be aware how to make a Single View Application

You might like to see an example of the Façade Pattern from This article

Terminology:

Design Pattern: a general, reusable solution to a commonly occurring problem

The Façade Design Pattern: An object that masks complex or underlying (perhaps containing complex or multiple classes) classes

The Façade Pattern in Swift

If you wish to obfuscate complex code it can provide an interface that masks that complexity. In other words, the façade design pattern can make your code better (and in particular it can make your code easier to read).

--

--

No responses yet