chengyanfang

sdk upgrade

Showing 71 changed files with 12 additions and 22 deletions
Pod::Spec.new do |s|
s.name = "HHMedicSDK"
s.version = "3.1.2.042211"
s.version = "3.1.2.042212"
s.summary = "和缓基础SDK"
s.description = <<-DESC
... ...
... ... @@ -3,5 +3,5 @@
<plist version="1.0">
<dict>
<key>HHBundleVersion</key>
<string>3.1.2.042211</string></dict>
<string>3.1.2.042212</string></dict>
</plist>
... ...
... ... @@ -205,13 +205,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
@protocol HHDNSProtocal;
SWIFT_CLASS("_TtC9HHSDKBase9HHBaseSDK")
@interface HHBaseSDK : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=default) HHBaseSDK * _Nonnull default_;)
+ (HHBaseSDK * _Nonnull)default SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, strong) id <HHDNSProtocal> _Nullable dnsCallback;
/// SDK init
- (void)start;
/// 登录账户
... ... @@ -234,16 +232,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=defau
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@class NSURLAuthenticationChallenge;
@class NSURLCredential;
SWIFT_PROTOCOL("_TtP9HHSDKBase13HHDNSProtocal_")
@protocol HHDNSProtocal
@optional
- (NSString * _Nonnull)changeHost:(NSString * _Nonnull)hostDomain SWIFT_WARN_UNUSED_RESULT;
- (void)requestHost:(NSString * _Nonnull)host challenge:(NSURLAuthenticationChallenge * _Nonnull)challenge completion:(SWIFT_NOESCAPE void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable))completion;
@end
SWIFT_CLASS("_TtC9HHSDKBase11HHDateUtils")
@interface HHDateUtils : NSObject
... ...
... ... @@ -185,9 +185,9 @@ extension Blowfish : HHSDKBase.Cipher {
final public func encrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
final public func decrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
}
@objc public protocol HHDNSProtocal {
@objc optional func changeHost(_ hostDomain: Swift.String) -> Swift.String
@objc optional func requestHost(_ host: Swift.String, challenge: Foundation.URLAuthenticationChallenge, completion: (Foundation.URLSession.AuthChallengeDisposition, Foundation.URLCredential?) -> Swift.Void)
public protocol HHDNSProtocal {
func changeHost(_ hostDomain: Swift.String) -> Swift.String
func requestHost(_ host: Swift.String, challenge: Foundation.URLAuthenticationChallenge, completion: @escaping (Foundation.URLSession.AuthChallengeDisposition, Foundation.URLCredential?) -> Swift.Void)
}
public struct CBC : HHSDKBase.BlockMode {
public enum Error : Swift.Error {
... ... @@ -535,7 +535,7 @@ public var HMHudManager: HHSDKBase.HHHUDable {
}
@objc public class HHBaseSDK : ObjectiveC.NSObject {
@objc public static let `default`: HHSDKBase.HHBaseSDK
@objc public var dnsCallback: HHSDKBase.HHDNSProtocal?
public var dnsCallback: HHSDKBase.HHDNSProtocal?
@objc public func start()
@objc public func login(userToken: Swift.String, completion: @escaping HHSDKBase.HHLoginHandler)
@objc public func logout(_ callback: ((Swift.String?) -> Swift.Void)? = nil)
... ... @@ -886,6 +886,7 @@ extension UIView {
public class func viewFromNib<T>(_ aClass: T.Type, frameworkPath: Swift.String) -> T
}
public class HHUrl {
public static func domains() -> [Swift.String]
public static func urlForPay() -> Swift.String
public static func urlForFamily() -> Swift.String
public static func urlForWeixin() -> Swift.String
... ...
... ... @@ -185,9 +185,9 @@ extension Blowfish : HHSDKBase.Cipher {
final public func encrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
final public func decrypt<C>(_ bytes: C) throws -> Swift.Array<Swift.UInt8> where C : Swift.Collection, C.Element == Swift.UInt8, C.Index == Swift.Int
}
@objc public protocol HHDNSProtocal {
@objc optional func changeHost(_ hostDomain: Swift.String) -> Swift.String
@objc optional func requestHost(_ host: Swift.String, challenge: Foundation.URLAuthenticationChallenge, completion: (Foundation.URLSession.AuthChallengeDisposition, Foundation.URLCredential?) -> Swift.Void)
public protocol HHDNSProtocal {
func changeHost(_ hostDomain: Swift.String) -> Swift.String
func requestHost(_ host: Swift.String, challenge: Foundation.URLAuthenticationChallenge, completion: @escaping (Foundation.URLSession.AuthChallengeDisposition, Foundation.URLCredential?) -> Swift.Void)
}
public struct CBC : HHSDKBase.BlockMode {
public enum Error : Swift.Error {
... ... @@ -535,7 +535,7 @@ public var HMHudManager: HHSDKBase.HHHUDable {
}
@objc public class HHBaseSDK : ObjectiveC.NSObject {
@objc public static let `default`: HHSDKBase.HHBaseSDK
@objc public var dnsCallback: HHSDKBase.HHDNSProtocal?
public var dnsCallback: HHSDKBase.HHDNSProtocal?
@objc public func start()
@objc public func login(userToken: Swift.String, completion: @escaping HHSDKBase.HHLoginHandler)
@objc public func logout(_ callback: ((Swift.String?) -> Swift.Void)? = nil)
... ... @@ -886,6 +886,7 @@ extension UIView {
public class func viewFromNib<T>(_ aClass: T.Type, frameworkPath: Swift.String) -> T
}
public class HHUrl {
public static func domains() -> [Swift.String]
public static func urlForPay() -> Swift.String
public static func urlForFamily() -> Swift.String
public static func urlForWeixin() -> Swift.String
... ...