Skip to content

Instantly share code, notes, and snippets.

@pallavtrivedi03
Created August 7, 2022 06:14
Show Gist options
  • Save pallavtrivedi03/75ab334286984f89bc03f312c7bf75a3 to your computer and use it in GitHub Desktop.
Save pallavtrivedi03/75ab334286984f89bc03f312c7bf75a3 to your computer and use it in GitHub Desktop.
class SomeSingletonClass {
static let shared: SomeSingletonClass = SomeSingletonClass()
private init() {}
func foo() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment