Commit 795b66f6e4efc02f31f30931a370490d1dd67677
1 parent
07e6b8029c
Exists in
master
修改静态变量命名,解决与GameSDK的冲突
Showing 4 changed files with 2 additions and 1 deletions Inline Diff
ios/Spreader.framework/Versions/A/Headers/SpreaderSDK.h
| 1 | // | 1 | // |
| 2 | // SpreaderSDK.h | 2 | // SpreaderSDK.h |
| 3 | // Spreader | 3 | // Spreader |
| 4 | //// Created by Gump on 15/12/30. | 4 | //// Created by Gump on 15/12/30. |
| 5 | // Copyright © 2015年 Gump. All rights reserved. | 5 | // Copyright © 2015年 Gump. All rights reserved. |
| 6 | // | 6 | // |
| 7 | 7 | ||
| 8 | #import <Foundation/Foundation.h> | 8 | #import <Foundation/Foundation.h> |
| 9 | #import <UIKit/UIKit.h> | 9 | #import <UIKit/UIKit.h> |
| 10 | 10 | ||
| 11 | @protocol SpreaderDelegate <NSObject> | 11 | @protocol SpreaderDelegate <NSObject> |
| 12 | 12 | ||
| 13 | @required | ||
| 13 | -(void)shouldPresentViewController:(UIViewController*)presentViewController; | 14 | -(void)shouldPresentViewController:(UIViewController*)presentViewController; |
| 14 | 15 | ||
| 15 | @end | 16 | @end |
| 16 | 17 | ||
| 17 | static NSString *version = @"1.0.0"; | 18 | static NSString *spreaderVersion = @"1.0.1"; |
| 18 | @interface SpreaderSDK : NSObject | 19 | @interface SpreaderSDK : NSObject |
| 19 | 20 | ||
| 20 | @property(nonatomic,copy) NSString *appId; | 21 | @property(nonatomic,copy) NSString *appId; |
| 21 | @property(nonatomic,copy) NSString *userId; | 22 | @property(nonatomic,copy) NSString *userId; |
| 22 | @property(nonatomic,copy) NSString *serverId; | 23 | @property(nonatomic,copy) NSString *serverId; |
| 23 | @property(nonatomic,copy) NSString *roleId; | 24 | @property(nonatomic,copy) NSString *roleId; |
| 24 | 25 | ||
| 25 | @property(nonatomic,retain) id<SpreaderDelegate> delegate; | 26 | @property(nonatomic,retain) id<SpreaderDelegate> delegate; |
| 26 | 27 | ||
| 27 | +(NSString*)version; | 28 | +(NSString*)version; |
| 28 | 29 | ||
| 29 | +(instancetype)sharedSDK; | 30 | +(instancetype)sharedSDK; |
| 30 | -(void)enter; | 31 | -(void)enter; |
| 31 | @end | 32 | @end |
| 32 | 33 |
ios/Spreader.framework/Versions/A/Spreader
No preview for this file type
ios/reademe.txt
ios/spreader.zip
No preview for this file type