Commit 12ca1788be9a504c3eb3131a9e1213f3aa375e9a
1 parent
c6a88612
添加获取小家盒子跳转信息方法
Showing
9 changed files
with
20 additions
and
33 deletions
DSCnliveShopSDK.podspec
| 1 | 1 | ||
| 2 | Pod::Spec.new do |s| | 2 | Pod::Spec.new do |s| |
| 3 | s.name = 'DSCnliveShopSDK' | 3 | s.name = 'DSCnliveShopSDK' |
| 4 | - s.version = '0.3.4.028' | 4 | + s.version = '0.3.5.001' |
| 5 | s.summary = 'cnlive电商SDK' | 5 | s.summary = 'cnlive电商SDK' |
| 6 | s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/DSCnliveShopSDK' | 6 | s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/DSCnliveShopSDK' |
| 7 | s.license = { :type => 'MIT', :file => 'LICENSE' } | 7 | s.license = { :type => 'MIT', :file => 'LICENSE' } |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSCnliveShopSDK
No preview for this file type
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSCultureResource.bundle/DS_culture_HP_IP_close@2x.png
0 → 100755
1.4 KB
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/DSCultureResource.bundle/DS_culture_HP_IP_close@3x.png
0 → 100755
3.55 KB
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSAddressModel.h
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | // iosZhaoLinNeighbouraide | 3 | // iosZhaoLinNeighbouraide |
| 4 | // | 4 | // |
| 5 | // Created by 张魁 on 2017/3/14. | 5 | // Created by 张魁 on 2017/3/14. |
| 6 | -// Copyright © 2017年 FOREVERIDIOT. All rights reserved. | 6 | +// Copyright © 2017年 BIKE. All rights reserved. |
| 7 | // | 7 | // |
| 8 | 8 | ||
| 9 | #import <Foundation/Foundation.h> | 9 | #import <Foundation/Foundation.h> |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDK.h
| @@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
| 4 | // | 4 | // |
| 5 | // Created by zhaolin on 2019/4/13. | 5 | // Created by zhaolin on 2019/4/13. |
| 6 | // Copyright © 2019年 BIKE. All rights reserved. | 6 | // Copyright © 2019年 BIKE. All rights reserved. |
| 7 | -// 当前版本0.3.4.028 | 7 | +// 当前版本0.3.5.001 |
| 8 | 8 | ||
| 9 | #import <UIKit/UIKit.h> | 9 | #import <UIKit/UIKit.h> |
| 10 | 10 |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSCnliveShopSDKCheck.h
| @@ -26,6 +26,11 @@ NS_ASSUME_NONNULL_BEGIN | @@ -26,6 +26,11 @@ NS_ASSUME_NONNULL_BEGIN | ||
| 26 | /// errorCode 0没错 1没登录 2请求错误 errorMessage错误信息 | 26 | /// errorCode 0没错 1没登录 2请求错误 errorMessage错误信息 |
| 27 | -(void)checkIsHaveGiftCompletion:(nullable void (^)(BOOL isHave, NSString * _Nullable giftOrderId, NSString * _Nullable url, NSUInteger errorCode, NSString * _Nullable errorMessage))completion; | 27 | -(void)checkIsHaveGiftCompletion:(nullable void (^)(BOOL isHave, NSString * _Nullable giftOrderId, NSString * _Nullable url, NSUInteger errorCode, NSString * _Nullable errorMessage))completion; |
| 28 | 28 | ||
| 29 | +/// 获取小家音响商品跳转信息 | ||
| 30 | +/// @param completion 回调 type跳转格式 to跳转目标 shopType跳转附加参数 | ||
| 31 | +/// errorCode 0没错 2请求错误 errorMessage错误信息 | ||
| 32 | +-(void)getXJSpeakerGoodsSkipInfoComletion:(nullable void (^)(NSString * _Nullable type, NSString * _Nullable to, NSString * _Nullable shopType, NSUInteger errorCode, NSString * _Nullable errorMessage))completion; | ||
| 33 | + | ||
| 29 | @end | 34 | @end |
| 30 | 35 | ||
| 31 | NS_ASSUME_NONNULL_END | 36 | NS_ASSUME_NONNULL_END |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Headers/DSNavButton.h
| @@ -23,7 +23,7 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { | @@ -23,7 +23,7 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { | ||
| 23 | DSImagePositionBottom, | 23 | DSImagePositionBottom, |
| 24 | }; | 24 | }; |
| 25 | 25 | ||
| 26 | -@interface DSNavButton : UIView | 26 | +@interface DSNavButton : UIControl |
| 27 | 27 | ||
| 28 | /*************************************************************************************************** | 28 | /*************************************************************************************************** |
| 29 | 默认frame = CGRectMake(自动排列间距0, get_system_statusBar_height(), get_system_nav_ui_height(), get_system_nav_ui_height()) | 29 | 默认frame = CGRectMake(自动排列间距0, get_system_statusBar_height(), get_system_nav_ui_height(), get_system_nav_ui_height()) |
| @@ -49,35 +49,7 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { | @@ -49,35 +49,7 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { | ||
| 49 | -(nonnull instancetype)initWithImage:(nonnull UIImage *)image imageSize:(CGSize)imageSize title:(nonnull NSString*)title imagePosition:(DSImagePosition)imagePosition; | 49 | -(nonnull instancetype)initWithImage:(nonnull UIImage *)image imageSize:(CGSize)imageSize title:(nonnull NSString*)title imagePosition:(DSImagePosition)imagePosition; |
| 50 | -(nonnull instancetype)initWithImage:(nonnull UIImage *)image imageSize:(CGSize)imageSize title:(nonnull NSString*)title font:(nonnull UIFont*)font titleColor:(nonnull UIColor*)titleColor imagePosition:(DSImagePosition)imagePosition; | 50 | -(nonnull instancetype)initWithImage:(nonnull UIImage *)image imageSize:(CGSize)imageSize title:(nonnull NSString*)title font:(nonnull UIFont*)font titleColor:(nonnull UIColor*)titleColor imagePosition:(DSImagePosition)imagePosition; |
| 51 | 51 | ||
| 52 | -#pragma mark - 点击方法 | ||
| 53 | - | ||
| 54 | -/** | ||
| 55 | - 点击方法(无参数) | ||
| 56 | - | ||
| 57 | - @param target 对象 | ||
| 58 | - @param action 方法 | ||
| 59 | - */ | ||
| 60 | --(void)addTarget:(nullable id)target action:(nonnull SEL)action; | ||
| 61 | - | ||
| 62 | -/** | ||
| 63 | - 点击方法(单参数) | ||
| 64 | - | ||
| 65 | - @param target 对象 | ||
| 66 | - @param action 方法 | ||
| 67 | - @param object 单参数 | ||
| 68 | - */ | ||
| 69 | --(void)addTarget:(nullable id)target action:(nonnull SEL)action object:(nullable id)object; | ||
| 70 | - | ||
| 71 | -/** | ||
| 72 | - 点击方法(多参数) | ||
| 73 | - | ||
| 74 | - @param target 对象 | ||
| 75 | - @param action 方法 | ||
| 76 | - @param objects 多参数 | ||
| 77 | - */ | ||
| 78 | --(void)addTarget:(nullable id)target action:(nonnull SEL)action objects:(nullable NSArray*)objects; | ||
| 79 | - | ||
| 80 | -#pragma mark - 修改 | 52 | +#pragma mark - 标题属性 |
| 81 | 53 | ||
| 82 | /** | 54 | /** |
| 83 | 标题 | 55 | 标题 |
| @@ -91,6 +63,9 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { | @@ -91,6 +63,9 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { | ||
| 91 | 标题颜色 | 63 | 标题颜色 |
| 92 | */ | 64 | */ |
| 93 | @property (nonatomic,strong,nonnull) UIColor * titleColor; | 65 | @property (nonatomic,strong,nonnull) UIColor * titleColor; |
| 66 | + | ||
| 67 | +#pragma mark - 图片属性 | ||
| 68 | + | ||
| 94 | /** | 69 | /** |
| 95 | 图片 | 70 | 图片 |
| 96 | */ | 71 | */ |
| @@ -100,4 +75,11 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { | @@ -100,4 +75,11 @@ typedef NS_ENUM(NSUInteger, DSImagePosition) { | ||
| 100 | */ | 75 | */ |
| 101 | @property (nonatomic,assign) CGSize imageSize; | 76 | @property (nonatomic,assign) CGSize imageSize; |
| 102 | 77 | ||
| 78 | +/* | ||
| 79 | + 图片颜色用tintColor修改 | ||
| 80 | + */ | ||
| 81 | + | ||
| 82 | +/// 图片位置 | ||
| 83 | +@property (nonatomic,assign) DSImagePosition imagePosition; | ||
| 84 | + | ||
| 103 | @end | 85 | @end |
DSCnliveShopSDK/Classes/DSCnliveShopSDK.framework/Info.plist
No preview for this file type