Architecture
Singleton pattern
When do you use a singleton in an iOS app, and what's the problem with it?
Singleton pattern
When do you use a singleton in an iOS app, and what's the problem with it?
ArchitectureShort answerIntro
In a travel app, a global SessionManager.shared holds auth, cache, analytics, and experim…
#singleton #global-state
ArchitectureShort answerBasics
Why do we do dependency injection in an iOS app?
#testing
ArchitectureShort answerAdvanced
This is a live coding exercise. Without Foundation's NotificationCenter, design and imple…
#thread-safety
ArchitectureMultiple choiceBasics
In a codebase where a singleton like AnalyticsManager.shared is referenced directly all o…
#singleton