Commit 6d4aa4b803f6bcbc5c8e9f79113140085d220611
1 parent
a565fdb0
no message
Showing
3 changed files
with
37 additions
and
2 deletions
CNLiveServices.podspec
| @@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveServices' | 10 | s.name = 'CNLiveServices' |
| 11 | s.version = '0.0.1' | 11 | s.version = '0.0.1' |
| 12 | - s.summary = '网家家 - 业务接口协议库' | 12 | + s.summary = 'CNLiveServices' |
| 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. |
| 15 | # * Think: What does it do? Why did you write it? What is the focus? | 15 | # * Think: What does it do? Why did you write it? What is the focus? |
| @@ -18,7 +18,7 @@ Pod::Spec.new do |s| | @@ -18,7 +18,7 @@ Pod::Spec.new do |s| | ||
| 18 | # * Finally, don't worry about the indent, CocoaPods strips it! | 18 | # * Finally, don't worry about the indent, CocoaPods strips it! |
| 19 | 19 | ||
| 20 | s.description = <<-DESC | 20 | s.description = <<-DESC |
| 21 | -TODO: Add long description of the pod here. | 21 | +TODO: 网家家 - 业务接口协议库. |
| 22 | DESC | 22 | DESC |
| 23 | 23 | ||
| 24 | s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveServices' | 24 | s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveServices' |
| @@ -57,6 +57,11 @@ TODO: Add long description of the pod here. | @@ -57,6 +57,11 @@ TODO: Add long description of the pod here. | ||
| 57 | ss.source_files = 'CNLiveServices/Classes/Login/*.{h,m}' | 57 | ss.source_files = 'CNLiveServices/Classes/Login/*.{h,m}' |
| 58 | end | 58 | end |
| 59 | 59 | ||
| 60 | + # 二维码 | ||
| 61 | + s.subspec 'QrCode' do |ss| | ||
| 62 | + ss.source_files = 'CNLiveServices/Classes/QrCode/*.{h,m}' | ||
| 63 | + end | ||
| 64 | + | ||
| 60 | # s.resource_bundles = { | 65 | # s.resource_bundles = { |
| 61 | # 'CNLiveServices' => ['CNLiveServices/Assets/*.png'] | 66 | # 'CNLiveServices' => ['CNLiveServices/Assets/*.png'] |
| 62 | # } | 67 | # } |
CNLiveServices/Classes/CNLiveServices.h
CNLiveServices/Classes/QrCode/CNLiveQrCodeServiceProtocol.h
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveQrCodeServiceProtocol.h | ||
| 3 | +// CNLiveServices | ||
| 4 | +// | ||
| 5 | +// Created by 153993236@qq.com on 07/22/2019. | ||
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | +#import <UIKit/UIKit.h> | ||
| 11 | +#import "BHServiceProtocol.h" | ||
| 12 | + | ||
| 13 | +@protocol CNLiveQrCodeServiceProtocol <NSObject, BHServiceProtocol> | ||
| 14 | + | ||
| 15 | +// 扫一扫 | ||
| 16 | +- (UIViewController *)getSweepQrCodeController; | ||
| 17 | +- (void)pushToSweepQrCodeController:(BOOL)isMyCode; | ||
| 18 | + | ||
| 19 | +// 我的二维码 | ||
| 20 | +- (UIViewController *)getMyQrCodeController; | ||
| 21 | +- (void)pushToMyQrCodeController:(BOOL)isScanCode; | ||
| 22 | + | ||
| 23 | +// 群组二维码 | ||
| 24 | +- (UIViewController *)getGroupQrCodeController; | ||
| 25 | +- (void)pushToGroupQrCodeController; | ||
| 26 | + | ||
| 27 | +@end |