The Factory Method Design Pattern

Photo by Flo Dnd from Pexels

The purpose of design patterns is to outline solutions to various common software design problems. Becoming popular by the Gang of Four, design patterns provide a theoretical approach on how to solve common challenges that software engineers meet on a daily basis. They do not constitute specific code…

--

--

--

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gabriel Theodoropoulos

Gabriel Theodoropoulos

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev

More from Medium

Exploring Opaque Types in Swift

Using Azure AD B2C to Authenticate iOS App Users

The image shows the log in form from Azure Active Directory B2C presented in a modal view on an iPad.

Monad, Functor and Applicatives in Swift

Implementing A Custom Formatter in Swift