Created
February 14, 2016 11:28
-
-
Save urouro/ed981ad651ffd6fafead to your computer and use it in GitHub Desktop.
Swift singleton
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 <# ClassName #> { | |
static let sharedInstance = <# ClassName #>() | |
private init() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment