Skip to content

Instantly share code, notes, and snippets.

@beelsebob
Forked from jhoughjr/gist:4643570
Last active December 11, 2015 18:39
Show Gist options
  • Select an option

  • Save beelsebob/4643576 to your computer and use it in GitHub Desktop.

Select an option

Save beelsebob/4643576 to your computer and use it in GitHub Desktop.
+(PHColorSchemeManager*) sharedInstance
{
static PHColorSchemeManager* theInstance = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^()
{
theInstance = [[[self class] alloc] init];
});
return theInstance;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment