Commit f1b8e6da7f8ef7c5aa45aa813ae2914f4c8f38af
1 parent
0c14a41e
创建文件
Showing
7 changed files
with
111 additions
and
0 deletions
CNLiveVideoClassifyKit.podspec
CNLiveVideoClassifyKit/Controller/CNLiveClassifySegmentController.h
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveClassifySegmentController.h | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive on 2021/8/7. | |
| 6 | +// | |
| 7 | + | |
| 8 | +#import <CNLiveBaseClass/CNLiveBaseClass.h> | |
| 9 | + | |
| 10 | +NS_ASSUME_NONNULL_BEGIN | |
| 11 | + | |
| 12 | +@interface CNLiveClassifySegmentController : CNLiveBaseViewController | |
| 13 | + | |
| 14 | +@end | |
| 15 | + | |
| 16 | +NS_ASSUME_NONNULL_END | ... | ... |
CNLiveVideoClassifyKit/Controller/CNLiveClassifySegmentController.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveClassifySegmentController.m | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive on 2021/8/7. | |
| 6 | +// | |
| 7 | + | |
| 8 | +#import "CNLiveClassifySegmentController.h" | |
| 9 | + | |
| 10 | +@interface CNLiveClassifySegmentController () | |
| 11 | + | |
| 12 | +@end | |
| 13 | + | |
| 14 | +@implementation CNLiveClassifySegmentController | |
| 15 | + | |
| 16 | +- (void)viewDidLoad { | |
| 17 | + [super viewDidLoad]; | |
| 18 | + // Do any additional setup after loading the view. | |
| 19 | +} | |
| 20 | + | |
| 21 | +/* | |
| 22 | +#pragma mark - Navigation | |
| 23 | + | |
| 24 | +// In a storyboard-based application, you will often want to do a little preparation before navigation | |
| 25 | +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { | |
| 26 | + // Get the new view controller using [segue destinationViewController]. | |
| 27 | + // Pass the selected object to the new view controller. | |
| 28 | +} | |
| 29 | +*/ | |
| 30 | + | |
| 31 | +@end | ... | ... |
CNLiveVideoClassifyKit/Controller/CnLiveSubClassifySegmentController.h
0 → 100644
| 1 | +// | |
| 2 | +// CnLiveSubClassifySegmentController.h | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive on 2021/8/7. | |
| 6 | +// | |
| 7 | + | |
| 8 | +#import <CNLiveBaseClass/CNLiveBaseClass.h> | |
| 9 | + | |
| 10 | +NS_ASSUME_NONNULL_BEGIN | |
| 11 | + | |
| 12 | +@interface CnLiveSubClassifySegmentController : CNLiveBaseViewController | |
| 13 | + | |
| 14 | +@end | |
| 15 | + | |
| 16 | +NS_ASSUME_NONNULL_END | ... | ... |
CNLiveVideoClassifyKit/Controller/CnLiveSubClassifySegmentController.m
0 → 100644
| 1 | +// | |
| 2 | +// CnLiveSubClassifySegmentController.m | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive on 2021/8/7. | |
| 6 | +// | |
| 7 | + | |
| 8 | +#import "CnLiveSubClassifySegmentController.h" | |
| 9 | + | |
| 10 | +@interface CnLiveSubClassifySegmentController () | |
| 11 | + | |
| 12 | +@end | |
| 13 | + | |
| 14 | +@implementation CnLiveSubClassifySegmentController | |
| 15 | + | |
| 16 | +- (void)viewDidLoad { | |
| 17 | + [super viewDidLoad]; | |
| 18 | + // Do any additional setup after loading the view. | |
| 19 | +} | |
| 20 | + | |
| 21 | +/* | |
| 22 | +#pragma mark - Navigation | |
| 23 | + | |
| 24 | +// In a storyboard-based application, you will often want to do a little preparation before navigation | |
| 25 | +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { | |
| 26 | + // Get the new view controller using [segue destinationViewController]. | |
| 27 | + // Pass the selected object to the new view controller. | |
| 28 | +} | |
| 29 | +*/ | |
| 30 | + | |
| 31 | +@end | ... | ... |
Example/CNLiveVideoClassifyKit.xcodeproj/project.pbxproj
| ... | ... | @@ -350,15 +350,29 @@ |
| 350 | 350 | ); |
| 351 | 351 | inputPaths = ( |
| 352 | 352 | "${PODS_ROOT}/Target Support Files/Pods-CNLiveVideoClassifyKit_Example/Pods-CNLiveVideoClassifyKit_Example-frameworks.sh", |
| 353 | + "${BUILT_PRODUCTS_DIR}/CNLiveBaseClass/CNLiveBaseClass.framework", | |
| 353 | 354 | "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework", |
| 355 | + "${BUILT_PRODUCTS_DIR}/CNLiveCategory/CNLiveCategory.framework", | |
| 356 | + "${BUILT_PRODUCTS_DIR}/CNLiveCustomControl/CNLiveCustomControl.framework", | |
| 357 | + "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework", | |
| 358 | + "${BUILT_PRODUCTS_DIR}/CNLiveVideoClassifyKit/CNLiveVideoClassifyKit.framework", | |
| 354 | 359 | "${BUILT_PRODUCTS_DIR}/JXCategoryView/JXCategoryView.framework", |
| 355 | 360 | "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework", |
| 361 | + "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework", | |
| 362 | + "${BUILT_PRODUCTS_DIR}/WebViewJavascriptBridge/WebViewJavascriptBridge.framework", | |
| 356 | 363 | ); |
| 357 | 364 | name = "[CP] Embed Pods Frameworks"; |
| 358 | 365 | outputPaths = ( |
| 366 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseClass.framework", | |
| 359 | 367 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework", |
| 368 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCategory.framework", | |
| 369 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomControl.framework", | |
| 370 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework", | |
| 371 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveVideoClassifyKit.framework", | |
| 360 | 372 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/JXCategoryView.framework", |
| 361 | 373 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework", |
| 374 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework", | |
| 375 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebViewJavascriptBridge.framework", | |
| 362 | 376 | ); |
| 363 | 377 | runOnlyForDeploymentPostprocessing = 0; |
| 364 | 378 | shellPath = /bin/sh; | ... | ... |
Example/Podfile
| 1 | 1 | use_frameworks! |
| 2 | 2 | |
| 3 | 3 | platform :ios, '9.0' |
| 4 | +source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' | |
| 4 | 5 | source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git' |
| 5 | 6 | target 'CNLiveVideoClassifyKit_Example' do |
| 6 | 7 | pod 'CNLiveVideoClassifyKit', :path => '../' |
| ... | ... | @@ -8,6 +9,7 @@ target 'CNLiveVideoClassifyKit_Example' do |
| 8 | 9 | pod 'MJExtension' |
| 9 | 10 | #基础UI组件库 |
| 10 | 11 | # pod 'CNLiveCustomUI' |
| 12 | + pod 'CNLiveBaseClass' | |
| 11 | 13 | #基础组件库 |
| 12 | 14 | pod 'CNLiveBaseKit' |
| 13 | 15 | target 'CNLiveVideoClassifyKit_Tests' do | ... | ... |