Commit e19bbd38 by zhangyunjie

1.0.0.6

parent 80be15d2
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'OffcnIMSDKiOS' s.name = 'OffcnIMSDKiOS'
s.version = '1.0.0.5' s.version = '1.0.0.6'
s.summary = 'OffcnIMSDKiOS.' s.summary = 'OffcnIMSDKiOS.'
s.description = <<-DESC s.description = <<-DESC
......
...@@ -9,12 +9,12 @@ ...@@ -9,12 +9,12 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "OffcnIMModel.h" #import "OffcnIMModel.h"
static const NSString *OffcnIMSDKiOSVersion = @"1.0.0.5"; static const NSString *OffcnIMSDKiOSVersion = @"1.0.0.6";
typedef NS_ENUM(NSUInteger, OffcnSDKReachabilityStatus) { typedef NS_ENUM(NSUInteger, OffcnIMSDKReachabilityStatus) {
OffcnSDKReachabilityStatusNotReachable = 0, OffcnIMSDKReachabilityStatusNotReachable = 0,
OffcnSDKReachabilityStatusViaWWAN, OffcnIMSDKReachabilityStatusViaWWAN,
OffcnSDKReachabilityStatusViaWiFi, OffcnIMSDKReachabilityStatusViaWiFi,
}; };
typedef NS_ENUM(NSUInteger, OffcnSDKMsgType) { typedef NS_ENUM(NSUInteger, OffcnSDKMsgType) {
...@@ -35,7 +35,7 @@ typedef NS_ENUM(NSUInteger, OffcnSDKType) { ...@@ -35,7 +35,7 @@ typedef NS_ENUM(NSUInteger, OffcnSDKType) {
}; };
//网络监听回调 //网络监听回调
typedef void(^OffcnSDKReachabilityStatusCallBack)(OffcnSDKReachabilityStatus status); typedef void(^OffcnIMSDKReachabilityStatusCallBack)(OffcnIMSDKReachabilityStatus status);
@interface OffcnIMSDKiOS : NSObject @interface OffcnIMSDKiOS : NSObject
...@@ -49,8 +49,8 @@ typedef void(^OffcnSDKReachabilityStatusCallBack)(OffcnSDKReachabilityStatus sta ...@@ -49,8 +49,8 @@ typedef void(^OffcnSDKReachabilityStatusCallBack)(OffcnSDKReachabilityStatus sta
@property (nonatomic, copy) NSString *deviceToken; @property (nonatomic, copy) NSString *deviceToken;
//网络状态 //网络状态
@property (nonatomic, assign) OffcnSDKReachabilityStatus OffcnReachabilityStatus; @property (nonatomic, assign) OffcnIMSDKReachabilityStatus OffcnReachabilityStatus;
@property (nonatomic, copy) OffcnSDKReachabilityStatusCallBack reachabilityStatusCallBack; @property (nonatomic, copy) OffcnIMSDKReachabilityStatusCallBack reachabilityStatusCallBack;
/// 启动SDK /// 启动SDK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment