Created
November 28, 2012 12:13
-
-
Save webdevotion/4160825 to your computer and use it in GitHub Desktop.
Sharedstore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (WDPProductStore *)sharedStore | |
{ | |
static dispatch_once_t once; | |
static WDPProductStore *__sharedStore; | |
dispatch_once(&once, ^ { __sharedStore = [[WDPProductStore alloc] init]; }); | |
return __sharedStore; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment