Created
August 18, 2017 20:58
-
-
Save Herakleis/957e659e42d31ebcb697598abd0ab426 to your computer and use it in GitHub Desktop.
Singleton+Template
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
final class Singleton { | |
static let shared = Singleton() | |
private init() { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment