The Factory Pattern using Swift
Create objects the right way!
3 min readFeb 25, 2021
Difficulty: Beginner | Easy | Normal | Challenging
The factory pattern provides an interface for creating objects in a superclass. This article provides some details around this design pattern, and also has some examples of it! We should get building!