Skip to content

Instantly share code, notes, and snippets.

@alexcurylo
Last active May 8, 2016 03:46
Show Gist options
  • Save alexcurylo/31a65ee9edf876c3cd62 to your computer and use it in GitHub Desktop.
Save alexcurylo/31a65ee9edf876c3cd62 to your computer and use it in GitHub Desktop.
Correct Swift Singleton
class TheOneAndOnlyKraken {
static let sharedInstance = TheOneAndOnlyKraken()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment