Created
January 5, 2016 16:15
-
-
Save gblancogarcia/8d653e7ecb39dd2831e7 to your computer and use it in GitHub Desktop.
Swift 2.1: singleton pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AppManager { | |
static let sharedInstance = AppManager() | |
private init () { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment