Commit d4484f3f35afbfdfd16bc367d6e47252c19ef312

Authored by yanglingyu
1 parent 806b8a60

交互问题

CNLiveVideoClassifyKit.podspec
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 8
9 Pod::Spec.new do |s| 9 Pod::Spec.new do |s|
10 s.name = 'CNLiveVideoClassifyKit' 10 s.name = 'CNLiveVideoClassifyKit'
11 - s.version = '0.0.16' 11 + s.version = '0.0.17'
12 s.summary = '视讯头部一二级菜单组件' 12 s.summary = '视讯头部一二级菜单组件'
13 13
14 # This description is used to generate tags and improve search results. 14 # This description is used to generate tags and improve search results.
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveClassifySegmentController.h
@@ -11,6 +11,7 @@ NS_ASSUME_NONNULL_BEGIN @@ -11,6 +11,7 @@ NS_ASSUME_NONNULL_BEGIN
11 11
12 @interface CNLiveClassifySegmentController : CNCategoryBaseViewController 12 @interface CNLiveClassifySegmentController : CNCategoryBaseViewController
13 @property (nonatomic, assign) BOOL isLoad; 13 @property (nonatomic, assign) BOOL isLoad;
  14 +@property (nonatomic, assign) NSInteger isLoginIndex;
14 // 点击定制频道按钮进入定制 15 // 点击定制频道按钮进入定制
15 - (void)customAction:(UIButton *)sender; 16 - (void)customAction:(UIButton *)sender;
16 - (void)dataDivideIntoNormalAndOtherWithFirst:(BOOL)first; 17 - (void)dataDivideIntoNormalAndOtherWithFirst:(BOOL)first;
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveClassifySegmentController.m
@@ -28,8 +28,6 @@ static const CGFloat animationHeight = 15; @@ -28,8 +28,6 @@ static const CGFloat animationHeight = 15;
28 @property (nonatomic, strong) UIImageView *topBgImg; //头部图片 28 @property (nonatomic, strong) UIImageView *topBgImg; //头部图片
29 @property (nonatomic, assign) CGFloat topBgImgHeight;//头部图片高度 29 @property (nonatomic, assign) CGFloat topBgImgHeight;//头部图片高度
30 30
31 -@property (nonatomic, assign) NSInteger isLoginIndex;  
32 -  
33 @property (nonatomic, strong) NSString * currentAtatusColor; 31 @property (nonatomic, strong) NSString * currentAtatusColor;
34 //电商通知返回 32 //电商通知返回
35 @property (nonatomic, copy) NSString *naviBackgroundColor; 33 @property (nonatomic, copy) NSString *naviBackgroundColor;
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveSubSegmentController.m
@@ -176,7 +176,7 @@ @@ -176,7 +176,7 @@
176 self.myCategoryView.width = width; 176 self.myCategoryView.width = width;
177 weakself 177 weakself
178 [CNLiveListManager shareListManager].scrollViewDidScrollBlock = ^(BOOL isUp) { 178 [CNLiveListManager shareListManager].scrollViewDidScrollBlock = ^(BOOL isUp) {
179 - !self.scrollViewDidScrollBlock ?: self.scrollViewDidScrollBlock(isUp); 179 + !weakSelf.scrollViewDidScrollBlock ?: weakSelf.scrollViewDidScrollBlock(isUp);
180 }; 180 };
181 // Do any additional setup after loading the view. 181 // Do any additional setup after loading the view.
182 } 182 }