GlobalWebController.m 555 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
//  GlobalWebController.m
//  PLUCdraft
//
//  Created by PLUC SeniorDesign on 3/18/15.
//  Copyright (c) 2015 Alexander W. Moore. All rights reserved.
//

#import "GlobalWebController.h"

@implementation GlobalWebController
@synthesize web;
@synthesize isInitialized;

static GlobalWebController *instance = nil;

+(GlobalWebController*) getInstance
{
    @synchronized(self)
    {
        if (instance==nil) {
            instance = [GlobalWebController new];
            instance.isInitialized = false;
        }
    }
    return instance;
}


@end