Demo entry 6796465

ddsd

   

Submitted by anonymous on May 15, 2019 at 09:12
Language: Objective-C. Code size: 609 Bytes.

+ (instancetype)sharedInstance {
    static id sharedInstance = nil;

    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        sharedInstance = [[self alloc] init];
    });

    return sharedInstance;
}

- (instancetype)init {
    if ((self = [super init]) != nil) {
        self.dashboardViewAllocCount = 0;
        self.splashViewAllocCount = 0;
        self.welcomeViewAllocCount = 0;
        self.registerProductListViewAllocCount = 0;
        self.loadingViewAllocCount = 0;
        self.productNickNameViewAllocCount = 0;
        self.RemoveViewAllocCount = 0;

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).