Tag: MVC Pattern

  • iOS Swift Programming Patterns: Singleton

    iOS Swift Programming Patterns: Singleton

    What is Singleton Pattern? The Singleton pattern is class which initiated once itself and give global access to this created instance. As it has a unique instance, class variables and methods are shared in entire application/namespace. To understand better let’s check where we can use this pattern.