At least once in a lifetime any iOS developer has inherited a legacy project from a younger himself or from someone else who coded when iOS development was a gold race for indie developers.
At that times only a few of us cared about tests, testability, architecture or patterns. There was only massive view controllers, care for limiting number of crashes, care for a unlimited number of features, and singletons.
There was a lot of singletons.

Singletons are very easy to implement with just 1 line of code in Swift and 5 in Objective C, are easy to invoke from…

Giuseppe Travasoni

iOS Developer and Architect, Scrum Master, person.

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