Commit 2a46e4a3f566a27fc93e7628e7b2c28832870403
1 parent
d8df2a0881
Exists in
master
and in
1 other branch
add ios framework and demo,doc
Showing 10 changed files with 90 additions and 0 deletions Inline Diff
- .gitignore
- doc/ios\346\216\245\345\205\245\350\257\264\346\230\216\346\226\207\346\241\243.md
- ios/SpreadDemo
- ios/Spreader.framework/Headers
- ios/Spreader.framework/Info.plist
- ios/Spreader.framework/Spreader
- ios/Spreader.framework/Versions/A/Headers/Spreader.h
- ios/Spreader.framework/Versions/A/Headers/SpreaderSDK.h
- ios/Spreader.framework/Versions/A/Spreader
- ios/Spreader.framework/Versions/Current
.gitignore
File was created | 1 | ios/SpreadDemo/SpreadDemo.xcodeproj/project.xcworkspace/xcuserdata/gump.xcuserdatad/UserInterfaceState.xcuserstate | |
2 | **/.DS_Store |
ios/Spreader.framework/Headers
File was created | 1 | Versions/Current/Headers |
ios/Spreader.framework/Info.plist
No preview for this file type
ios/Spreader.framework/Spreader
File was created | 1 | Versions/Current/Spreader |
ios/Spreader.framework/Versions/A/Headers/Spreader.h
File was created | 1 | // | |
2 | // Spreader.h | ||
3 | // Spreader | ||
4 | // | ||
5 | // Created by Gump on 15/12/29. | ||
6 | // Copyright © 2015年 Gump. All rights reserved. | ||
7 | // | ||
8 | |||
9 | #import <UIKit/UIKit.h> | ||
10 | |||
11 | //! Project version number for Spreader. | ||
12 | FOUNDATION_EXPORT double SpreaderVersionNumber; | ||
13 | |||
14 | //! Project version string for Spreader. | ||
15 | FOUNDATION_EXPORT const unsigned char SpreaderVersionString[]; | ||
16 | |||
17 | // In this header, you should import all the public headers of your framework using statements like #import <Spreader/PublicHeader.h> | ||
18 | |||
19 | |||
20 | #import "SpreaderSDK.h" |
ios/Spreader.framework/Versions/A/Headers/SpreaderSDK.h
File was created | 1 | // | |
2 | // SpreaderSDK.h | ||
3 | // Spreader | ||
4 | //// Created by Gump on 15/12/30. | ||
5 | // Copyright © 2015年 Gump. All rights reserved. | ||
6 | // | ||
7 | |||
8 | #import <Foundation/Foundation.h> | ||
9 | #import <UIKit/UIKit.h> | ||
10 | |||
11 | @protocol SpreaderDelegate <NSObject> | ||
12 | |||
13 | -(void)shouldPresentViewController:(UIViewController*)presentViewController; | ||
14 | |||
15 | @end | ||
16 | |||
17 | static NSString *version = @"1.0.0"; | ||
18 | @interface SpreaderSDK : NSObject | ||
19 | |||
20 | @property(nonatomic,copy) NSString *appId; | ||
21 | @property(nonatomic,copy) NSString *userId; | ||
22 | @property(nonatomic,copy) NSString *serverId; | ||
23 | @property(nonatomic,copy) NSString *roleId; | ||
24 | |||
25 | @property(nonatomic,retain) id<SpreaderDelegate> delegate; | ||
26 | |||
27 | +(NSString*)version; | ||
28 | |||
29 | +(instancetype)sharedSDK; | ||
30 | -(void)enter; | ||
31 | @end | ||
32 |
ios/Spreader.framework/Versions/A/Spreader
No preview for this file type
ios/Spreader.framework/Versions/Current
No preview for this file type