6. Singletons
Singletons get a bad rap. Why? Should you use them in your application? And if you've inherited several of them, what should you do?
- Singleton Pattern
- A Controller by Any Other Name (Soroush)
- The Sin in Singleton (Ben Sandofsky)
- singletons.info (Chris's blog posts and other links about singletons)
- Using
static let
to create singletons in Swift - Avoiding Singleton Abuse (Stephen Poletto)