Singleton pattern in Swift

Опубликовано: 16 Октябрь 2024
на канале: AF Swift Tutorials
4,307
53

In this video I'll explain Singleton pattern in Swift.
Covered:
Why singleton is considered as anti-pattern by many developers?
What are the use cases?
What are the drawbacks?
Singleton alternatives.
How to create a singleton object in Swift and how to use it?

My name is Andrew and I'm an iOS Developer. Here I'm posting Swift tutorials, Xcode tips and tricks, coding challenges and how to prepare for iOS Interview.
Subscribe:    / @afswifttutorials  

MORE VIDEOS
iOS Tutorials: https://cutt.ly/RvqPLEj

LINKS & ATTRIBUTIONS
Source Code: https://github.com/Andrew11US/AF-Swif...

[ DISCLOSURES ]
This post may contain affiliate links, which help Andrew Foster Channel with a commission if you make a purchase.