Skip to content

Instantly share code, notes, and snippets.

@shabib87
Last active Feb 24, 2017
Embed
What would you like to do?
class Singleton {
static let sharedInstance = Singleton()
private init() {
// do stuff
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment