123456789101112131415161718192021222324252627282930313233343536 |
- #import "CCShareNetwork.h"
- @implementation CCShareNetwork
- - (id)init
- {
- self =[super init];
-
- if (self) {
-
- }
- return self;
- }
- + (DBSession*)sharedDBSession
- {
- static DBSession* sharedDBSession= nil;
- if (sharedDBSession == nil) {
-
- NSString *appKey = appKeyCryptoCloud;
- NSString *appSecret = appSecretCryptoCloud;
-
- sharedDBSession = [[DBSession alloc] initWithAppKey:appKey appSecret:appSecret root:kDBRootDropbox];
- }
- return sharedDBSession;
- }
- @end
|