Skip to content

Instantly share code, notes, and snippets.

@ArchieR7
Last active May 4, 2017 06:09
Show Gist options
  • Save ArchieR7/22452b76c9b7b3b7f447d375f7a98724 to your computer and use it in GitHub Desktop.
Save ArchieR7/22452b76c9b7b3b7f447d375f7a98724 to your computer and use it in GitHub Desktop.
singleton by swift
class SingletonDemo {
static let shared = SingletonDemo()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment