Swift: Singleton Pattern
In this article, we are going through a creational design pattern, Singleton.
What is Singleton?
A pattern is called Singleton when it satisfies the below conditions:
Class should create its own single private instance.
Class shouldn't allow creatin...
rasik.hashnode.dev2 min read