The Factory Pattern using Swift

Create objects the right way!

Photo by Manja Vitolic on Unsplash

A factory