Commit 6d4aa4b803f6bcbc5c8e9f79113140085d220611

Authored by zhangxiaowen
1 parent a565fdb0

no message

CNLiveServices.podspec
... ... @@ -9,7 +9,7 @@
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveServices'
11 11 s.version = '0.0.1'
12   - s.summary = '网家家 - 业务接口协议库'
  12 + s.summary = 'CNLiveServices'
13 13  
14 14 # This description is used to generate tags and improve search results.
15 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 18 # * Finally, don't worry about the indent, CocoaPods strips it!
19 19  
20 20 s.description = <<-DESC
21   -TODO: Add long description of the pod here.
  21 +TODO: 网家家 - 业务接口协议库.
22 22 DESC
23 23  
24 24 s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveServices'
... ... @@ -57,6 +57,11 @@ TODO: Add long description of the pod here.
57 57 ss.source_files = 'CNLiveServices/Classes/Login/*.{h,m}'
58 58 end
59 59  
  60 + # 二维码
  61 + s.subspec 'QrCode' do |ss|
  62 + ss.source_files = 'CNLiveServices/Classes/QrCode/*.{h,m}'
  63 + end
  64 +
60 65 # s.resource_bundles = {
61 66 # 'CNLiveServices' => ['CNLiveServices/Assets/*.png']
62 67 # }
... ...
CNLiveServices/Classes/CNLiveServices.h
... ... @@ -26,5 +26,8 @@
26 26 // 登录
27 27 #import "CNLiveLoginServiceProtocol.h"
28 28  
  29 +// 二维码
  30 +#import "CNLiveQrCodeServiceProtocol.h"
  31 +
29 32  
30 33 #endif /* 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
... ...