Showing
46 changed files
with
204 additions
and
192 deletions
No preview for this file type
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | objects = { | 7 | objects = { |
| 8 | 8 | ||
| 9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
| 10 | - 2659891520E1D6C200CE8E6A /* DevCatSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2659891420E1D6C200CE8E6A /* DevCatSDK.framework */; }; | 10 | + 263EB752211985B30023A312 /* PiDan0807SDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 263EB751211985B30023A312 /* PiDan0807SDK.framework */; }; |
| 11 | 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */; }; | 11 | 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8425EC191F0E3CBD00B0D868 /* PoolSdk.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 /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; }; |
| ... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
| 60 | /* End PBXCopyFilesBuildPhase section */ | 60 | /* End PBXCopyFilesBuildPhase section */ |
| 61 | 61 | ||
| 62 | /* Begin PBXFileReference section */ | 62 | /* Begin PBXFileReference section */ |
| 63 | - 2659891420E1D6C200CE8E6A /* DevCatSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = DevCatSDK.framework; sourceTree = "<group>"; }; | 63 | + 263EB751211985B30023A312 /* PiDan0807SDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PiDan0807SDK.framework; sourceTree = "<group>"; }; |
| 64 | 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; | 64 | 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; |
| 65 | 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; }; | 65 | 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; }; |
| 66 | 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; | 66 | 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; |
| ... | @@ -104,8 +104,8 @@ | ... | @@ -104,8 +104,8 @@ |
| 104 | buildActionMask = 2147483647; | 104 | buildActionMask = 2147483647; |
| 105 | files = ( | 105 | files = ( |
| 106 | 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */, | 106 | 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */, |
| 107 | + 263EB752211985B30023A312 /* PiDan0807SDK.framework in Frameworks */, | ||
| 107 | 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, | 108 | 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, |
| 108 | - 2659891520E1D6C200CE8E6A /* DevCatSDK.framework in Frameworks */, | ||
| 109 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, | 109 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, |
| 110 | 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, | 110 | 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, |
| 111 | 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, | 111 | 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, |
| ... | @@ -136,7 +136,7 @@ | ... | @@ -136,7 +136,7 @@ |
| 136 | 8476DF631C4DD70500EC42BA /* poolsdk_file */ = { | 136 | 8476DF631C4DD70500EC42BA /* poolsdk_file */ = { |
| 137 | isa = PBXGroup; | 137 | isa = PBXGroup; |
| 138 | children = ( | 138 | children = ( |
| 139 | - 2659891420E1D6C200CE8E6A /* DevCatSDK.framework */, | 139 | + 263EB751211985B30023A312 /* PiDan0807SDK.framework */, |
| 140 | 8476DF641C4DD71D00EC42BA /* poolsdk */, | 140 | 8476DF641C4DD71D00EC42BA /* poolsdk */, |
| 141 | ); | 141 | ); |
| 142 | name = poolsdk_file; | 142 | name = poolsdk_file; |
| ... | @@ -481,7 +481,7 @@ | ... | @@ -481,7 +481,7 @@ |
| 481 | "$(PROJECT_DIR)", | 481 | "$(PROJECT_DIR)", |
| 482 | ); | 482 | ); |
| 483 | INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist; | 483 | INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist; |
| 484 | - IPHONEOS_DEPLOYMENT_TARGET = 8.1; | 484 | + IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 485 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | 485 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 486 | LIBRARY_SEARCH_PATHS = ( | 486 | LIBRARY_SEARCH_PATHS = ( |
| 487 | "$(inherited)", | 487 | "$(inherited)", |
| ... | @@ -516,7 +516,7 @@ | ... | @@ -516,7 +516,7 @@ |
| 516 | "$(PROJECT_DIR)", | 516 | "$(PROJECT_DIR)", |
| 517 | ); | 517 | ); |
| 518 | INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist; | 518 | INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist; |
| 519 | - IPHONEOS_DEPLOYMENT_TARGET = 8.1; | 519 | + IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 520 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | 520 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 521 | LIBRARY_SEARCH_PATHS = ( | 521 | LIBRARY_SEARCH_PATHS = ( |
| 522 | "$(inherited)", | 522 | "$(inherited)", | ... | ... |
No preview for this file type
| ... | @@ -167,7 +167,6 @@ | ... | @@ -167,7 +167,6 @@ |
| 167 | if (image != nil) { | 167 | if (image != nil) { |
| 168 | NSLog(@"截图成功!"); | 168 | NSLog(@"截图成功!"); |
| 169 | UIImageWriteToSavedPhotosAlbum(image,self,@selector(image:didFinishSavingWithError:contextInfo:),NULL); | 169 | UIImageWriteToSavedPhotosAlbum(image,self,@selector(image:didFinishSavingWithError:contextInfo:),NULL); |
| 170 | - | ||
| 171 | } | 170 | } |
| 172 | } | 171 | } |
| 173 | 172 | ... | ... |
| 1 | -#import <UIKit/UIKit.h> | ||
| 2 | -#import "StoreKit/StoreKit.h" | ||
| 3 | - | ||
| 4 | -@interface woshiCKManager : NSObject | ||
| 5 | -{ | ||
| 6 | - NSString* woshiCKAPPID_; | ||
| 7 | - NSString* woshiCKAPPKEY_; | ||
| 8 | - | ||
| 9 | - NSString* woshiInviterCode_; | ||
| 10 | -} | ||
| 11 | - | ||
| 12 | -@property bool woshiGeiWoHuaQianBa; | ||
| 13 | - | ||
| 14 | -+ (woshiCKManager *)woshiInstance; | ||
| 15 | - | ||
| 16 | -- (void)woshiChuShiHua; | ||
| 17 | - | ||
| 18 | -- (void)woshiDengLu:(NSString *)woshiCKAPPID : (NSString *)woshiCKAPPKEY : (UIViewController *)controller; | ||
| 19 | - | ||
| 20 | -- (void)woshiYangShi:(NSString*)woshiLeiXing; | ||
| 21 | - | ||
| 22 | -- (void)woshiCKQuery: (NSString *)woshiFuWuQiID : (NSString *)woshiNickName : (NSNumber *)woshiAmount : (NSString *)woshiCallBack : (UIViewController *)controller; | ||
| 23 | - | ||
| 24 | -- (void)woshiCKQueryOperation:(UIViewController*)controll woshiShangPinID:(NSString*)products woshiJiaGe:(NSString*)amount woshiShangPinMing:(NSString*)productName woshiDingDanHao:(NSString*) DingDanHao; | ||
| 25 | - | ||
| 26 | - | ||
| 27 | - | ||
| 28 | -@end |
| 1 | -#import <UIKit/UIKit.h> | ||
| 2 | - | ||
| 3 | -@interface woshiIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
| 4 | - | ||
| 5 | -@property(nonatomic,strong) NSString* woshiDingDanHao; | ||
| 6 | -@property(nonatomic,strong) NSDictionary* woshiShangPinLieBiao; | ||
| 7 | -@property(nonatomic,strong) NSMutableArray* woshiShangPinIDLieBiao; | ||
| 8 | -@property(nonatomic, strong) UITableView *woshiShangPinLieBiaoView; | ||
| 9 | - | ||
| 10 | -- (void)woshiHuaQianView:(UIViewController*)controller woshiShangPinD:(NSString*)products woshiQian:(NSString*)amount woshiShangPinMing:(NSString*)productName woshiDingDanHao:(NSString*)DingDanHao; | ||
| 11 | - | ||
| 12 | -@end |
| 1 | +#import <UIKit/UIKit.h> | ||
| 2 | +#import "StoreKit/StoreKit.h" | ||
| 3 | + | ||
| 4 | +@interface pidanCKManager : NSObject | ||
| 5 | +{ | ||
| 6 | + NSString* pidanCKAPPID_; | ||
| 7 | + NSString* pidanCKAPPKEY_; | ||
| 8 | + | ||
| 9 | + NSString* pidanInviterCode_; | ||
| 10 | +} | ||
| 11 | + | ||
| 12 | +@property bool pidanGeiWoHuaQianBa; | ||
| 13 | + | ||
| 14 | ++ (pidanCKManager *)pidanInstance; | ||
| 15 | + | ||
| 16 | +- (void)pidanChuShiHua; | ||
| 17 | + | ||
| 18 | +- (void)pidanDengLu:(NSString *)pidanCKAPPID : (NSString *)pidanCKAPPKEY : (UIViewController *)controller; | ||
| 19 | + | ||
| 20 | +- (void)pidanYangShi:(NSString*)pidanLeiXing; | ||
| 21 | + | ||
| 22 | +- (void)pidanCKQuery: (NSString *)pidanFuWuQiID : (NSString *)pidanNickName : (NSNumber *)pidanAmount : (NSString *)pidanCallBack : (UIViewController *)controller; | ||
| 23 | + | ||
| 24 | +- (void)pidanCKQueryOperation:(UIViewController*)controll pidanShangPinID:(NSString*)products pidanJiaGe:(NSString*)amount pidanShangPinMing:(NSString*)productName pidanDingDanHao:(NSString*) DingDanHao; | ||
| 25 | + | ||
| 26 | + | ||
| 27 | + | ||
| 28 | +@end |
| 1 | #import <UIKit/UIKit.h> | 1 | #import <UIKit/UIKit.h> |
| 2 | -#import "woshiIAPShareHelper.h" | 2 | +#import "pidanIAPShareHelper.h" |
| 3 | #import <JavaScriptCore/JavaScriptCore.h> | 3 | #import <JavaScriptCore/JavaScriptCore.h> |
| 4 | 4 | ||
| 5 | -@interface woshiCKRecordZone : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> | 5 | +@interface pidanCKRecordZone : 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 woshiYouYuanJiao; | 11 | +@property(assign) BOOL pidanYouYuanJiao; |
| 12 | 12 | ||
| 13 | -- (void)woshiSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; | 13 | +- (void)pidanSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; |
| 14 | -- (void)woshiChuShiHuaWebView; | 14 | +- (void)pidanChuShiHuaWebView; |
| 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; | ... | ... |
| 1 | +#import <Foundation/Foundation.h> | ||
| 2 | + | ||
| 3 | +@interface pidanCKRecordZoneJM : NSObject | ||
| 4 | + | ||
| 5 | ++(NSString *)pidanJM:(NSString *)jm; | ||
| 6 | + | ||
| 7 | ++(void)pidanqweS12Jijisd; | ||
| 8 | ++(void)pidanjqw3123eakdjl; | ||
| 9 | ++(void)pidannqw123evcxnklr; | ||
| 10 | +-(void)pidanasqw123edll; | ||
| 11 | +-(void)pidanasqw12312edlasdl; | ||
| 12 | +-(void)pidanasdq3123wellasd; | ||
| 13 | + | ||
| 14 | +@end |
| 1 | +#import <UIKit/UIKit.h> | ||
| 2 | + | ||
| 3 | +@interface pidanIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
| 4 | + | ||
| 5 | +@property(nonatomic,strong) NSString* pidanDingDanHao; | ||
| 6 | +@property(nonatomic,strong) NSDictionary* pidanShangPinLieBiao; | ||
| 7 | +@property(nonatomic,strong) NSMutableArray* pidanShangPinIDLieBiao; | ||
| 8 | +@property(nonatomic, strong) UITableView *pidanShangPinLieBiaoView; | ||
| 9 | + | ||
| 10 | +- (void)pidanHuaQianView:(UIViewController*)controller pidanShangPinD:(NSString*)products pidanQian:(NSString*)amount pidanShangPinMing:(NSString*)productName pidanDingDanHao:(NSString*)DingDanHao; | ||
| 11 | + | ||
| 12 | +@end |
| 1 | #import <Foundation/Foundation.h> | 1 | #import <Foundation/Foundation.h> |
| 2 | 2 | ||
| 3 | -@interface woshiIAPShareHelper : NSObject | 3 | +@interface pidanIAPShareHelper : 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 | -+ (woshiIAPShareHelper *)getInstance; | 15 | ++ (pidanIAPShareHelper *)getInstance; |
| 16 | @end | 16 | @end | ... | ... |
No preview for this file type
No preview for this file type
No preview for this file type
| ... | @@ -2,6 +2,16 @@ | ... | @@ -2,6 +2,16 @@ |
| 2 | "images" : [ | 2 | "images" : [ |
| 3 | { | 3 | { |
| 4 | "idiom" : "iphone", | 4 | "idiom" : "iphone", |
| 5 | + "size" : "20x20", | ||
| 6 | + "scale" : "2x" | ||
| 7 | + }, | ||
| 8 | + { | ||
| 9 | + "idiom" : "iphone", | ||
| 10 | + "size" : "20x20", | ||
| 11 | + "scale" : "3x" | ||
| 12 | + }, | ||
| 13 | + { | ||
| 14 | + "idiom" : "iphone", | ||
| 5 | "size" : "29x29", | 15 | "size" : "29x29", |
| 6 | "scale" : "2x" | 16 | "scale" : "2x" |
| 7 | }, | 17 | }, |
| ... | @@ -29,6 +39,11 @@ | ... | @@ -29,6 +39,11 @@ |
| 29 | "idiom" : "iphone", | 39 | "idiom" : "iphone", |
| 30 | "size" : "60x60", | 40 | "size" : "60x60", |
| 31 | "scale" : "3x" | 41 | "scale" : "3x" |
| 42 | + }, | ||
| 43 | + { | ||
| 44 | + "idiom" : "ios-marketing", | ||
| 45 | + "size" : "1024x1024", | ||
| 46 | + "scale" : "1x" | ||
| 32 | } | 47 | } |
| 33 | ], | 48 | ], |
| 34 | "info" : { | 49 | "info" : { | ... | ... |
| ... | @@ -4,8 +4,6 @@ | ... | @@ -4,8 +4,6 @@ |
| 4 | <dict> | 4 | <dict> |
| 5 | <key>CFBundleDevelopmentRegion</key> | 5 | <key>CFBundleDevelopmentRegion</key> |
| 6 | <string>en</string> | 6 | <string>en</string> |
| 7 | - <key>CFBundleDisplayName</key> | ||
| 8 | - <string>大胸弟</string> | ||
| 9 | <key>CFBundleExecutable</key> | 7 | <key>CFBundleExecutable</key> |
| 10 | <string>$(EXECUTABLE_NAME)</string> | 8 | <string>$(EXECUTABLE_NAME)</string> |
| 11 | <key>CFBundleIdentifier</key> | 9 | <key>CFBundleIdentifier</key> |
| ... | @@ -17,7 +15,7 @@ | ... | @@ -17,7 +15,7 @@ |
| 17 | <key>CFBundlePackageType</key> | 15 | <key>CFBundlePackageType</key> |
| 18 | <string>APPL</string> | 16 | <string>APPL</string> |
| 19 | <key>CFBundleShortVersionString</key> | 17 | <key>CFBundleShortVersionString</key> |
| 20 | - <string>1.1.407</string> | 18 | + <string>1.1.408</string> |
| 21 | <key>CFBundleSignature</key> | 19 | <key>CFBundleSignature</key> |
| 22 | <string>????</string> | 20 | <string>????</string> |
| 23 | <key>CFBundleURLTypes</key> | 21 | <key>CFBundleURLTypes</key> | ... | ... |
| 1 | #include "SDKInterface.h" | 1 | #include "SDKInterface.h" |
| 2 | #import <UIKit/UIKit.h> | 2 | #import <UIKit/UIKit.h> |
| 3 | 3 | ||
| 4 | -#import "DevCatSDK/woshiCKManager.h" | 4 | +#import "PiDan0807SDK/pidanCKManager.h" |
| 5 | -#import "DevCatSDK/woshiHuiTiaoNotification.h" | 5 | +#import "PiDan0807SDK/pidanHuiTiaoNotification.h" |
| 6 | -#import "DevCatSDK/woshiIAPShareHelper.h" | 6 | +#import "PiDan0807SDK/pidanIAPShareHelper.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 *sdkAppId; | 13 | +NSString *pidanSDKAppId; |
| 14 | -NSString *sdkAppKey; | 14 | +NSString *pidanSDKAppKey; |
| 15 | 15 | ||
| 16 | - (void)SDKinit:(UIViewController *) control | 16 | - (void)SDKinit:(UIViewController *) control |
| 17 | { | 17 | { |
| ... | @@ -19,10 +19,10 @@ NSString *sdkAppKey; | ... | @@ -19,10 +19,10 @@ NSString *sdkAppKey; |
| 19 | [super SDKinit:control]; | 19 | [super SDKinit:control]; |
| 20 | 20 | ||
| 21 | [PoolConfig getInstance]; | 21 | [PoolConfig getInstance]; |
| 22 | - [[woshiCKManager woshiInstance]woshiChuShiHua]; | 22 | + [[pidanCKManager pidanInstance]pidanChuShiHua]; |
| 23 | - [[woshiCKManager woshiInstance]woshiYangShi:@"sdk"]; | 23 | + [[pidanCKManager pidanInstance]pidanYangShi:@"sdk"]; |
| 24 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:woshiCKAssetsLoginNotification object:nil]; | 24 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:pidanCKAssetsLoginNotification object:nil]; |
| 25 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"woshiCKAssetsToolCallBack" object:nil]; | 25 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"pidanCKAssetsToolCallBack" 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 *sdkAppKey; | ... | @@ -39,9 +39,9 @@ NSString *sdkAppKey; |
| 39 | - (void)SDKloginSDK | 39 | - (void)SDKloginSDK |
| 40 | { | 40 | { |
| 41 | //APPID APPKEY | 41 | //APPID APPKEY |
| 42 | - sdkAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; | 42 | + pidanSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; |
| 43 | - sdkAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; | 43 | + pidanSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; |
| 44 | - [[woshiCKManager woshiInstance]woshiDengLu:sdkAppId :sdkAppKey :self.controller]; | 44 | + [[pidanCKManager pidanInstance]pidanDengLu:pidanSDKAppId :pidanSDKAppKey :self.controller]; |
| 45 | 45 | ||
| 46 | } | 46 | } |
| 47 | 47 | ||
| ... | @@ -52,9 +52,9 @@ NSString *sdkAppKey; | ... | @@ -52,9 +52,9 @@ NSString *sdkAppKey; |
| 52 | { | 52 | { |
| 53 | NSLog(@"loginchek"); | 53 | NSLog(@"loginchek"); |
| 54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; | 54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; |
| 55 | - loginInfo.openId = [[woshiIAPShareHelper getInstance]openId]; | 55 | + loginInfo.openId = [[pidanIAPShareHelper getInstance]openId]; |
| 56 | - loginInfo.sign = [[woshiIAPShareHelper getInstance] token]; | 56 | + loginInfo.sign = [[pidanIAPShareHelper getInstance] token]; |
| 57 | - loginInfo.timestamp = [woshiIAPShareHelper getInstance].timestamp; | 57 | + loginInfo.timestamp = [[pidanIAPShareHelper 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 *sdkAppKey; | ... | @@ -82,7 +82,7 @@ NSString *sdkAppKey; |
| 82 | { | 82 | { |
| 83 | NSDictionary* payResultDic = notification.object; | 83 | NSDictionary* payResultDic = notification.object; |
| 84 | 84 | ||
| 85 | - NSString* receiptStr = [payResultDic objectForKey:@"woshiCKAssetsToolResult"]; | 85 | + NSString* receiptStr = [payResultDic objectForKey:@"pidanCKAssetsToolResult"]; |
| 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 *sdkAppKey; | ... | @@ -216,10 +216,10 @@ NSString *sdkAppKey; |
| 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 | - [[woshiCKManager woshiInstance] woshiCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller]; | 219 | + [[pidanCKManager pidanInstance] pidanCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller]; |
| 220 | }else{ | 220 | }else{ |
| 221 | NSString* products = [payInfo products]; | 221 | NSString* products = [payInfo products]; |
| 222 | - [[woshiCKManager woshiInstance] woshiCKQueryOperation:self.controller woshiShangPinID:products woshiJiaGe:[payInfo postAmount] woshiShangPinMing:[payInfo productName] woshiDingDanHao:queryId]; | 222 | + [[pidanCKManager pidanInstance] pidanCKQueryOperation:self.controller pidanShangPinID:products pidanJiaGe:[payInfo postAmount] pidanShangPinMing:[payInfo productName] pidanDingDanHao:queryId]; |
| 223 | } | 223 | } |
| 224 | } | 224 | } |
| 225 | 225 | ... | ... |
No preview for this file type
| 1 | -#import <UIKit/UIKit.h> | ||
| 2 | -#import "StoreKit/StoreKit.h" | ||
| 3 | - | ||
| 4 | -@interface woshiCKManager : NSObject | ||
| 5 | -{ | ||
| 6 | - NSString* woshiCKAPPID_; | ||
| 7 | - NSString* woshiCKAPPKEY_; | ||
| 8 | - | ||
| 9 | - NSString* woshiInviterCode_; | ||
| 10 | -} | ||
| 11 | - | ||
| 12 | -@property bool woshiGeiWoHuaQianBa; | ||
| 13 | - | ||
| 14 | -+ (woshiCKManager *)woshiInstance; | ||
| 15 | - | ||
| 16 | -- (void)woshiChuShiHua; | ||
| 17 | - | ||
| 18 | -- (void)woshiDengLu:(NSString *)woshiCKAPPID : (NSString *)woshiCKAPPKEY : (UIViewController *)controller; | ||
| 19 | - | ||
| 20 | -- (void)woshiYangShi:(NSString*)woshiLeiXing; | ||
| 21 | - | ||
| 22 | -- (void)woshiCKQuery: (NSString *)woshiFuWuQiID : (NSString *)woshiNickName : (NSNumber *)woshiAmount : (NSString *)woshiCallBack : (UIViewController *)controller; | ||
| 23 | - | ||
| 24 | -- (void)woshiCKQueryOperation:(UIViewController*)controll woshiShangPinID:(NSString*)products woshiJiaGe:(NSString*)amount woshiShangPinMing:(NSString*)productName woshiDingDanHao:(NSString*) DingDanHao; | ||
| 25 | - | ||
| 26 | - | ||
| 27 | - | ||
| 28 | -@end |
| 1 | -#import <UIKit/UIKit.h> | ||
| 2 | - | ||
| 3 | -@interface woshiIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
| 4 | - | ||
| 5 | -@property(nonatomic,strong) NSString* woshiDingDanHao; | ||
| 6 | -@property(nonatomic,strong) NSDictionary* woshiShangPinLieBiao; | ||
| 7 | -@property(nonatomic,strong) NSMutableArray* woshiShangPinIDLieBiao; | ||
| 8 | -@property(nonatomic, strong) UITableView *woshiShangPinLieBiaoView; | ||
| 9 | - | ||
| 10 | -- (void)woshiHuaQianView:(UIViewController*)controller woshiShangPinD:(NSString*)products woshiQian:(NSString*)amount woshiShangPinMing:(NSString*)productName woshiDingDanHao:(NSString*)DingDanHao; | ||
| 11 | - | ||
| 12 | -@end |
| 1 | +#import <UIKit/UIKit.h> | ||
| 2 | +#import "StoreKit/StoreKit.h" | ||
| 3 | + | ||
| 4 | +@interface pidanCKManager : NSObject | ||
| 5 | +{ | ||
| 6 | + NSString* pidanCKAPPID_; | ||
| 7 | + NSString* pidanCKAPPKEY_; | ||
| 8 | + | ||
| 9 | + NSString* pidanInviterCode_; | ||
| 10 | +} | ||
| 11 | + | ||
| 12 | +@property bool pidanGeiWoHuaQianBa; | ||
| 13 | + | ||
| 14 | ++ (pidanCKManager *)pidanInstance; | ||
| 15 | + | ||
| 16 | +- (void)pidanChuShiHua; | ||
| 17 | + | ||
| 18 | +- (void)pidanDengLu:(NSString *)pidanCKAPPID : (NSString *)pidanCKAPPKEY : (UIViewController *)controller; | ||
| 19 | + | ||
| 20 | +- (void)pidanYangShi:(NSString*)pidanLeiXing; | ||
| 21 | + | ||
| 22 | +- (void)pidanCKQuery: (NSString *)pidanFuWuQiID : (NSString *)pidanNickName : (NSNumber *)pidanAmount : (NSString *)pidanCallBack : (UIViewController *)controller; | ||
| 23 | + | ||
| 24 | +- (void)pidanCKQueryOperation:(UIViewController*)controll pidanShangPinID:(NSString*)products pidanJiaGe:(NSString*)amount pidanShangPinMing:(NSString*)productName pidanDingDanHao:(NSString*) DingDanHao; | ||
| 25 | + | ||
| 26 | + | ||
| 27 | + | ||
| 28 | +@end |
| 1 | #import <UIKit/UIKit.h> | 1 | #import <UIKit/UIKit.h> |
| 2 | -#import "woshiIAPShareHelper.h" | 2 | +#import "pidanIAPShareHelper.h" |
| 3 | #import <JavaScriptCore/JavaScriptCore.h> | 3 | #import <JavaScriptCore/JavaScriptCore.h> |
| 4 | 4 | ||
| 5 | -@interface woshiCKRecordZone : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> | 5 | +@interface pidanCKRecordZone : 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 woshiYouYuanJiao; | 11 | +@property(assign) BOOL pidanYouYuanJiao; |
| 12 | 12 | ||
| 13 | -- (void)woshiSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; | 13 | +- (void)pidanSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; |
| 14 | -- (void)woshiChuShiHuaWebView; | 14 | +- (void)pidanChuShiHuaWebView; |
| 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; | ... | ... |
| 1 | +#import <Foundation/Foundation.h> | ||
| 2 | + | ||
| 3 | +@interface pidanCKRecordZoneJM : NSObject | ||
| 4 | + | ||
| 5 | ++(NSString *)pidanJM:(NSString *)jm; | ||
| 6 | + | ||
| 7 | ++(void)pidanqweS12Jijisd; | ||
| 8 | ++(void)pidanjqw3123eakdjl; | ||
| 9 | ++(void)pidannqw123evcxnklr; | ||
| 10 | +-(void)pidanasqw123edll; | ||
| 11 | +-(void)pidanasqw12312edlasdl; | ||
| 12 | +-(void)pidanasdq3123wellasd; | ||
| 13 | + | ||
| 14 | +@end |
| 1 | +#import <UIKit/UIKit.h> | ||
| 2 | + | ||
| 3 | +@interface pidanIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource> | ||
| 4 | + | ||
| 5 | +@property(nonatomic,strong) NSString* pidanDingDanHao; | ||
| 6 | +@property(nonatomic,strong) NSDictionary* pidanShangPinLieBiao; | ||
| 7 | +@property(nonatomic,strong) NSMutableArray* pidanShangPinIDLieBiao; | ||
| 8 | +@property(nonatomic, strong) UITableView *pidanShangPinLieBiaoView; | ||
| 9 | + | ||
| 10 | +- (void)pidanHuaQianView:(UIViewController*)controller pidanShangPinD:(NSString*)products pidanQian:(NSString*)amount pidanShangPinMing:(NSString*)productName pidanDingDanHao:(NSString*)DingDanHao; | ||
| 11 | + | ||
| 12 | +@end |
| 1 | #import <Foundation/Foundation.h> | 1 | #import <Foundation/Foundation.h> |
| 2 | 2 | ||
| 3 | -@interface woshiIAPShareHelper : NSObject | 3 | +@interface pidanIAPShareHelper : 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 | -+ (woshiIAPShareHelper *)getInstance; | 15 | ++ (pidanIAPShareHelper *)getInstance; |
| 16 | @end | 16 | @end | ... | ... |
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 "DevCatSDK/woshiCKManager.h" | 4 | +#import "PiDan0807SDK/pidanCKManager.h" |
| 5 | -#import "DevCatSDK/woshiHuiTiaoNotification.h" | 5 | +#import "PiDan0807SDK/pidanHuiTiaoNotification.h" |
| 6 | -#import "DevCatSDK/woshiIAPShareHelper.h" | 6 | +#import "PiDan0807SDK/pidanIAPShareHelper.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 *sdkAppId; | 13 | +NSString *pidanSDKAppId; |
| 14 | -NSString *sdkAppKey; | 14 | +NSString *pidanSDKAppKey; |
| 15 | 15 | ||
| 16 | - (void)SDKinit:(UIViewController *) control | 16 | - (void)SDKinit:(UIViewController *) control |
| 17 | { | 17 | { |
| ... | @@ -19,10 +19,10 @@ NSString *sdkAppKey; | ... | @@ -19,10 +19,10 @@ NSString *sdkAppKey; |
| 19 | [super SDKinit:control]; | 19 | [super SDKinit:control]; |
| 20 | 20 | ||
| 21 | [PoolConfig getInstance]; | 21 | [PoolConfig getInstance]; |
| 22 | - [[woshiCKManager woshiInstance]woshiChuShiHua]; | 22 | + [[pidanCKManager pidanInstance]pidanChuShiHua]; |
| 23 | - [[woshiCKManager woshiInstance]woshiYangShi:@"sdk"]; | 23 | + [[pidanCKManager pidanInstance]pidanYangShi:@"sdk"]; |
| 24 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:woshiCKAssetsLoginNotification object:nil]; | 24 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:pidanCKAssetsLoginNotification object:nil]; |
| 25 | - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"woshiCKAssetsToolCallBack" object:nil]; | 25 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"pidanCKAssetsToolCallBack" 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 *sdkAppKey; | ... | @@ -39,9 +39,9 @@ NSString *sdkAppKey; |
| 39 | - (void)SDKloginSDK | 39 | - (void)SDKloginSDK |
| 40 | { | 40 | { |
| 41 | //APPID APPKEY | 41 | //APPID APPKEY |
| 42 | - sdkAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; | 42 | + pidanSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; |
| 43 | - sdkAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; | 43 | + pidanSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; |
| 44 | - [[woshiCKManager woshiInstance]woshiDengLu:sdkAppId :sdkAppKey :self.controller]; | 44 | + [[pidanCKManager pidanInstance]pidanDengLu:pidanSDKAppId :pidanSDKAppKey :self.controller]; |
| 45 | 45 | ||
| 46 | } | 46 | } |
| 47 | 47 | ||
| ... | @@ -52,9 +52,9 @@ NSString *sdkAppKey; | ... | @@ -52,9 +52,9 @@ NSString *sdkAppKey; |
| 52 | { | 52 | { |
| 53 | NSLog(@"loginchek"); | 53 | NSLog(@"loginchek"); |
| 54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; | 54 | PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; |
| 55 | - loginInfo.openId = [[woshiIAPShareHelper getInstance]openId]; | 55 | + loginInfo.openId = [[pidanIAPShareHelper getInstance]openId]; |
| 56 | - loginInfo.sign = [[woshiIAPShareHelper getInstance] token]; | 56 | + loginInfo.sign = [[pidanIAPShareHelper getInstance] token]; |
| 57 | - loginInfo.timestamp = [woshiIAPShareHelper getInstance].timestamp; | 57 | + loginInfo.timestamp = [[pidanIAPShareHelper 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 *sdkAppKey; | ... | @@ -82,7 +82,7 @@ NSString *sdkAppKey; |
| 82 | { | 82 | { |
| 83 | NSDictionary* payResultDic = notification.object; | 83 | NSDictionary* payResultDic = notification.object; |
| 84 | 84 | ||
| 85 | - NSString* receiptStr = [payResultDic objectForKey:@"woshiCKAssetsToolResult"]; | 85 | + NSString* receiptStr = [payResultDic objectForKey:@"pidanCKAssetsToolResult"]; |
| 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 *sdkAppKey; | ... | @@ -216,10 +216,10 @@ NSString *sdkAppKey; |
| 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 | - [[woshiCKManager woshiInstance] woshiCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller]; | 219 | + [[pidanCKManager pidanInstance] pidanCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller]; |
| 220 | }else{ | 220 | }else{ |
| 221 | NSString* products = [payInfo products]; | 221 | NSString* products = [payInfo products]; |
| 222 | - [[woshiCKManager woshiInstance] woshiCKQueryOperation:self.controller woshiShangPinID:products woshiJiaGe:[payInfo postAmount] woshiShangPinMing:[payInfo productName] woshiDingDanHao:queryId]; | 222 | + [[pidanCKManager pidanInstance] pidanCKQueryOperation:self.controller pidanShangPinID:products pidanJiaGe:[payInfo postAmount] pidanShangPinMing:[payInfo productName] pidanDingDanHao:queryId]; |
| 223 | } | 223 | } |
| 224 | } | 224 | } |
| 225 | 225 | ... | ... |
-
Please register or login to post a comment