Commit 4e0b4d34e6b7464660e1808d5a584ff6ece4e774
1 parent
731b9947
0.0.2 ,增加广告页模块
Showing
3 changed files
with
30 additions
and
5 deletions
CNLiveServices.podspec
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | |
| 9 | 9 | Pod::Spec.new do |s| |
| 10 | 10 | s.name = 'CNLiveServices' |
| 11 | - s.version = '0.0.1' | |
| 11 | + s.version = '0.0.2' | |
| 12 | 12 | s.summary = 'CNLiveServices' |
| 13 | 13 | |
| 14 | 14 | # This description is used to generate tags and improve search results. |
| ... | ... | @@ -32,6 +32,11 @@ TODO: 网家家 - 业务接口协议库. |
| 32 | 32 | |
| 33 | 33 | s.source_files = 'CNLiveServices/Classes/CNLiveServices.h' |
| 34 | 34 | |
| 35 | + # 广告页 | |
| 36 | + s.subspec 'ADPage' do |ss| | |
| 37 | + ss.source_files = 'CNLiveServices/Classes/CNLiveADServiceProtocol/*.{h,m}' | |
| 38 | + end | |
| 39 | + | |
| 35 | 40 | # 首页 |
| 36 | 41 | s.subspec 'NetHome' do |ss| |
| 37 | 42 | ss.source_files = 'CNLiveServices/Classes/NetHome/*.{h,m}' | ... | ... |
CNLiveServices/Classes/CNLiveADServiceProtocol/CNLiveADServiceProtocol.h
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveADServiceProtocol.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2020/1/6. | |
| 6 | +// Copyright © 2020 cnlive. All rights reserved. | |
| 7 | +// 广告模块接口协议 | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import <UIKit/UIKit.h> | |
| 11 | +#import <CNLiveBeeHive/CNLiveBeeHive.h> | |
| 12 | + | |
| 13 | +#import "BHServiceProtocol.h" | |
| 14 | + | |
| 15 | +@protocol CNLiveADServiceProtocol <NSObject,BHServiceProtocol> | |
| 16 | + | |
| 17 | +@optional | |
| 18 | +/** 获取广告页 */ | |
| 19 | +- (UIViewController *)getConnectServerVC; | |
| 20 | + | |
| 21 | +@end | ... | ... |
CNLiveServices/Classes/CNLiveServices.h
| ... | ... | @@ -6,11 +6,11 @@ |
| 6 | 6 | // Copyright (c) 2019 153993236@qq.com. All rights reserved. |
| 7 | 7 | // |
| 8 | 8 | |
| 9 | -#ifndef CNLiveServices_h | |
| 10 | -#define CNLiveServices_h | |
| 11 | - | |
| 12 | 9 | #import <CNLiveBeeHive/CNLiveBeeHive.h> |
| 13 | 10 | |
| 11 | +#pragma mark - 启动页跳转模块 | |
| 12 | +#import "CNLiveADServiceProtocol.h" | |
| 13 | + | |
| 14 | 14 | #pragma mark - 首页 |
| 15 | 15 | // 首页 |
| 16 | 16 | #import "CNLiveNetHomeServiceProtocol.h" |
| ... | ... | @@ -48,4 +48,3 @@ |
| 48 | 48 | // 积分 |
| 49 | 49 | #import "CNLiveIntegralServiceProtocol.h" |
| 50 | 50 | |
| 51 | -#endif /* CNLiveServices_h */ | ... | ... |