Commit efef1433a69af6ff2f842f3c630e6666dafd212a

Authored by yanglingyu
1 parent fdb67b04

适配

CNLiveVideoClassifyKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveVideoClassifyKit'
11   - s.version = '0.0.31'
  11 + s.version = '0.0.32'
12 12 s.summary = '视讯头部一二级菜单组件'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ... @@ -46,6 +46,7 @@ Pod::Spec.new do |s|
46 46 s.dependency 'CNLiveBaseKit'
47 47 s.dependency 'CNLiveCategory'
48 48 s.dependency 'CNLiveUserManagement'
  49 + s.dependency 'CNLiveBusinessBaseModule'
49 50 s.dependency 'CNLiveCommonCategory'
50 51 s.dependency 'CNLiveBeeHive'
51 52 s.dependency 'CNLiveEnvironment'
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveClassifySegmentController.m
... ... @@ -766,7 +766,7 @@ static const CGFloat animationHeight = 15;
766 766 CNLiveSubSegmentController *subVC = [[CNLiveSubSegmentController alloc] initWithModel:model];
767 767 subVC.showType = CNLiveSubVCShowtypeChannel;
768 768 subVC.isBlack = isBlack;
769   - [self.navigationController pushViewController:subVC animated:YES];
  769 + [[BaseAppDelegate sharedAppDelegate] pushViewController:subVC];
770 770  
771 771 }else{
772 772 if([model.pageType isEqualToString:@"4"] || [model.pageType isEqualToString:@"5"]){
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveListController.m
... ... @@ -83,6 +83,9 @@
83 83 if (([CNLiveListController searchProperties:[vc class] string:@"webView"]||[CNLiveListController searchProperties:[vc.superclass class] string:@"webView"])&&[vc valueForKey:@"webView"]&&[[vc valueForKey:@"webView"] isKindOfClass:[WKWebView class]]) {
84 84 WKWebView *webView = (WKWebView *)[vc valueForKey:@"webView"];
85 85 [webView.scrollView addObserver:self forKeyPath:@"contentOffset" options:NSKeyValueObservingOptionNew context:nil];
  86 + [webView mas_makeConstraints:^(MASConstraintMaker *make) {
  87 + make.edges.equalTo(self.view);
  88 + }];
86 89 if (!self.isLoading) {
87 90 [webView.scrollView.mj_header beginRefreshing];
88 91 }
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Controller/CNLiveSubSegmentController.m
... ... @@ -191,7 +191,7 @@
191 191 self.myCategoryView.top = 0;
192 192 }
193 193  
194   - self.listContainerView.frame = CGRectMake(0, self.myCategoryView.bottom+10, kScreenWidth, self.view.bounds.size.height - self.myCategoryView.bottom);
  194 + self.listContainerView.frame = CGRectMake(0, self.myCategoryView.bottom+10, kScreenWidth, self.view.bounds.size.height - self.myCategoryView.bottom -10);
195 195 self.searchBtn.right = KScreenWidth-12;
196 196 CGFloat width = self.searchBtn.left;
197 197 self.searchBtn.centerY = self.myCategoryView.height/2;
... ...
CNLiveVideoClassifyKit/Classes/ClassifyCategory/Header/CNLivevideoClassifyPCH.h
... ... @@ -21,6 +21,7 @@
21 21 #import <CNLiveBeeHive/BHConfig.h>
22 22 #import <CNLiveEnvironment/CNLiveEnvironment.h>
23 23 #import <CNLiveCustomControl/CNLiveNavigationBar.h>
  24 +#import <CNLiveBusinessBaseModule/CNLiveBusinessBaseModule.h>
24 25 #import <MJExtension/MJExtension.h>
25 26 //#import <UMCommon/MobClick.h>
26 27 #import <MJRefresh/MJRefresh.h>
... ...
Example/CNLiveVideoClassifyKit.xcodeproj/project.pbxproj
... ... @@ -379,6 +379,7 @@
379 379 "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework",
380 380 "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework",
381 381 "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework",
  382 + "${BUILT_PRODUCTS_DIR}/CNLiveBusinessBaseModule/CNLiveBusinessBaseModule.framework",
382 383 "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework",
383 384 "${BUILT_PRODUCTS_DIR}/CNLiveCWebViewModule/CNLiveCWebViewModule.framework",
384 385 "${BUILT_PRODUCTS_DIR}/CNLiveCategory/CNLiveCategory.framework",
... ... @@ -412,6 +413,7 @@
412 413 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework",
413 414 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework",
414 415 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework",
  416 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessBaseModule.framework",
415 417 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework",
416 418 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCWebViewModule.framework",
417 419 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCategory.framework",
... ...
Example/CNLiveVideoClassifyKit/CNLIVEAppDelegate.h
... ... @@ -7,9 +7,8 @@
7 7 //
8 8  
9 9 @import UIKit;
  10 +#import <CNLiveBusinessBaseModule/CNLiveBusinessBaseModule.h>
10 11  
11   -@interface CNLIVEAppDelegate : UIResponder <UIApplicationDelegate>
12   -
13   -@property (strong, nonatomic) UIWindow *window;
  12 +@interface CNLIVEAppDelegate : BaseAppDelegate <UIApplicationDelegate>
14 13  
15 14 @end
... ...
Example/Podfile.lock
... ... @@ -17,6 +17,32 @@ PODS:
17 17 - CNLiveBaseKit (0.1.23):
18 18 - CNLiveNewTripartiteManagement/MJExtension
19 19 - CNLiveBeeHive (0.1.9)
  20 + - CNLiveBServices (0.1.3.9):
  21 + - CNLiveBeeHive
  22 + - CNLiveBServices/Live (= 0.1.3.9)
  23 + - CNLiveBServices/Login (= 0.1.3.9)
  24 + - CNLiveBServices/Message (= 0.1.3.9)
  25 + - CNLiveBServices/Mine (= 0.1.3.9)
  26 + - CNLiveBServices/Service (= 0.1.3.9)
  27 + - CNLiveBServices/Live (0.1.3.9):
  28 + - CNLiveBeeHive
  29 + - CNLiveBServices/Login (0.1.3.9):
  30 + - CNLiveBeeHive
  31 + - CNLiveBServices/Message (0.1.3.9):
  32 + - CNLiveBeeHive
  33 + - CNLiveBServices/Mine (0.1.3.9):
  34 + - CNLiveBeeHive
  35 + - CNLiveBServices/Service (0.1.3.9):
  36 + - CNLiveBeeHive
  37 + - CNLiveBusinessBaseModule (0.2.0):
  38 + - CNLiveBaseKit
  39 + - CNLiveBeeHive
  40 + - CNLiveBServices
  41 + - CNLiveCommonCategory
  42 + - CNLiveEnvironment
  43 + - CNLiveNewTripartiteManagement/QMUIKit
  44 + - CNLiveRequestBastKit
  45 + - CNLiveUserManagement
20 46 - CNLiveBusinessTools (0.1.27):
21 47 - CNLiveBaseKit
22 48 - CNLiveEnvironment
... ... @@ -136,9 +162,10 @@ PODS:
136 162 - CNLiveSDK/CNLiveStat (0.3.4.8)
137 163 - CNLiveUserManagement (0.1.5):
138 164 - CNLiveNewTripartiteManagement/MJExtension
139   - - CNLiveVideoClassifyKit (0.0.30):
  165 + - CNLiveVideoClassifyKit (0.0.31):
140 166 - CNLiveBaseKit
141 167 - CNLiveBeeHive
  168 + - CNLiveBusinessBaseModule
142 169 - CNLiveCategory
143 170 - CNLiveCommonCategory
144 171 - CNLiveCustomControl
... ... @@ -511,6 +538,8 @@ SPEC REPOS:
511 538 http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git:
512 539 - CNLiveBaseKit
513 540 - CNLiveBeeHive
  541 + - CNLiveBServices
  542 + - CNLiveBusinessBaseModule
514 543 - CNLiveBusinessTools
515 544 - CNLiveCategory
516 545 - CNLiveCommonCategory
... ... @@ -553,6 +582,8 @@ SPEC CHECKSUMS:
553 582 AFNetworking: 7864c38297c79aaca1500c33288e429c3451fdce
554 583 CNLiveBaseKit: 44e5fc573cbca78a86b704cf77c886ef53889807
555 584 CNLiveBeeHive: 1e105b15b6ccaad546258fcf91231563beb853d4
  585 + CNLiveBServices: 747c8c6c8d300c4daaeb108027c5886c66ed02ce
  586 + CNLiveBusinessBaseModule: 1d2eee2e04c8db762781b7ad45278d043db56748
556 587 CNLiveBusinessTools: dfd3270d885523be2599bdc3a95a416277682d0d
557 588 CNLiveCategory: c90a01af1e20cd89f47d4f551d47d2ddc9ca96f3
558 589 CNLiveCommonCategory: 22c9842b31f2087803ae69e983b2c944fb80eae1
... ... @@ -564,7 +595,7 @@ SPEC CHECKSUMS:
564 595 CNLiveRequestBastKit: 9fe28913b94a0a072298eba3356f17b98ef0b6cd
565 596 CNLiveSDK: 75bafaafbb8c09dcb4420adfe0f05130405b25e7
566 597 CNLiveUserManagement: ead053f2d701b01ea8fb5f1da572be788f2dd3cf
567   - CNLiveVideoClassifyKit: 69256224dd4833a46653960b28576b9f42574e24
  598 + CNLiveVideoClassifyKit: d36f2503ac8103369634f70f53df3ccc7b9a84d1
568 599 FWDebug: 5a20d089a300517153de1438d8128ad4c4690951
569 600 JXCategoryView: 2ef9ecfd3735158d009ce02d1f29811aa822da65
570 601 Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
... ...