lizhihui

更新 181109 版本

Showing 41 changed files with 165 additions and 165 deletions
No preview for this file type
......@@ -8,7 +8,7 @@
/* Begin PBXBuildFile section */
260A34CB2130061A003C083C /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 260A34CA21300619003C083C /* PoolSdk.framework */; };
2649978521894D4100EC956C /* HalloweenSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2649978421894D4100EC956C /* HalloweenSDK.framework */; };
263A4CB921958B0B00DE9B28 /* SingleSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 263A4CB821958B0B00DE9B28 /* SingleSDK.framework */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; };
846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; };
......@@ -60,7 +60,7 @@
/* Begin PBXFileReference section */
260A34CA21300619003C083C /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; };
2649978421894D4100EC956C /* HalloweenSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HalloweenSDK.framework; sourceTree = "<group>"; };
263A4CB821958B0B00DE9B28 /* SingleSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = SingleSDK.framework; sourceTree = "<group>"; };
845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
846BD21F1EE9342700E89A1D /* pool_setting */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pool_setting; path = poolsdk_file/poolsdk/pool_setting; sourceTree = "<group>"; };
......@@ -110,10 +110,10 @@
8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */,
8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */,
8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */,
2649978521894D4100EC956C /* HalloweenSDK.framework in Frameworks */,
8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */,
8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */,
8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */,
263A4CB921958B0B00DE9B28 /* SingleSDK.framework in Frameworks */,
8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */,
8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */,
260A34CB2130061A003C083C /* PoolSdk.framework in Frameworks */,
......@@ -143,7 +143,7 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
2649978421894D4100EC956C /* HalloweenSDK.framework */,
263A4CB821958B0B00DE9B28 /* SingleSDK.framework */,
84A090AC1F174E21003D23FB /* TrackingIO.h */,
84A090AA1F160A69003D23FB /* TrackingIO.a */,
846BD21F1EE9342700E89A1D /* pool_setting */,
......
#import <UIKit/UIKit.h>
@interface HalloweenIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* HalloweenDingDanHao;
@property(nonatomic,strong) NSDictionary* HalloweenHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* HalloweenHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *HalloweenHuoWuLieBiaoView;
- (void)HalloweenHuaQianView:(UIViewController*)controller HalloweenHuoWuD:(NSString*)products HalloweenQian:(NSString*)amount HalloweenHuoWuMing:(NSString*)productName HalloweenDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface HalloweenAllManager : NSObject
{
NSString* HalloweenCKAPPID_;
NSString* HalloweenCKAPPKEY_;
NSString* HalloweenInviterCode_;
}
@property bool HalloweenGeiWoHuaQianBa;
+ (HalloweenAllManager *)HalloweenInstance;
- (void)HalloweenChuShiHua;
- (void)HalloweenDengLu:(NSString *)HalloweenCKAPPID : (NSString *)HalloweenCKAPPKEY : (UIViewController *)controller;
- (void)HalloweenYangShi:(NSString*)HalloweenLeiXing;
- (void)HalloweenCKQuery: (NSString *)HalloweenFuWuQiID : (NSString *)HalloweenNickName : (NSNumber *)HalloweenAmount : (NSString *)HalloweenCallBack : (UIViewController *)controller : (NSString *)HalloweenServerName;
- (void)HalloweenCKQueryOperation:(UIViewController*)controll HalloweenHuoWuID:(NSString*)products HalloweenJiaGe:(NSString*)amount HalloweenHuoWuMing:(NSString*)productName HalloweenDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const HalloweenCKAssetsExitNotification;
extern NSString * const HalloweenCKAssetsLoginNotification;
extern NSString * const HalloweenCKAssetsErrorNotification;
@interface HalloweenHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface SingleIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* SingleDingDanHao;
@property(nonatomic,strong) NSDictionary* SingleHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* SingleHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *SingleHuoWuLieBiaoView;
- (void)SingleHuaQianView:(UIViewController*)controller SingleHuoWuD:(NSString*)products SingleQian:(NSString*)amount SingleHuoWuMing:(NSString*)productName SingleDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface SingleAllManager : NSObject
{
NSString* SingleCKAPPID_;
NSString* SingleCKAPPKEY_;
NSString* SingleInviterCode_;
}
@property bool SingleGeiWoHuaQianBa;
+ (SingleAllManager *)SingleInstance;
- (void)SingleChuShiHua;
- (void)SingleDengLu:(NSString *)SingleCKAPPID : (NSString *)SingleCKAPPKEY : (UIViewController *)controller;
- (void)SingleYangShi:(NSString*)SingleLeiXing;
- (void)SingleCKQuery: (NSString *)SingleFuWuQiID : (NSString *)SingleNickName : (NSNumber *)SingleAmount : (NSString *)SingleCallBack : (UIViewController *)controller : (NSString *)SingleServerName;
- (void)SingleCKQueryOperation:(UIViewController*)controll SingleHuoWuID:(NSString*)products SingleJiaGe:(NSString*)amount SingleHuoWuMing:(NSString*)productName SingleDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const SingleCKAssetsExitNotification;
extern NSString * const SingleCKAssetsLoginNotification;
extern NSString * const SingleCKAssetsErrorNotification;
@interface SingleHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface HalloweenLocation : NSObject
@interface SingleLocation : NSObject
+ (NSString *)HalloweenSKCloudServiceSetupOptionsKey;
+ (NSString *)SingleSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "HalloweenMessage.h"
#import "SingleMessage.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface HalloweenMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface SingleMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL HalloweenYouYuanJiao;
@property(assign) BOOL SingleYouYuanJiao;
- (void)HalloweenSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)HalloweenChuShiHuaWebView;
- (void)SingleSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)SingleChuShiHuaWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
@interface HalloweenMessage : NSObject
@interface SingleMessage : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (HalloweenMessage *)getInstance;
+ (SingleMessage *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface HalloweenMessageJM : NSObject
@interface SingleMessageJM : NSObject
+(NSString *)HalloweenJM:(NSString *)jm;
+(NSString *)SingleJM:(NSString *)jm;
@end
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HalloweenSDK/HalloweenAllManager.h"
#import "HalloweenSDK/HalloweenHuiTiaoNotification.h"
#import "HalloweenSDK/HalloweenMessage.h"
#import "SingleSDK/SingleAllManager.h"
#import "SingleSDK/SingleHuiTiaoNotification.h"
#import "SingleSDK/SingleMessage.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *HalloweenSDKAppId;
NSString *HalloweenSDKAppKey;
NSString *SingleSDKAppId;
NSString *SingleSDKAppKey;
- (void)SDKinit:(UIViewController *) control
{
......@@ -19,10 +19,10 @@ NSString *HalloweenSDKAppKey;
[super SDKinit:control];
[PoolConfig getInstance];
[[HalloweenAllManager HalloweenInstance]HalloweenChuShiHua];
[[HalloweenAllManager HalloweenInstance]HalloweenYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:HalloweenCKAssetsLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"HalloweenCKAssetsToolCallBack" object:nil];
[[SingleAllManager SingleInstance]SingleChuShiHua];
[[SingleAllManager SingleInstance]SingleYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:SingleCKAssetsLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"SingleCKAssetsToolCallBack" object:nil];
[[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -39,9 +39,9 @@ NSString *HalloweenSDKAppKey;
- (void)SDKloginSDK
{
//APPID APPKEY
HalloweenSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
HalloweenSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[HalloweenAllManager HalloweenInstance]HalloweenDengLu:HalloweenSDKAppId :HalloweenSDKAppKey :self.controller];
SingleSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
SingleSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[SingleAllManager SingleInstance]SingleDengLu:SingleSDKAppId :SingleSDKAppKey :self.controller];
}
......@@ -52,9 +52,9 @@ NSString *HalloweenSDKAppKey;
{
NSLog(@"loginchek");
PoolLoginInfo *loginInfo = [PoolLoginInfo alloc];
loginInfo.openId = [[HalloweenMessage getInstance]openId];
loginInfo.sign = [[HalloweenMessage getInstance] token];
loginInfo.timestamp = [[HalloweenMessage getInstance] timestamp];
loginInfo.openId = [[SingleMessage getInstance]openId];
loginInfo.sign = [[SingleMessage getInstance] token];
loginInfo.timestamp = [[SingleMessage getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[PoolChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *HalloweenSDKAppKey;
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"HalloweenCKAssetsToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"SingleCKAssetsToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
......@@ -216,10 +216,10 @@ NSString *HalloweenSDKAppKey;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[HalloweenAllManager HalloweenInstance] HalloweenCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[SingleAllManager SingleInstance] SingleCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
[[HalloweenAllManager HalloweenInstance] HalloweenCKQueryOperation:self.controller HalloweenHuoWuID:products HalloweenJiaGe:[payInfo postAmount] HalloweenHuoWuMing:[payInfo productName] HalloweenDingDanHao:queryId];
[[SingleAllManager SingleInstance] SingleCKQueryOperation:self.controller SingleHuoWuID:products SingleJiaGe:[payInfo postAmount] SingleHuoWuMing:[payInfo productName] SingleDingDanHao:queryId];
}
}
......
新接入请参考对接文档和demo<br>
2018-10-31:<br>
1、``` 删除pool_file文件夹中TurningSDK.framework ``` <br>
2、引入 ``` HalloweenSDK.framework ``` <br>
2018-11-09:<br>
1、``` 删除pool_file文件夹中HalloweenSDK.framework ``` <br>
2、引入 ``` SingleSDK.framework ``` <br>
3、替换 ``` SDKInterface.m文件 ``` <br>
\ No newline at end of file
......
#import <UIKit/UIKit.h>
@interface HalloweenIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* HalloweenDingDanHao;
@property(nonatomic,strong) NSDictionary* HalloweenHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* HalloweenHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *HalloweenHuoWuLieBiaoView;
- (void)HalloweenHuaQianView:(UIViewController*)controller HalloweenHuoWuD:(NSString*)products HalloweenQian:(NSString*)amount HalloweenHuoWuMing:(NSString*)productName HalloweenDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface HalloweenAllManager : NSObject
{
NSString* HalloweenCKAPPID_;
NSString* HalloweenCKAPPKEY_;
NSString* HalloweenInviterCode_;
}
@property bool HalloweenGeiWoHuaQianBa;
+ (HalloweenAllManager *)HalloweenInstance;
- (void)HalloweenChuShiHua;
- (void)HalloweenDengLu:(NSString *)HalloweenCKAPPID : (NSString *)HalloweenCKAPPKEY : (UIViewController *)controller;
- (void)HalloweenYangShi:(NSString*)HalloweenLeiXing;
- (void)HalloweenCKQuery: (NSString *)HalloweenFuWuQiID : (NSString *)HalloweenNickName : (NSNumber *)HalloweenAmount : (NSString *)HalloweenCallBack : (UIViewController *)controller : (NSString *)HalloweenServerName;
- (void)HalloweenCKQueryOperation:(UIViewController*)controll HalloweenHuoWuID:(NSString*)products HalloweenJiaGe:(NSString*)amount HalloweenHuoWuMing:(NSString*)productName HalloweenDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const HalloweenCKAssetsExitNotification;
extern NSString * const HalloweenCKAssetsLoginNotification;
extern NSString * const HalloweenCKAssetsErrorNotification;
@interface HalloweenHuiTiaoNotification : NSObject
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HalloweenSDK/HalloweenAllManager.h"
#import "HalloweenSDK/HalloweenHuiTiaoNotification.h"
#import "HalloweenSDK/HalloweenMessage.h"
#import "SingleSDK/SingleAllManager.h"
#import "SingleSDK/SingleHuiTiaoNotification.h"
#import "SingleSDK/SingleMessage.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *HalloweenSDKAppId;
NSString *HalloweenSDKAppKey;
NSString *SingleSDKAppId;
NSString *SingleSDKAppKey;
- (void)SDKinit:(UIViewController *) control
{
......@@ -19,10 +19,10 @@ NSString *HalloweenSDKAppKey;
[super SDKinit:control];
[PoolConfig getInstance];
[[HalloweenAllManager HalloweenInstance]HalloweenChuShiHua];
[[HalloweenAllManager HalloweenInstance]HalloweenYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:HalloweenCKAssetsLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"HalloweenCKAssetsToolCallBack" object:nil];
[[SingleAllManager SingleInstance]SingleChuShiHua];
[[SingleAllManager SingleInstance]SingleYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:SingleCKAssetsLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"SingleCKAssetsToolCallBack" object:nil];
[[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -39,9 +39,9 @@ NSString *HalloweenSDKAppKey;
- (void)SDKloginSDK
{
//APPID APPKEY
HalloweenSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
HalloweenSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[HalloweenAllManager HalloweenInstance]HalloweenDengLu:HalloweenSDKAppId :HalloweenSDKAppKey :self.controller];
SingleSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
SingleSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[SingleAllManager SingleInstance]SingleDengLu:SingleSDKAppId :SingleSDKAppKey :self.controller];
}
......@@ -52,9 +52,9 @@ NSString *HalloweenSDKAppKey;
{
NSLog(@"loginchek");
PoolLoginInfo *loginInfo = [PoolLoginInfo alloc];
loginInfo.openId = [[HalloweenMessage getInstance]openId];
loginInfo.sign = [[HalloweenMessage getInstance] token];
loginInfo.timestamp = [[HalloweenMessage getInstance] timestamp];
loginInfo.openId = [[SingleMessage getInstance]openId];
loginInfo.sign = [[SingleMessage getInstance] token];
loginInfo.timestamp = [[SingleMessage getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[PoolChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *HalloweenSDKAppKey;
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"HalloweenCKAssetsToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"SingleCKAssetsToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
......@@ -216,10 +216,10 @@ NSString *HalloweenSDKAppKey;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[HalloweenAllManager HalloweenInstance] HalloweenCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[SingleAllManager SingleInstance] SingleCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
[[HalloweenAllManager HalloweenInstance] HalloweenCKQueryOperation:self.controller HalloweenHuoWuID:products HalloweenJiaGe:[payInfo postAmount] HalloweenHuoWuMing:[payInfo productName] HalloweenDingDanHao:queryId];
[[SingleAllManager SingleInstance] SingleCKQueryOperation:self.controller SingleHuoWuID:products SingleJiaGe:[payInfo postAmount] SingleHuoWuMing:[payInfo productName] SingleDingDanHao:queryId];
}
}
......
#import <UIKit/UIKit.h>
@interface SingleIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* SingleDingDanHao;
@property(nonatomic,strong) NSDictionary* SingleHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* SingleHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *SingleHuoWuLieBiaoView;
- (void)SingleHuaQianView:(UIViewController*)controller SingleHuoWuD:(NSString*)products SingleQian:(NSString*)amount SingleHuoWuMing:(NSString*)productName SingleDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface SingleAllManager : NSObject
{
NSString* SingleCKAPPID_;
NSString* SingleCKAPPKEY_;
NSString* SingleInviterCode_;
}
@property bool SingleGeiWoHuaQianBa;
+ (SingleAllManager *)SingleInstance;
- (void)SingleChuShiHua;
- (void)SingleDengLu:(NSString *)SingleCKAPPID : (NSString *)SingleCKAPPKEY : (UIViewController *)controller;
- (void)SingleYangShi:(NSString*)SingleLeiXing;
- (void)SingleCKQuery: (NSString *)SingleFuWuQiID : (NSString *)SingleNickName : (NSNumber *)SingleAmount : (NSString *)SingleCallBack : (UIViewController *)controller : (NSString *)SingleServerName;
- (void)SingleCKQueryOperation:(UIViewController*)controll SingleHuoWuID:(NSString*)products SingleJiaGe:(NSString*)amount SingleHuoWuMing:(NSString*)productName SingleDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const SingleCKAssetsExitNotification;
extern NSString * const SingleCKAssetsLoginNotification;
extern NSString * const SingleCKAssetsErrorNotification;
@interface SingleHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface HalloweenLocation : NSObject
@interface SingleLocation : NSObject
+ (NSString *)HalloweenSKCloudServiceSetupOptionsKey;
+ (NSString *)SingleSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "HalloweenMessage.h"
#import "SingleMessage.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface HalloweenMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface SingleMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL HalloweenYouYuanJiao;
@property(assign) BOOL SingleYouYuanJiao;
- (void)HalloweenSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)HalloweenChuShiHuaWebView;
- (void)SingleSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)SingleChuShiHuaWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
@interface HalloweenMessage : NSObject
@interface SingleMessage : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (HalloweenMessage *)getInstance;
+ (SingleMessage *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface HalloweenMessageJM : NSObject
@interface SingleMessageJM : NSObject
+(NSString *)HalloweenJM:(NSString *)jm;
+(NSString *)SingleJM:(NSString *)jm;
@end
......