Commit 2a46e4a3f566a27fc93e7628e7b2c28832870403

Authored by 赵康
1 parent d8df2a0881
Exists in master and in 1 other branch features

add ios framework and demo,doc

Showing 10 changed files with 90 additions and 0 deletions Side-by-side Diff

... ... @@ -0,0 +1,2 @@
  1 +ios/SpreadDemo/SpreadDemo.xcodeproj/project.xcworkspace/xcuserdata/gump.xcuserdatad/UserInterfaceState.xcuserstate
  2 +**/.DS_Store
0 3 \ No newline at end of file
ios/Spreader.framework/Headers
... ... @@ -0,0 +1 @@
  1 +Versions/Current/Headers
0 2 \ No newline at end of file
ios/Spreader.framework/Info.plist
No preview for this file type
ios/Spreader.framework/Spreader
... ... @@ -0,0 +1 @@
  1 +Versions/Current/Spreader
0 2 \ No newline at end of file
ios/Spreader.framework/Versions/A/Headers/Spreader.h
... ... @@ -0,0 +1,20 @@
  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"
0 21 \ No newline at end of file
ios/Spreader.framework/Versions/A/Headers/SpreaderSDK.h
... ... @@ -0,0 +1,31 @@
  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
ios/Spreader.framework/Versions/A/Spreader
No preview for this file type
ios/Spreader.framework/Versions/Current
No preview for this file type