Showing
64 changed files
with
214 additions
and
242 deletions
No preview for this file type
... | @@ -7,10 +7,10 @@ | ... | @@ -7,10 +7,10 @@ |
7 | objects = { | 7 | objects = { |
8 | 8 | ||
9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
10 | + 2692FA5A21FFFDF900371736 /* Resident.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2692FA5921FFFDF900371736 /* Resident.framework */; }; | ||
10 | 269897F921A54A6500E0AE84 /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269897F821A54A6500E0AE84 /* PoolSdk.framework */; }; | 11 | 269897F921A54A6500E0AE84 /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269897F821A54A6500E0AE84 /* PoolSdk.framework */; }; |
11 | - 26E7F61C21AF9AB1000D6167 /* Extractor.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 26E7F61B21AF9AB1000D6167 /* Extractor.framework */; }; | ||
12 | 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; }; | 12 | 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; }; |
13 | - 846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; }; | 13 | + 846BD2241EE9342700E89A1D /* public_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* public_setting */; }; |
14 | 846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; }; | 14 | 846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; }; |
15 | 847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; }; | 15 | 847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; }; |
16 | 8484E4F51EE7E0DC00B402D1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */; }; | 16 | 8484E4F51EE7E0DC00B402D1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */; }; |
... | @@ -59,11 +59,11 @@ | ... | @@ -59,11 +59,11 @@ |
59 | /* End PBXCopyFilesBuildPhase section */ | 59 | /* End PBXCopyFilesBuildPhase section */ |
60 | 60 | ||
61 | /* Begin PBXFileReference section */ | 61 | /* Begin PBXFileReference section */ |
62 | + 2692FA5921FFFDF900371736 /* Resident.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Resident.framework; sourceTree = "<group>"; }; | ||
62 | 269897F821A54A6500E0AE84 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; | 63 | 269897F821A54A6500E0AE84 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; |
63 | - 26E7F61B21AF9AB1000D6167 /* Extractor.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Extractor.framework; sourceTree = "<group>"; }; | ||
64 | 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; }; | 64 | 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; }; |
65 | 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; | 65 | 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; |
66 | - 846BD21F1EE9342700E89A1D /* pool_setting */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pool_setting; path = poolsdk_file/poolsdk/pool_setting; sourceTree = "<group>"; }; | 66 | + 846BD21F1EE9342700E89A1D /* public_setting */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = public_setting; path = poolsdk_file/poolsdk/public_setting; sourceTree = "<group>"; }; |
67 | 846BD2221EE9342700E89A1D /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; }; | 67 | 846BD2221EE9342700E89A1D /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; }; |
68 | 846BD2231EE9342700E89A1D /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; }; | 68 | 846BD2231EE9342700E89A1D /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; }; |
69 | 847EE5E01EE9007E003A4B7B /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; }; | 69 | 847EE5E01EE9007E003A4B7B /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; }; |
... | @@ -106,8 +106,8 @@ | ... | @@ -106,8 +106,8 @@ |
106 | 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, | 106 | 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, |
107 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, | 107 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, |
108 | 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, | 108 | 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, |
109 | - 26E7F61C21AF9AB1000D6167 /* Extractor.framework in Frameworks */, | ||
110 | 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, | 109 | 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, |
110 | + 2692FA5A21FFFDF900371736 /* Resident.framework in Frameworks */, | ||
111 | 8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */, | 111 | 8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */, |
112 | 8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */, | 112 | 8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */, |
113 | 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */, | 113 | 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */, |
... | @@ -143,10 +143,10 @@ | ... | @@ -143,10 +143,10 @@ |
143 | 8476DF641C4DD71D00EC42BA /* poolsdk */ = { | 143 | 8476DF641C4DD71D00EC42BA /* poolsdk */ = { |
144 | isa = PBXGroup; | 144 | isa = PBXGroup; |
145 | children = ( | 145 | children = ( |
146 | - 26E7F61B21AF9AB1000D6167 /* Extractor.framework */, | 146 | + 2692FA5921FFFDF900371736 /* Resident.framework */, |
147 | 84A090AC1F174E21003D23FB /* TrackingIO.h */, | 147 | 84A090AC1F174E21003D23FB /* TrackingIO.h */, |
148 | 84A090AA1F160A69003D23FB /* TrackingIO.a */, | 148 | 84A090AA1F160A69003D23FB /* TrackingIO.a */, |
149 | - 846BD21F1EE9342700E89A1D /* pool_setting */, | 149 | + 846BD21F1EE9342700E89A1D /* public_setting */, |
150 | 846BD2221EE9342700E89A1D /* SDKInterface.h */, | 150 | 846BD2221EE9342700E89A1D /* SDKInterface.h */, |
151 | 846BD2231EE9342700E89A1D /* SDKInterface.m */, | 151 | 846BD2231EE9342700E89A1D /* SDKInterface.m */, |
152 | 845D181B1C8D778400F27EB9 /* Images.xcassets */, | 152 | 845D181B1C8D778400F27EB9 /* Images.xcassets */, |
... | @@ -315,7 +315,7 @@ | ... | @@ -315,7 +315,7 @@ |
315 | files = ( | 315 | files = ( |
316 | 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */, | 316 | 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */, |
317 | BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */, | 317 | BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */, |
318 | - 846BD2241EE9342700E89A1D /* pool_setting in Resources */, | 318 | + 846BD2241EE9342700E89A1D /* public_setting in Resources */, |
319 | ); | 319 | ); |
320 | runOnlyForDeploymentPostprocessing = 0; | 320 | runOnlyForDeploymentPostprocessing = 0; |
321 | }; | 321 | }; | ... | ... |
No preview for this file type
... | @@ -15,11 +15,11 @@ | ... | @@ -15,11 +15,11 @@ |
15 | - (void)initChecker; | 15 | - (void)initChecker; |
16 | - (void)startCheck:(PoolLoginInfo *)loginInfo; | 16 | - (void)startCheck:(PoolLoginInfo *)loginInfo; |
17 | - (void) createOrder:(PoolCreateOrderInfo *)gzyazfInfo; | 17 | - (void) createOrder:(PoolCreateOrderInfo *)gzyazfInfo; |
18 | -- (void) ExtractorreportOpen; | 18 | +- (void) ResidentreportOpen; |
19 | -- (void) ExtractorreportSDKOpen; | 19 | +- (void) ResidentreportSDKOpen; |
20 | -- (void)ExtractorhandleFirstOpenApp:(NSString*) path; | 20 | +- (void)ResidenthandleFirstOpenApp:(NSString*) path; |
21 | - (void) reportEnter:(PoolReportInfo *)reInfo; | 21 | - (void) reportEnter:(PoolReportInfo *)reInfo; |
22 | -- (void) ExtractorReport:(NSString *)_action :(PoolReportInfo *)reInfo; | 22 | +- (void) ResidentReport:(NSString *)_action :(PoolReportInfo *)reInfo; |
23 | - (void)sendNotice:(PoolSDKNotificationType)notiType | 23 | - (void)sendNotice:(PoolSDKNotificationType)notiType |
24 | notiName:(NSString *)notiName | 24 | notiName:(NSString *)notiName |
25 | statusCode:(int)nCode | 25 | statusCode:(int)nCode |
... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
28 | 28 | ||
29 | - (void)startCheckDelegate:(PoolLoginInfo *)loginInfo; | 29 | - (void)startCheckDelegate:(PoolLoginInfo *)loginInfo; |
30 | 30 | ||
31 | -- (void)ExtractorStartCheckDelegate:(PoolLoginInfo *)loginInfo type:(int)type; | 31 | +- (void)ResidentStartCheckDelegate:(PoolLoginInfo *)loginInfo type:(int)type; |
32 | 32 | ||
33 | /* | 33 | /* |
34 | *初始化时调用 | 34 | *初始化时调用 | ... | ... |
1 | -#import "PoolSdk/ExtractorPoolBaseModel.h" | 1 | +#import "PoolSdk/ResidentPoolBaseModel.h" |
2 | -@interface PoolCreateOrderInfo : ExtractorPoolBaseModel | 2 | +@interface PoolCreateOrderInfo : ResidentPoolBaseModel |
3 | 3 | ||
4 | @property(nonatomic,strong)NSString *serverId;//服务器ID | 4 | @property(nonatomic,strong)NSString *serverId;//服务器ID |
5 | @property(nonatomic, strong)NSString *serverName;//服务器名称 | 5 | @property(nonatomic, strong)NSString *serverName;//服务器名称 |
... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
16 | @property(nonatomic, strong)NSString *userId;//用户ID | 16 | @property(nonatomic, strong)NSString *userId;//用户ID |
17 | @property(nonatomic, strong)NSString *timestamp;//时间戳 | 17 | @property(nonatomic, strong)NSString *timestamp;//时间戳 |
18 | 18 | ||
19 | -- (NSString *) ExtractorGetTsign ; | 19 | +- (NSString *) ResidentGetTsign ; |
20 | -- (NSString *) ExtractorGetTimestamp ; | 20 | +- (NSString *) ResidentGetTimestamp ; |
21 | 21 | ||
22 | @end | 22 | @end | ... | ... |
1 | -#import "PoolSdk/ExtractorPoolBaseModel.h" | 1 | +#import "PoolSdk/ResidentPoolBaseModel.h" |
2 | -@interface PoolLoginInfo : ExtractorPoolBaseModel | 2 | +@interface PoolLoginInfo : ResidentPoolBaseModel |
3 | 3 | ||
4 | @property(nonatomic,strong)NSString *timestamp; | 4 | @property(nonatomic,strong)NSString *timestamp; |
5 | @property(nonatomic, strong)NSString *sign; | 5 | @property(nonatomic, strong)NSString *sign; | ... | ... |
1 | -#import "PoolSdk/ExtractorPoolBaseModel.h" | 1 | +#import "PoolSdk/ResidentPoolBaseModel.h" |
2 | -@interface PoolGzyazfInfo : ExtractorPoolBaseModel | 2 | +@interface PoolGzyazfInfo : ResidentPoolBaseModel |
3 | 3 | ||
4 | @property(nonatomic, strong)NSString *serverId; | 4 | @property(nonatomic, strong)NSString *serverId; |
5 | @property(nonatomic, strong)NSString *queryId; | 5 | @property(nonatomic, strong)NSString *queryId; | ... | ... |
1 | // | 1 | // |
2 | -// ExtractorPoolReportInfo.h | 2 | +// ResidentPoolReportInfo.h |
3 | // PoolSdk | 3 | // PoolSdk |
4 | // | 4 | // |
5 | // Created by winFan on 12/21/15. | 5 | // Created by winFan on 12/21/15. |
6 | // Copyright (c) 2015 winFan. All rights reserved. | 6 | // Copyright (c) 2015 winFan. All rights reserved. |
7 | // | 7 | // |
8 | 8 | ||
9 | -#import "PoolSdk/ExtractorPoolBaseModel.h" | 9 | +#import "PoolSdk/ResidentPoolBaseModel.h" |
10 | -@interface PoolReportInfo : ExtractorPoolBaseModel | 10 | +@interface PoolReportInfo : ResidentPoolBaseModel |
11 | 11 | ||
12 | @property(nonatomic, strong)NSString *reportType;//类型 | 12 | @property(nonatomic, strong)NSString *reportType;//类型 |
13 | @property(nonatomic, strong)NSString *playerId;//玩家ID | 13 | @property(nonatomic, strong)NSString *playerId;//玩家ID | ... | ... |
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | @interface PoolUtils : NSObject | 4 | @interface PoolUtils : NSObject |
5 | 5 | ||
6 | +(NSString *)md5:(NSString *)str; | 6 | +(NSString *)md5:(NSString *)str; |
7 | -+ (NSDictionary *)ExtractorDictionaryWithJsonString:(NSString *)jsonString; | 7 | ++ (NSDictionary *)ResidentDictionaryWithJsonString:(NSString *)jsonString; |
8 | +(NSString *)createGzyazfOrderUrl; | 8 | +(NSString *)createGzyazfOrderUrl; |
9 | //*充值回调地址 | 9 | //*充值回调地址 |
10 | +(NSString *)createGzyazfUrl; | 10 | +(NSString *)createGzyazfUrl; | ... | ... |
... | @@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel) | ... | @@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel) |
11 | ELogError | 11 | ELogError |
12 | }; | 12 | }; |
13 | 13 | ||
14 | -@interface ExtractorDGLogger : NSObject | 14 | +@interface ResidentDGLogger : NSObject |
15 | 15 | ||
16 | + (void)showLog:(NSString *)fmt,...; | 16 | + (void)showLog:(NSString *)fmt,...; |
17 | 17 | ... | ... |
1 | #import <Foundation/Foundation.h> | 1 | #import <Foundation/Foundation.h> |
2 | #import "OtherSetting.h" | 2 | #import "OtherSetting.h" |
3 | 3 | ||
4 | -@interface ExtractorPoolBaseModel : NSObject | 4 | +@interface ResidentPoolBaseModel : NSObject |
5 | 5 | ||
6 | -- (NSString *)ExtractorObjectToJsonString; | 6 | +- (NSString *)ResidentObjectToJsonString; |
7 | - (NSMutableString *)paramAddToString; | 7 | - (NSMutableString *)paramAddToString; |
8 | - (id)initWithDiction:(NSDictionary *)diction; | 8 | - (id)initWithDiction:(NSDictionary *)diction; |
9 | 9 | ... | ... |
No preview for this file type
1 | -#import <UIKit/UIKit.h> | ||
2 | - | ||
3 | -@interface ExtractorIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
4 | - | ||
5 | -@property(nonatomic,strong) NSString* ExtractorDingDanHao; | ||
6 | -@property(nonatomic,strong) NSDictionary* ExtractorHuoWuLieBiao; | ||
7 | -@property(nonatomic,strong) NSMutableArray* ExtractorHuoWuIDLieBiao; | ||
8 | -@property(nonatomic, strong) UITableView *ExtractorHuoWuLieBiaoView; | ||
9 | - | ||
10 | -- (void)ExtractorHuaQianView:(UIViewController*)controller ExtractorHuoWuD:(NSString*)products ExtractorQian:(NSString*)amount ExtractorHuoWuMing:(NSString*)productName ExtractorDingDanHao:(NSString*)DingDanHao; | ||
11 | - | ||
12 | -@end |
1 | -#import <UIKit/UIKit.h> | ||
2 | -#import "StoreKit/StoreKit.h" | ||
3 | - | ||
4 | -@interface ExtractorAllManager : NSObject | ||
5 | -{ | ||
6 | - NSString* ExtractorCKAPPID_; | ||
7 | - NSString* ExtractorCKAPPKEY_; | ||
8 | - | ||
9 | - NSString* ExtractorInviterCode_; | ||
10 | -} | ||
11 | - | ||
12 | -@property bool ExtractorGeiWoHuaQianBa; | ||
13 | - | ||
14 | -+ (ExtractorAllManager *)ExtractorInstance; | ||
15 | - | ||
16 | -- (void)ExtractorChuShiHua; | ||
17 | - | ||
18 | -- (void)ExtractorDengLu:(NSString *)ExtractorCKAPPID : (NSString *)ExtractorCKAPPKEY : (UIViewController *)controller; | ||
19 | - | ||
20 | -- (void)ExtractorYangShi:(NSString*)ExtractorLeiXing; | ||
21 | - | ||
22 | -- (void)ExtractorCKQuery: (NSString *)ExtractorFuWuQiID : (NSString *)ExtractorNickName : (NSNumber *)ExtractorAmount : (NSString *)ExtractorCallBack : (UIViewController *)controller : (NSString *)ExtractorServerName; | ||
23 | - | ||
24 | -- (void)ExtractorCKQueryOperation:(UIViewController*)controll ExtractorHuoWuID:(NSString*)products ExtractorJiaGe:(NSString*)amount ExtractorHuoWuMing:(NSString*)productName ExtractorDingDanHao:(NSString*) DingDanHao; | ||
25 | - | ||
26 | - | ||
27 | - | ||
28 | -@end |
1 | -#import <Foundation/Foundation.h> | ||
2 | - | ||
3 | -extern NSString * const ExtractorCKAssetsExitNotification; | ||
4 | -extern NSString * const ExtractorCKAssetsLoginNotification; | ||
5 | -extern NSString * const ExtractorCKAssetsErrorNotification; | ||
6 | - | ||
7 | - | ||
8 | -@interface ExtractorHuiTiaoNotification : NSObject | ||
9 | - | ||
10 | -@end |
1 | -#import <Foundation/Foundation.h> | ||
2 | - | ||
3 | -@interface ExtractorHungry : NSObject | ||
4 | - | ||
5 | -+(void)ExtractorQsad; | ||
6 | --(void)ExtractorQsad123; | ||
7 | -+(void)ExtractorQsagfhd; | ||
8 | --(void)ExtractorQsavbnd; | ||
9 | -+(void)ExtractorQsavbnd; | ||
10 | --(void)ExtractorQsafgd; | ||
11 | -+(void)ExtractorQsiuad; | ||
12 | - | ||
13 | - | ||
14 | - | ||
15 | -@end |
1 | +#import <UIKit/UIKit.h> | ||
2 | + | ||
3 | +@interface ResidentIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
4 | + | ||
5 | +@property(nonatomic,strong) NSString* ResidentDingDanHao; | ||
6 | +@property(nonatomic,strong) NSDictionary* ResidentHuoWuLieBiao; | ||
7 | +@property(nonatomic,strong) NSMutableArray* ResidentHuoWuIDLieBiao; | ||
8 | +@property(nonatomic, strong) UITableView *ResidentHuoWuLieBiaoView; | ||
9 | + | ||
10 | +- (void)ResidentHuaQianView:(UIViewController*)controller ResidentHuoWuD:(NSString*)products ResidentQian:(NSString*)amount ResidentHuoWuMing:(NSString*)productName ResidentDingDanHao:(NSString*)DingDanHao; | ||
11 | + | ||
12 | +@end |
1 | +#import <UIKit/UIKit.h> | ||
2 | +#import "StoreKit/StoreKit.h" | ||
3 | + | ||
4 | +@interface ResidentAllManager : NSObject | ||
5 | +{ | ||
6 | + NSString* ResidentAPPID_; | ||
7 | + NSString* ResidentAPPKEY_; | ||
8 | + | ||
9 | + NSString* ResidentInviterCode_; | ||
10 | +} | ||
11 | + | ||
12 | +@property bool ResidentGeiWoHuaQianBa; | ||
13 | + | ||
14 | ++ (ResidentAllManager *)ResidentInstance; | ||
15 | + | ||
16 | +- (void)ResidentChuShiHua; | ||
17 | + | ||
18 | +- (void)ResidentDengLu:(NSString *)ResidentAPPID : (NSString *)ResidentAPPKEY : (UIViewController *)controller; | ||
19 | + | ||
20 | +- (void)ResidentYangShi:(NSString*)ResidentLeiXing; | ||
21 | + | ||
22 | +- (void)ResidentQuery: (NSString *)ResidentFuWuQiID : (NSString *)ResidentNickName : (NSNumber *)ResidentAmount : (NSString *)ResidentCallBack : (UIViewController *)controller : (NSString *)ResidentServerName; | ||
23 | + | ||
24 | +- (void)ResidentQueryOperation:(UIViewController*)controll ResidentHuoWuID:(NSString*)products ResidentJiaGe:(NSString*)amount ResidentHuoWuMing:(NSString*)productName ResidentDingDanHao:(NSString*) DingDanHao; | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | +@end |
1 | #import <Foundation/Foundation.h> | 1 | #import <Foundation/Foundation.h> |
2 | 2 | ||
3 | -@interface ExtractorMessage : NSObject | 3 | +@interface ResidentInformation : NSObject |
4 | { | 4 | { |
5 | // | 5 | // |
6 | NSString *openId; | 6 | NSString *openId; |
... | @@ -12,5 +12,5 @@ NSString *timestamp; | ... | @@ -12,5 +12,5 @@ NSString *timestamp; |
12 | @property(retain,nonatomic) NSString *openId; | 12 | @property(retain,nonatomic) NSString *openId; |
13 | @property(retain,nonatomic) NSString *token; | 13 | @property(retain,nonatomic) NSString *token; |
14 | @property(retain,nonatomic) NSString *timestamp; | 14 | @property(retain,nonatomic) NSString *timestamp; |
15 | -+ (ExtractorMessage *)getInstance; | 15 | ++ (ResidentInformation *)getInstance; |
16 | @end | 16 | @end | ... | ... |
1 | #import <UIKit/UIKit.h> | 1 | #import <UIKit/UIKit.h> |
2 | -#import "ExtractorMessage.h" | 2 | +#import "ResidentInformation.h" |
3 | #import <JavaScriptCore/JavaScriptCore.h> | 3 | #import <JavaScriptCore/JavaScriptCore.h> |
4 | 4 | ||
5 | -@interface ExtractorMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> | 5 | +@interface ResidentMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> |
6 | { | 6 | { |
7 | UIWebView *webView_; | 7 | UIWebView *webView_; |
8 | UIActivityIndicatorView *activityIndicator; | 8 | UIActivityIndicatorView *activityIndicator; |
9 | } | 9 | } |
10 | 10 | ||
11 | -@property(assign) BOOL ExtractorYouYuanJiao; | 11 | +@property(assign) BOOL ResidentYouYuanJiao; |
12 | 12 | ||
13 | -- (void)ExtractorSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; | 13 | +- (void)ResidentSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; |
14 | -- (void)ExtractorChuShiHuaWebView; | 14 | +- (void)ResidentChuShiHuaWebView; |
15 | - (void)loadWebPageWithString:(NSString *)url; | 15 | - (void)loadWebPageWithString:(NSString *)url; |
16 | - (void)loadWebPageWithJs:(NSString *)content; | 16 | - (void)loadWebPageWithJs:(NSString *)content; |
17 | - (void)postNotification:(NSString *)name : (NSString *)code; | 17 | - (void)postNotification:(NSString *)name : (NSString *)code; | ... | ... |
No preview for this file type
No preview for this file type
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | <string>Editor</string> | 35 | <string>Editor</string> |
36 | <key>CFBundleURLSchemes</key> | 36 | <key>CFBundleURLSchemes</key> |
37 | <array> | 37 | <array> |
38 | - <string>i9133public</string> | 38 | + <string>sdk.uuufish.com</string> |
39 | </array> | 39 | </array> |
40 | </dict> | 40 | </dict> |
41 | </array> | 41 | </array> | ... | ... |
1 | #include "SDKInterface.h" | 1 | #include "SDKInterface.h" |
2 | #import <UIKit/UIKit.h> | 2 | #import <UIKit/UIKit.h> |
3 | 3 | ||
4 | -#import "Extractor/ExtractorAllManager.h" | 4 | +#import "Resident/ResidentAllManager.h" |
5 | -#import "Extractor/ExtractorHuiTiaoNotification.h" | 5 | +#import "Resident/ResidentHuiTiaoNotification.h" |
6 | -#import "Extractor/ExtractorMessage.h" | 6 | +#import "Resident/ResidentInformation.h" |
7 | 7 | ||
8 | #import "TrackingIO.h" | 8 | #import "TrackingIO.h" |
9 | 9 | ||
10 | @implementation SDKInterface : Interface | 10 | @implementation SDKInterface : Interface |
11 | 11 | ||
12 | int mExchange; | 12 | int mExchange; |
13 | -NSString *ExtractorAppId; | 13 | +NSString *ResidentAppId; |
14 | -NSString *ExtractorAppKey; | 14 | +NSString *ResidentAppKey; |
15 | 15 | ||
16 | - (void)SDKinit:(UIViewController *) control | 16 | - (void)SDKinit:(UIViewController *) control |
17 | { | 17 | { |
... | @@ -19,10 +19,10 @@ NSString *ExtractorAppKey; | ... | @@ -19,10 +19,10 @@ NSString *ExtractorAppKey; |
19 | [super SDKinit:control]; | 19 | [super SDKinit:control]; |
20 | 20 | ||
21 | [PoolConfig getInstance]; | 21 | [PoolConfig getInstance]; |
22 | - [[ExtractorAllManager ExtractorInstance]ExtractorChuShiHua]; | 22 | + [[ResidentAllManager ResidentInstance]ResidentChuShiHua]; |
23 | - [[ExtractorAllManager ExtractorInstance]ExtractorYangShi:@"sdk"]; | 23 | + [[ResidentAllManager ResidentInstance]ResidentYangShi:@"sdk"]; |
24 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ExtractorCKAssetsLoginNotification object:nil]; | 24 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ResidentLoginNotification object:nil]; |
25 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"ExtractorCKAssetsToolCallBack" object:nil]; | 25 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"ResidentToolCallBack" object:nil]; |
26 | 26 | ||
27 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; | 27 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; |
28 | 28 | ||
... | @@ -39,9 +39,9 @@ NSString *ExtractorAppKey; | ... | @@ -39,9 +39,9 @@ NSString *ExtractorAppKey; |
39 | - (void)SDKloginSDK | 39 | - (void)SDKloginSDK |
40 | { | 40 | { |
41 | //APPID APPKEY | 41 | //APPID APPKEY |
42 | - ExtractorAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; | 42 | + ResidentAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; |
43 | - ExtractorAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; | 43 | + ResidentAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; |
44 | - [[ExtractorAllManager ExtractorInstance]ExtractorDengLu:ExtractorAppId :ExtractorAppKey :self.controller]; | 44 | + [[ResidentAllManager ResidentInstance]ResidentDengLu:ResidentAppId :ResidentAppKey :self.controller]; |
45 | 45 | ||
46 | } | 46 | } |
47 | 47 | ||
... | @@ -52,9 +52,9 @@ NSString *ExtractorAppKey; | ... | @@ -52,9 +52,9 @@ NSString *ExtractorAppKey; |
52 | { | 52 | { |
53 | NSLog(@"loginchek"); | 53 | NSLog(@"loginchek"); |
54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; | 54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; |
55 | - loginInfo.openId = [[ExtractorMessage getInstance]openId]; | 55 | + loginInfo.openId = [[ResidentInformation getInstance]openId]; |
56 | - loginInfo.sign = [[ExtractorMessage getInstance] token]; | 56 | + loginInfo.sign = [[ResidentInformation getInstance] token]; |
57 | - loginInfo.timestamp = [[ExtractorMessage getInstance] timestamp]; | 57 | + loginInfo.timestamp = [[ResidentInformation getInstance] timestamp]; |
58 | 58 | ||
59 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ | 59 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ |
60 | [[PoolChecker getInstance] startCheck:loginInfo]; | 60 | [[PoolChecker getInstance] startCheck:loginInfo]; |
... | @@ -82,7 +82,7 @@ NSString *ExtractorAppKey; | ... | @@ -82,7 +82,7 @@ NSString *ExtractorAppKey; |
82 | { | 82 | { |
83 | NSDictionary* payResultDic = notification.object; | 83 | NSDictionary* payResultDic = notification.object; |
84 | 84 | ||
85 | - NSString* receiptStr = [payResultDic objectForKey:@"ExtractorCKAssetsToolResult"]; | 85 | + NSString* receiptStr = [payResultDic objectForKey:@"ResidentToolResult"]; |
86 | NSString* queryId = [payResultDic objectForKey:@"query_id"]; | 86 | NSString* queryId = [payResultDic objectForKey:@"query_id"]; |
87 | 87 | ||
88 | NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; | 88 | NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; |
... | @@ -216,10 +216,10 @@ NSString *ExtractorAppKey; | ... | @@ -216,10 +216,10 @@ NSString *ExtractorAppKey; |
216 | NSString *other = [payInfo other]; | 216 | NSString *other = [payInfo other]; |
217 | 217 | ||
218 | if (other && [other length] > 0) { | 218 | if (other && [other length] > 0) { |
219 | - [[ExtractorAllManager ExtractorInstance] ExtractorCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; | 219 | + [[ResidentAllManager ResidentInstance] ResidentQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; |
220 | }else{ | 220 | }else{ |
221 | NSString* products = [payInfo products]; | 221 | NSString* products = [payInfo products]; |
222 | - [[ExtractorAllManager ExtractorInstance] ExtractorCKQueryOperation:self.controller ExtractorHuoWuID:products ExtractorJiaGe:[payInfo postAmount] ExtractorHuoWuMing:[payInfo productName] ExtractorDingDanHao:queryId]; | 222 | + [[ResidentAllManager ResidentInstance] ResidentQueryOperation:self.controller ResidentHuoWuID:products ResidentJiaGe:[payInfo postAmount] ResidentHuoWuMing:[payInfo productName] ResidentDingDanHao:queryId]; |
223 | } | 223 | } |
224 | } | 224 | } |
225 | 225 | ... | ... |
File moved
1 | 新接入请参考对接文档和demo<br> | 1 | 新接入请参考对接文档和demo<br> |
2 | 2 | ||
3 | -2018-11-29:<br> | ||
4 | -1、``` 删除pool_file文件夹中原framework ``` <br> | ||
5 | -2、引入 ``` Extractor.framework ``` <br> | ||
6 | -3、替换 ``` SDKInterface.m文件 ``` <br> | ||
7 | -4、替换 ``` PoolSdk.framework ``` <br> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
3 | +2019-01-29:<br> | ||
4 | +1、``` 删除poolsdk_file文件夹中原来framework ``` <br> | ||
5 | +2、``` 引入poolsdk_file文件夹中Resident.framework ``` <br> | ||
6 | +3、``` 替换SDKInterface.m文件 ``` <br> | ||
7 | +4、``` 替换PoolSdk.framework ``` <br> | ||
8 | +5、``` 原 URL Schemes 中的 i9133public 改为 sdk.uuufish.com (可参考demo中info设置) ``` <br> | ||
9 | +6、``` 原pool_setting文件 替换成新 public_setting文件 ``` <br> | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
No preview for this file type
... | @@ -15,11 +15,11 @@ | ... | @@ -15,11 +15,11 @@ |
15 | - (void)initChecker; | 15 | - (void)initChecker; |
16 | - (void)startCheck:(PoolLoginInfo *)loginInfo; | 16 | - (void)startCheck:(PoolLoginInfo *)loginInfo; |
17 | - (void) createOrder:(PoolCreateOrderInfo *)gzyazfInfo; | 17 | - (void) createOrder:(PoolCreateOrderInfo *)gzyazfInfo; |
18 | -- (void) ExtractorreportOpen; | 18 | +- (void) ResidentreportOpen; |
19 | -- (void) ExtractorreportSDKOpen; | 19 | +- (void) ResidentreportSDKOpen; |
20 | -- (void)ExtractorhandleFirstOpenApp:(NSString*) path; | 20 | +- (void)ResidenthandleFirstOpenApp:(NSString*) path; |
21 | - (void) reportEnter:(PoolReportInfo *)reInfo; | 21 | - (void) reportEnter:(PoolReportInfo *)reInfo; |
22 | -- (void) ExtractorReport:(NSString *)_action :(PoolReportInfo *)reInfo; | 22 | +- (void) ResidentReport:(NSString *)_action :(PoolReportInfo *)reInfo; |
23 | - (void)sendNotice:(PoolSDKNotificationType)notiType | 23 | - (void)sendNotice:(PoolSDKNotificationType)notiType |
24 | notiName:(NSString *)notiName | 24 | notiName:(NSString *)notiName |
25 | statusCode:(int)nCode | 25 | statusCode:(int)nCode |
... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
28 | 28 | ||
29 | - (void)startCheckDelegate:(PoolLoginInfo *)loginInfo; | 29 | - (void)startCheckDelegate:(PoolLoginInfo *)loginInfo; |
30 | 30 | ||
31 | -- (void)ExtractorStartCheckDelegate:(PoolLoginInfo *)loginInfo type:(int)type; | 31 | +- (void)ResidentStartCheckDelegate:(PoolLoginInfo *)loginInfo type:(int)type; |
32 | 32 | ||
33 | /* | 33 | /* |
34 | *初始化时调用 | 34 | *初始化时调用 | ... | ... |
1 | -#import "PoolSdk/ExtractorPoolBaseModel.h" | 1 | +#import "PoolSdk/ResidentPoolBaseModel.h" |
2 | -@interface PoolCreateOrderInfo : ExtractorPoolBaseModel | 2 | +@interface PoolCreateOrderInfo : ResidentPoolBaseModel |
3 | 3 | ||
4 | @property(nonatomic,strong)NSString *serverId;//服务器ID | 4 | @property(nonatomic,strong)NSString *serverId;//服务器ID |
5 | @property(nonatomic, strong)NSString *serverName;//服务器名称 | 5 | @property(nonatomic, strong)NSString *serverName;//服务器名称 |
... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
16 | @property(nonatomic, strong)NSString *userId;//用户ID | 16 | @property(nonatomic, strong)NSString *userId;//用户ID |
17 | @property(nonatomic, strong)NSString *timestamp;//时间戳 | 17 | @property(nonatomic, strong)NSString *timestamp;//时间戳 |
18 | 18 | ||
19 | -- (NSString *) ExtractorGetTsign ; | 19 | +- (NSString *) ResidentGetTsign ; |
20 | -- (NSString *) ExtractorGetTimestamp ; | 20 | +- (NSString *) ResidentGetTimestamp ; |
21 | 21 | ||
22 | @end | 22 | @end | ... | ... |
1 | -#import "PoolSdk/ExtractorPoolBaseModel.h" | 1 | +#import "PoolSdk/ResidentPoolBaseModel.h" |
2 | -@interface PoolLoginInfo : ExtractorPoolBaseModel | 2 | +@interface PoolLoginInfo : ResidentPoolBaseModel |
3 | 3 | ||
4 | @property(nonatomic,strong)NSString *timestamp; | 4 | @property(nonatomic,strong)NSString *timestamp; |
5 | @property(nonatomic, strong)NSString *sign; | 5 | @property(nonatomic, strong)NSString *sign; | ... | ... |
1 | -#import "PoolSdk/ExtractorPoolBaseModel.h" | 1 | +#import "PoolSdk/ResidentPoolBaseModel.h" |
2 | -@interface PoolGzyazfInfo : ExtractorPoolBaseModel | 2 | +@interface PoolGzyazfInfo : ResidentPoolBaseModel |
3 | 3 | ||
4 | @property(nonatomic, strong)NSString *serverId; | 4 | @property(nonatomic, strong)NSString *serverId; |
5 | @property(nonatomic, strong)NSString *queryId; | 5 | @property(nonatomic, strong)NSString *queryId; | ... | ... |
1 | // | 1 | // |
2 | -// ExtractorPoolReportInfo.h | 2 | +// ResidentPoolReportInfo.h |
3 | // PoolSdk | 3 | // PoolSdk |
4 | // | 4 | // |
5 | // Created by winFan on 12/21/15. | 5 | // Created by winFan on 12/21/15. |
6 | // Copyright (c) 2015 winFan. All rights reserved. | 6 | // Copyright (c) 2015 winFan. All rights reserved. |
7 | // | 7 | // |
8 | 8 | ||
9 | -#import "PoolSdk/ExtractorPoolBaseModel.h" | 9 | +#import "PoolSdk/ResidentPoolBaseModel.h" |
10 | -@interface PoolReportInfo : ExtractorPoolBaseModel | 10 | +@interface PoolReportInfo : ResidentPoolBaseModel |
11 | 11 | ||
12 | @property(nonatomic, strong)NSString *reportType;//类型 | 12 | @property(nonatomic, strong)NSString *reportType;//类型 |
13 | @property(nonatomic, strong)NSString *playerId;//玩家ID | 13 | @property(nonatomic, strong)NSString *playerId;//玩家ID | ... | ... |
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | @interface PoolUtils : NSObject | 4 | @interface PoolUtils : NSObject |
5 | 5 | ||
6 | +(NSString *)md5:(NSString *)str; | 6 | +(NSString *)md5:(NSString *)str; |
7 | -+ (NSDictionary *)ExtractorDictionaryWithJsonString:(NSString *)jsonString; | 7 | ++ (NSDictionary *)ResidentDictionaryWithJsonString:(NSString *)jsonString; |
8 | +(NSString *)createGzyazfOrderUrl; | 8 | +(NSString *)createGzyazfOrderUrl; |
9 | //*充值回调地址 | 9 | //*充值回调地址 |
10 | +(NSString *)createGzyazfUrl; | 10 | +(NSString *)createGzyazfUrl; | ... | ... |
... | @@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel) | ... | @@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel) |
11 | ELogError | 11 | ELogError |
12 | }; | 12 | }; |
13 | 13 | ||
14 | -@interface ExtractorDGLogger : NSObject | 14 | +@interface ResidentDGLogger : NSObject |
15 | 15 | ||
16 | + (void)showLog:(NSString *)fmt,...; | 16 | + (void)showLog:(NSString *)fmt,...; |
17 | 17 | ... | ... |
1 | #import <Foundation/Foundation.h> | 1 | #import <Foundation/Foundation.h> |
2 | #import "OtherSetting.h" | 2 | #import "OtherSetting.h" |
3 | 3 | ||
4 | -@interface ExtractorPoolBaseModel : NSObject | 4 | +@interface ResidentPoolBaseModel : NSObject |
5 | 5 | ||
6 | -- (NSString *)ExtractorObjectToJsonString; | 6 | +- (NSString *)ResidentObjectToJsonString; |
7 | - (NSMutableString *)paramAddToString; | 7 | - (NSMutableString *)paramAddToString; |
8 | - (id)initWithDiction:(NSDictionary *)diction; | 8 | - (id)initWithDiction:(NSDictionary *)diction; |
9 | 9 | ... | ... |
No preview for this file type
1 | -#import <UIKit/UIKit.h> | ||
2 | - | ||
3 | -@interface ExtractorIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
4 | - | ||
5 | -@property(nonatomic,strong) NSString* ExtractorDingDanHao; | ||
6 | -@property(nonatomic,strong) NSDictionary* ExtractorHuoWuLieBiao; | ||
7 | -@property(nonatomic,strong) NSMutableArray* ExtractorHuoWuIDLieBiao; | ||
8 | -@property(nonatomic, strong) UITableView *ExtractorHuoWuLieBiaoView; | ||
9 | - | ||
10 | -- (void)ExtractorHuaQianView:(UIViewController*)controller ExtractorHuoWuD:(NSString*)products ExtractorQian:(NSString*)amount ExtractorHuoWuMing:(NSString*)productName ExtractorDingDanHao:(NSString*)DingDanHao; | ||
11 | - | ||
12 | -@end |
1 | -#import <UIKit/UIKit.h> | ||
2 | -#import "StoreKit/StoreKit.h" | ||
3 | - | ||
4 | -@interface ExtractorAllManager : NSObject | ||
5 | -{ | ||
6 | - NSString* ExtractorCKAPPID_; | ||
7 | - NSString* ExtractorCKAPPKEY_; | ||
8 | - | ||
9 | - NSString* ExtractorInviterCode_; | ||
10 | -} | ||
11 | - | ||
12 | -@property bool ExtractorGeiWoHuaQianBa; | ||
13 | - | ||
14 | -+ (ExtractorAllManager *)ExtractorInstance; | ||
15 | - | ||
16 | -- (void)ExtractorChuShiHua; | ||
17 | - | ||
18 | -- (void)ExtractorDengLu:(NSString *)ExtractorCKAPPID : (NSString *)ExtractorCKAPPKEY : (UIViewController *)controller; | ||
19 | - | ||
20 | -- (void)ExtractorYangShi:(NSString*)ExtractorLeiXing; | ||
21 | - | ||
22 | -- (void)ExtractorCKQuery: (NSString *)ExtractorFuWuQiID : (NSString *)ExtractorNickName : (NSNumber *)ExtractorAmount : (NSString *)ExtractorCallBack : (UIViewController *)controller : (NSString *)ExtractorServerName; | ||
23 | - | ||
24 | -- (void)ExtractorCKQueryOperation:(UIViewController*)controll ExtractorHuoWuID:(NSString*)products ExtractorJiaGe:(NSString*)amount ExtractorHuoWuMing:(NSString*)productName ExtractorDingDanHao:(NSString*) DingDanHao; | ||
25 | - | ||
26 | - | ||
27 | - | ||
28 | -@end |
1 | -#import <Foundation/Foundation.h> | ||
2 | - | ||
3 | -extern NSString * const ExtractorCKAssetsExitNotification; | ||
4 | -extern NSString * const ExtractorCKAssetsLoginNotification; | ||
5 | -extern NSString * const ExtractorCKAssetsErrorNotification; | ||
6 | - | ||
7 | - | ||
8 | -@interface ExtractorHuiTiaoNotification : NSObject | ||
9 | - | ||
10 | -@end |
1 | -#import <Foundation/Foundation.h> | ||
2 | - | ||
3 | -@interface ExtractorHungry : NSObject | ||
4 | - | ||
5 | -+(void)ExtractorQsad; | ||
6 | --(void)ExtractorQsad123; | ||
7 | -+(void)ExtractorQsagfhd; | ||
8 | --(void)ExtractorQsavbnd; | ||
9 | -+(void)ExtractorQsavbnd; | ||
10 | --(void)ExtractorQsafgd; | ||
11 | -+(void)ExtractorQsiuad; | ||
12 | - | ||
13 | - | ||
14 | - | ||
15 | -@end |
1 | +#import <UIKit/UIKit.h> | ||
2 | + | ||
3 | +@interface ResidentIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
4 | + | ||
5 | +@property(nonatomic,strong) NSString* ResidentDingDanHao; | ||
6 | +@property(nonatomic,strong) NSDictionary* ResidentHuoWuLieBiao; | ||
7 | +@property(nonatomic,strong) NSMutableArray* ResidentHuoWuIDLieBiao; | ||
8 | +@property(nonatomic, strong) UITableView *ResidentHuoWuLieBiaoView; | ||
9 | + | ||
10 | +- (void)ResidentHuaQianView:(UIViewController*)controller ResidentHuoWuD:(NSString*)products ResidentQian:(NSString*)amount ResidentHuoWuMing:(NSString*)productName ResidentDingDanHao:(NSString*)DingDanHao; | ||
11 | + | ||
12 | +@end |
1 | +#import <UIKit/UIKit.h> | ||
2 | +#import "StoreKit/StoreKit.h" | ||
3 | + | ||
4 | +@interface ResidentAllManager : NSObject | ||
5 | +{ | ||
6 | + NSString* ResidentAPPID_; | ||
7 | + NSString* ResidentAPPKEY_; | ||
8 | + | ||
9 | + NSString* ResidentInviterCode_; | ||
10 | +} | ||
11 | + | ||
12 | +@property bool ResidentGeiWoHuaQianBa; | ||
13 | + | ||
14 | ++ (ResidentAllManager *)ResidentInstance; | ||
15 | + | ||
16 | +- (void)ResidentChuShiHua; | ||
17 | + | ||
18 | +- (void)ResidentDengLu:(NSString *)ResidentAPPID : (NSString *)ResidentAPPKEY : (UIViewController *)controller; | ||
19 | + | ||
20 | +- (void)ResidentYangShi:(NSString*)ResidentLeiXing; | ||
21 | + | ||
22 | +- (void)ResidentQuery: (NSString *)ResidentFuWuQiID : (NSString *)ResidentNickName : (NSNumber *)ResidentAmount : (NSString *)ResidentCallBack : (UIViewController *)controller : (NSString *)ResidentServerName; | ||
23 | + | ||
24 | +- (void)ResidentQueryOperation:(UIViewController*)controll ResidentHuoWuID:(NSString*)products ResidentJiaGe:(NSString*)amount ResidentHuoWuMing:(NSString*)productName ResidentDingDanHao:(NSString*) DingDanHao; | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | +@end |
1 | #import <Foundation/Foundation.h> | 1 | #import <Foundation/Foundation.h> |
2 | 2 | ||
3 | -@interface ExtractorMessage : NSObject | 3 | +@interface ResidentInformation : NSObject |
4 | { | 4 | { |
5 | // | 5 | // |
6 | NSString *openId; | 6 | NSString *openId; |
... | @@ -12,5 +12,5 @@ NSString *timestamp; | ... | @@ -12,5 +12,5 @@ NSString *timestamp; |
12 | @property(retain,nonatomic) NSString *openId; | 12 | @property(retain,nonatomic) NSString *openId; |
13 | @property(retain,nonatomic) NSString *token; | 13 | @property(retain,nonatomic) NSString *token; |
14 | @property(retain,nonatomic) NSString *timestamp; | 14 | @property(retain,nonatomic) NSString *timestamp; |
15 | -+ (ExtractorMessage *)getInstance; | 15 | ++ (ResidentInformation *)getInstance; |
16 | @end | 16 | @end | ... | ... |
1 | #import <UIKit/UIKit.h> | 1 | #import <UIKit/UIKit.h> |
2 | -#import "ExtractorMessage.h" | 2 | +#import "ResidentInformation.h" |
3 | #import <JavaScriptCore/JavaScriptCore.h> | 3 | #import <JavaScriptCore/JavaScriptCore.h> |
4 | 4 | ||
5 | -@interface ExtractorMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> | 5 | +@interface ResidentMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> |
6 | { | 6 | { |
7 | UIWebView *webView_; | 7 | UIWebView *webView_; |
8 | UIActivityIndicatorView *activityIndicator; | 8 | UIActivityIndicatorView *activityIndicator; |
9 | } | 9 | } |
10 | 10 | ||
11 | -@property(assign) BOOL ExtractorYouYuanJiao; | 11 | +@property(assign) BOOL ResidentYouYuanJiao; |
12 | 12 | ||
13 | -- (void)ExtractorSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; | 13 | +- (void)ResidentSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; |
14 | -- (void)ExtractorChuShiHuaWebView; | 14 | +- (void)ResidentChuShiHuaWebView; |
15 | - (void)loadWebPageWithString:(NSString *)url; | 15 | - (void)loadWebPageWithString:(NSString *)url; |
16 | - (void)loadWebPageWithJs:(NSString *)content; | 16 | - (void)loadWebPageWithJs:(NSString *)content; |
17 | - (void)postNotification:(NSString *)name : (NSString *)code; | 17 | - (void)postNotification:(NSString *)name : (NSString *)code; | ... | ... |
No preview for this file type
No preview for this file type
1 | #include "SDKInterface.h" | 1 | #include "SDKInterface.h" |
2 | #import <UIKit/UIKit.h> | 2 | #import <UIKit/UIKit.h> |
3 | 3 | ||
4 | -#import "Extractor/ExtractorAllManager.h" | 4 | +#import "Resident/ResidentAllManager.h" |
5 | -#import "Extractor/ExtractorHuiTiaoNotification.h" | 5 | +#import "Resident/ResidentHuiTiaoNotification.h" |
6 | -#import "Extractor/ExtractorMessage.h" | 6 | +#import "Resident/ResidentInformation.h" |
7 | 7 | ||
8 | #import "TrackingIO.h" | 8 | #import "TrackingIO.h" |
9 | 9 | ||
10 | @implementation SDKInterface : Interface | 10 | @implementation SDKInterface : Interface |
11 | 11 | ||
12 | int mExchange; | 12 | int mExchange; |
13 | -NSString *ExtractorAppId; | 13 | +NSString *ResidentAppId; |
14 | -NSString *ExtractorAppKey; | 14 | +NSString *ResidentAppKey; |
15 | 15 | ||
16 | - (void)SDKinit:(UIViewController *) control | 16 | - (void)SDKinit:(UIViewController *) control |
17 | { | 17 | { |
... | @@ -19,10 +19,10 @@ NSString *ExtractorAppKey; | ... | @@ -19,10 +19,10 @@ NSString *ExtractorAppKey; |
19 | [super SDKinit:control]; | 19 | [super SDKinit:control]; |
20 | 20 | ||
21 | [PoolConfig getInstance]; | 21 | [PoolConfig getInstance]; |
22 | - [[ExtractorAllManager ExtractorInstance]ExtractorChuShiHua]; | 22 | + [[ResidentAllManager ResidentInstance]ResidentChuShiHua]; |
23 | - [[ExtractorAllManager ExtractorInstance]ExtractorYangShi:@"sdk"]; | 23 | + [[ResidentAllManager ResidentInstance]ResidentYangShi:@"sdk"]; |
24 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ExtractorCKAssetsLoginNotification object:nil]; | 24 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ResidentLoginNotification object:nil]; |
25 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"ExtractorCKAssetsToolCallBack" object:nil]; | 25 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"ResidentToolCallBack" object:nil]; |
26 | 26 | ||
27 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; | 27 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; |
28 | 28 | ||
... | @@ -39,9 +39,9 @@ NSString *ExtractorAppKey; | ... | @@ -39,9 +39,9 @@ NSString *ExtractorAppKey; |
39 | - (void)SDKloginSDK | 39 | - (void)SDKloginSDK |
40 | { | 40 | { |
41 | //APPID APPKEY | 41 | //APPID APPKEY |
42 | - ExtractorAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; | 42 | + ResidentAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; |
43 | - ExtractorAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; | 43 | + ResidentAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; |
44 | - [[ExtractorAllManager ExtractorInstance]ExtractorDengLu:ExtractorAppId :ExtractorAppKey :self.controller]; | 44 | + [[ResidentAllManager ResidentInstance]ResidentDengLu:ResidentAppId :ResidentAppKey :self.controller]; |
45 | 45 | ||
46 | } | 46 | } |
47 | 47 | ||
... | @@ -52,9 +52,9 @@ NSString *ExtractorAppKey; | ... | @@ -52,9 +52,9 @@ NSString *ExtractorAppKey; |
52 | { | 52 | { |
53 | NSLog(@"loginchek"); | 53 | NSLog(@"loginchek"); |
54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; | 54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; |
55 | - loginInfo.openId = [[ExtractorMessage getInstance]openId]; | 55 | + loginInfo.openId = [[ResidentInformation getInstance]openId]; |
56 | - loginInfo.sign = [[ExtractorMessage getInstance] token]; | 56 | + loginInfo.sign = [[ResidentInformation getInstance] token]; |
57 | - loginInfo.timestamp = [[ExtractorMessage getInstance] timestamp]; | 57 | + loginInfo.timestamp = [[ResidentInformation getInstance] timestamp]; |
58 | 58 | ||
59 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ | 59 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ |
60 | [[PoolChecker getInstance] startCheck:loginInfo]; | 60 | [[PoolChecker getInstance] startCheck:loginInfo]; |
... | @@ -82,7 +82,7 @@ NSString *ExtractorAppKey; | ... | @@ -82,7 +82,7 @@ NSString *ExtractorAppKey; |
82 | { | 82 | { |
83 | NSDictionary* payResultDic = notification.object; | 83 | NSDictionary* payResultDic = notification.object; |
84 | 84 | ||
85 | - NSString* receiptStr = [payResultDic objectForKey:@"ExtractorCKAssetsToolResult"]; | 85 | + NSString* receiptStr = [payResultDic objectForKey:@"ResidentToolResult"]; |
86 | NSString* queryId = [payResultDic objectForKey:@"query_id"]; | 86 | NSString* queryId = [payResultDic objectForKey:@"query_id"]; |
87 | 87 | ||
88 | NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; | 88 | NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; |
... | @@ -216,10 +216,10 @@ NSString *ExtractorAppKey; | ... | @@ -216,10 +216,10 @@ NSString *ExtractorAppKey; |
216 | NSString *other = [payInfo other]; | 216 | NSString *other = [payInfo other]; |
217 | 217 | ||
218 | if (other && [other length] > 0) { | 218 | if (other && [other length] > 0) { |
219 | - [[ExtractorAllManager ExtractorInstance] ExtractorCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; | 219 | + [[ResidentAllManager ResidentInstance] ResidentQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]]; |
220 | }else{ | 220 | }else{ |
221 | NSString* products = [payInfo products]; | 221 | NSString* products = [payInfo products]; |
222 | - [[ExtractorAllManager ExtractorInstance] ExtractorCKQueryOperation:self.controller ExtractorHuoWuID:products ExtractorJiaGe:[payInfo postAmount] ExtractorHuoWuMing:[payInfo productName] ExtractorDingDanHao:queryId]; | 222 | + [[ResidentAllManager ResidentInstance] ResidentQueryOperation:self.controller ResidentHuoWuID:products ResidentJiaGe:[payInfo postAmount] ResidentHuoWuMing:[payInfo productName] ResidentDingDanHao:queryId]; |
223 | } | 223 | } |
224 | } | 224 | } |
225 | 225 | ... | ... |
-
Please register or login to post a comment