Commit 53c30e7a969ddb075fed00ef71eac44b31cb798d

Authored by 梁星国
1 parent 84c7cb76

提交初始化工程

Showing 37 changed files with 2196 additions and 0 deletions
.gitignore 0 → 100644
  1 +*~
  2 +.DS_Store
  3 +*.xcuserstate
  4 +*.xcworkspace
  5 +xcuserdata
  6 +*.lock
  7 +Pods
0 8 \ No newline at end of file
... ...
CNLiveServiceCenterModule.podspec 0 → 100644
  1 +#
  2 +# Be sure to run `pod lib lint CNLiveServiceCenterModule.podspec' to ensure this is a
  3 +# valid spec before submitting.
  4 +#
  5 +# Any lines starting with a # are optional, but their use is encouraged
  6 +# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
  7 +#
  8 +
  9 +Pod::Spec.new do |s|
  10 + s.name = 'CNLiveServiceCenterModule'
  11 + s.version = '0.0.1'
  12 + s.summary = '网家家企业端服务中心模块'
  13 +
  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?
  16 + # * Try to keep it short, snappy and to the point.
  17 + # * Write the description between the DESC delimiters below.
  18 + # * Finally, don't worry about the indent, CocoaPods strips it!
  19 +
  20 + s.description = <<-DESC
  21 + 网家家企业端服务中心模块
  22 + DESC
  23 +
  24 + s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveServiceCenterModule'
  25 + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  26 + s.license = { :type => 'MIT', :file => 'LICENSE' }
  27 + s.author = { 'lianxingguo' => 'jyyjkt@qq.com' }
  28 + s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveServiceCenterModule.git', :tag => s.version.to_s }
  29 + # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  30 +
  31 + s.ios.deployment_target = '9.0'
  32 + s.requires_arc = true
  33 +
  34 + s.resources = "CNLiveServiceCenterModule/Classes/*.{png,bundle}"
  35 + s.source_files = "CNLiveServiceCenterModule/Classes/**/**/*.{h,m}"
  36 +
  37 + # s.resource_bundles = {
  38 + # 'CNLiveServiceCenterModule' => ['CNLiveServiceCenterModule/Assets/*.png']
  39 + # }
  40 +
  41 + # s.public_header_files = 'Pod/Classes/**/*.h'
  42 + # s.frameworks = 'UIKit', 'MapKit'
  43 + # s.dependency 'AFNetworking', '~> 2.3'
  44 +
  45 + ########################################
  46 + ### 私有库,每次pod update后需要
  47 + ### 1)注释以下CNLive私有库pod install
  48 + ### 2)打开以下CNLive私有库pod install
  49 + ########################################
  50 + #CNLive组件
  51 + s.dependency 'CNLiveBeeHive' #核心路由架构
  52 + #分享工具库
  53 + s.dependency 'CNLiveShareToolKit'
  54 + #基础请求组件库
  55 + s.dependency 'CNLiveRequestBastKit'
  56 + #基础UI组件库
  57 + s.dependency 'CNLiveCustomUI'
  58 + #基础组件库
  59 + s.dependency 'CNLiveBaseKit'
  60 + #基础分类组件库
  61 + s.dependency 'CNLiveCommonCategory'
  62 + #用户管理库
  63 + s.dependency 'CNLiveUserManagement'
  64 + #语音转文字库
  65 + s.dependency 'CNLiveVoiceToTextKit'
  66 + #业务工具库
  67 + s.dependency 'CNLiveBusinessTools'
  68 + #本地存储库
  69 + s.dependency 'CNLiveCacheManagerKit'
  70 + #环境库
  71 + s.dependency 'CNLiveEnvironment'
  72 + #iCould文件取得
  73 + s.dependency 'CNLiveICloudPicker'
  74 + # #系统定位
  75 + # pod 'CNLiveLocationManager'
  76 + #上传 (新加)
  77 + s.dependency 'CNLiveUploadManager'
  78 + #相册 (新加)
  79 + s.dependency 'CNLiveImagePickerController'
  80 + #腾讯QQ库
  81 + s.dependency 'CNLiveTencentopenapi'
  82 + #组件化-接口库CNLiveServices
  83 + s.dependency 'CNLiveServices'
  84 +
  85 +
  86 +end
... ...
CNLiveServiceCenterModule/Assets/.gitkeep 0 → 100644
CNLiveServiceCenterModule/Classes/.gitkeep 0 → 100644
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Category/NSBundle+Service.h 0 → 100644
  1 +//
  2 +// NSBundle+Service.h
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface NSBundle (Service)
  13 +
  14 ++ (NSBundle *)serviceBundle;
  15 +
  16 +@end
  17 +
  18 +NS_ASSUME_NONNULL_END
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Category/NSBundle+Service.m 0 → 100644
  1 +//
  2 +// NSBundle+Service.m
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import "NSBundle+Service.h"
  9 +#import "CNLiveBServiceCenterController.h"
  10 +
  11 +@implementation NSBundle (Service)
  12 +
  13 ++ (NSBundle *)serviceBundle {
  14 + NSBundle *bundle = [NSBundle bundleForClass:[CNLiveBServiceCenterController class]];
  15 + NSURL *url = [bundle URLForResource:@"CNLiveServiceCenterModule" withExtension:@"bundle"];
  16 + bundle = [NSBundle bundleWithURL:url];
  17 + return bundle;
  18 +}
  19 +
  20 +@end
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Category/UIImage+Service.h 0 → 100644
  1 +//
  2 +// UIImage+Service.h
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import <UIKit/UIKit.h>
  9 +
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +@interface UIImage (Service)
  14 +
  15 ++ (UIImage *)imageNamedFromBundle:(NSString *)imageName;
  16 +
  17 +
  18 +@end
  19 +
  20 +NS_ASSUME_NONNULL_END
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Category/UIImage+Service.m 0 → 100644
  1 +//
  2 +// UIImage+Service.m
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import "UIImage+Service.h"
  9 +#import "NSBundle+Service.h"
  10 +
  11 +@implementation UIImage (Service)
  12 +
  13 ++ (UIImage *)imageNamedFromBundle:(NSString *)imageName {
  14 + NSBundle *imageBundle = [NSBundle serviceBundle];
  15 + NSString *imageNameStr = [NSString stringWithFormat:@"%@",[imageName stringByAppendingString:@"@2x"]];
  16 + NSString *imagePath = [imageBundle pathForResource:imageNameStr ofType:@"png"];
  17 + UIImage *image = [UIImage imageWithContentsOfFile:imagePath];
  18 + if (!image) {
  19 + // 兼容业务方自己设置图片的方式
  20 + imageNameStr = [imageNameStr stringByReplacingOccurrencesOfString:@"@2x" withString:@""];
  21 + image = [UIImage imageNamed:imageNameStr];
  22 + }
  23 + if (!image) {
  24 + image = [UIImage new];
  25 + }
  26 + return image;
  27 +}
  28 +
  29 +
  30 +@end
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Controller/CNLiveBServiceCenterController.h 0 → 100644
  1 +//
  2 +// CNLiveBServiceCenterController.h
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import <UIKit/UIKit.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveBServiceCenterController : UIViewController
  13 +
  14 +@end
  15 +
  16 +NS_ASSUME_NONNULL_END
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Controller/CNLiveBServiceCenterController.m 0 → 100644
  1 +//
  2 +// CNLiveBServiceCenterController.m
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import <CNLiveBaseKit/CNLiveBaseKit.h>
  9 +
  10 +#import "CNLiveBServiceCenterController.h"
  11 +#import "CNLiveBServiceCenterHeaderView.h"
  12 +
  13 +@interface CNLiveBServiceCenterController ()<UITableViewDataSource,UITableViewDelegate>
  14 +
  15 +/** 头部*/
  16 +@property (nonatomic , strong) CNLiveBServiceCenterHeaderView *headerView;
  17 +
  18 +/** 列表 */
  19 +@property (nonatomic , strong) UITableView *tableView;
  20 +
  21 +@end
  22 +
  23 +@implementation CNLiveBServiceCenterController
  24 +
  25 +#pragma mark -
  26 +#pragma mark - *** 生命周期 ***
  27 +
  28 +- (instancetype)init
  29 +{
  30 + self = [super init];
  31 + if (self) {
  32 +
  33 + }
  34 + return self;
  35 +}
  36 +
  37 +- (void)dealloc
  38 +{
  39 +
  40 +}
  41 +
  42 +- (void)viewWillAppear:(BOOL)animated {
  43 + [super viewWillAppear:animated];
  44 + self.navigationController.navigationBarHidden = YES;
  45 +}
  46 +
  47 +- (void)viewDidLoad {
  48 + [super viewDidLoad];
  49 +
  50 + [self editUI];
  51 +}
  52 +
  53 +- (void)viewDidAppear:(BOOL)animated {
  54 + [super viewDidAppear:animated];
  55 +}
  56 +
  57 +- (void)viewDidDisappear:(BOOL)animated {
  58 + [super viewDidDisappear:animated];
  59 + self.navigationController.navigationBarHidden = NO;
  60 +}
  61 +
  62 +#pragma mark -
  63 +#pragma mark - *** editUI ***
  64 +
  65 +- (void)editUI {
  66 +
  67 + [self.view setBackgroundColor:[UIColor whiteColor]];
  68 +
  69 + [self.view addSubview:self.tableView];
  70 +
  71 + self.tableView.tableHeaderView = self.headerView;
  72 +
  73 +}
  74 +
  75 +#pragma mark -
  76 +#pragma mark - *** layoutUI ***
  77 +
  78 +
  79 +#pragma mark -
  80 +#pragma mark - *** delegate ***
  81 +
  82 +#pragma mark - <UITableViewDelegate, UITableViewDataSource>
  83 +
  84 +//设置显示个数
  85 +- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
  86 +
  87 + return 2;
  88 +}
  89 +
  90 +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
  91 +
  92 + return 4;
  93 +
  94 +}
  95 +
  96 +//设置UI
  97 +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  98 + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath];
  99 + cell.textLabel.backgroundColor = [UIColor yellowColor];
  100 + cell.textLabel.text = [NSString stringWithFormat:@"section = %ld,row = %ld",indexPath.section,indexPath.row];
  101 + return cell;
  102 +
  103 +
  104 +}
  105 +
  106 +- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
  107 +
  108 + return [UIView new];
  109 +
  110 +}
  111 +
  112 +- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section {
  113 +
  114 + return [UIView new];
  115 +}
  116 +
  117 +//设置高度
  118 +- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
  119 +
  120 + return 50;
  121 +
  122 +}
  123 +
  124 +- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
  125 +
  126 + return 20;
  127 +
  128 +}
  129 +
  130 +- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
  131 +
  132 + return 20;
  133 +
  134 +}
  135 +
  136 +/** 点击cell实现 */
  137 +- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  138 +
  139 +
  140 +
  141 +}
  142 +
  143 +
  144 +
  145 +#pragma mark -
  146 +#pragma mark - *** 事件实现 ***
  147 +
  148 +
  149 +#pragma mark -
  150 +#pragma mark - *** 接口 ***
  151 +
  152 +#pragma mark -
  153 +#pragma mark - *** 私有属性 ***
  154 +
  155 +- (UITableView *)tableView {
  156 + if (_tableView == nil) {
  157 + _tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];
  158 + _tableView.backgroundColor = [UIColor whiteColor];
  159 + [_tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"Cell"];
  160 + _tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
  161 + _tableView.dataSource = self;
  162 + _tableView.delegate = self;
  163 +
  164 + }
  165 + return _tableView;
  166 +}
  167 +
  168 +- (UIView *)headerView {
  169 + if (!_headerView) {
  170 + _headerView = [[CNLiveBServiceCenterHeaderView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, 135)];
  171 + }
  172 + return _headerView;;
  173 +}
  174 +
  175 +
  176 +
  177 +/*
  178 + #pragma mark - Navigation
  179 +
  180 + // In a storyboard-based application, you will often want to do a little preparation before navigation
  181 + - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  182 + // Get the new view controller using [segue destinationViewController].
  183 + // Pass the selected object to the new view controller.
  184 + }
  185 + */
  186 +
  187 +@end
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Model/CNLiveBServiceCenterModel.h 0 → 100644
  1 +//
  2 +// CNLiveBServiceCenterModel.h
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface CNLiveBServiceCenterModel : NSObject
  13 +
  14 +@end
  15 +
  16 +NS_ASSUME_NONNULL_END
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Model/CNLiveBServiceCenterModel.m 0 → 100644
  1 +//
  2 +// CNLiveBServiceCenterModel.m
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import "CNLiveBServiceCenterModel.h"
  9 +
  10 +@implementation CNLiveBServiceCenterModel
  11 +
  12 +@end
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Other/CNLiveServiceCenterModule.bundle/Root.plist 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>StringsTable</key>
  6 + <string>Root</string>
  7 + <key>PreferenceSpecifiers</key>
  8 + <array>
  9 + <dict>
  10 + <key>Type</key>
  11 + <string>PSGroupSpecifier</string>
  12 + <key>Title</key>
  13 + <string>Group</string>
  14 + </dict>
  15 + <dict>
  16 + <key>Type</key>
  17 + <string>PSTextFieldSpecifier</string>
  18 + <key>Title</key>
  19 + <string>Name</string>
  20 + <key>Key</key>
  21 + <string>name_preference</string>
  22 + <key>DefaultValue</key>
  23 + <string></string>
  24 + <key>IsSecure</key>
  25 + <false/>
  26 + <key>KeyboardType</key>
  27 + <string>Alphabet</string>
  28 + <key>AutocapitalizationType</key>
  29 + <string>None</string>
  30 + <key>AutocorrectionType</key>
  31 + <string>No</string>
  32 + </dict>
  33 + <dict>
  34 + <key>Type</key>
  35 + <string>PSToggleSwitchSpecifier</string>
  36 + <key>Title</key>
  37 + <string>Enabled</string>
  38 + <key>Key</key>
  39 + <string>enabled_preference</string>
  40 + <key>DefaultValue</key>
  41 + <true/>
  42 + </dict>
  43 + <dict>
  44 + <key>Type</key>
  45 + <string>PSSliderSpecifier</string>
  46 + <key>Key</key>
  47 + <string>slider_preference</string>
  48 + <key>DefaultValue</key>
  49 + <real>0.5</real>
  50 + <key>MinimumValue</key>
  51 + <integer>0</integer>
  52 + <key>MaximumValue</key>
  53 + <integer>1</integer>
  54 + <key>MinimumValueImage</key>
  55 + <string></string>
  56 + <key>MaximumValueImage</key>
  57 + <string></string>
  58 + </dict>
  59 + </array>
  60 + <key>ApplicationGroupContainerIdentifier</key>
  61 + <string></string>
  62 +</dict>
  63 +</plist>
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Other/CNLiveServiceCenterModule.bundle/en.lproj/Root.strings 0 → 100644
1 1 Binary files /dev/null and b/CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/Other/CNLiveServiceCenterModule.bundle/en.lproj/Root.strings differ
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceCenterHeaderView.h 0 → 100644
  1 +//
  2 +// CNLiveBServiceCenterHeaderView.h
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import <UIKit/UIKit.h>
  9 +@class CNLiveBServiceCenterModel;
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +@interface CNLiveBServiceCenterHeaderView : UIView
  14 +
  15 +- (void)configUI:(CNLiveBServiceCenterModel *)model;
  16 +
  17 +@property (nonatomic, strong) CNLiveBServiceCenterModel *model;
  18 +//
  19 +///** 点击关注实现 */
  20 +//@property (nonatomic, copy) void(^clickAttentionBtnBlock)(CNLiveBServiceCenterHeaderView *view,UIButton *btn);
  21 +//
  22 +///** 点击图片实现 */
  23 +//@property (nonatomic, copy) void(^clickImageViewBlock)(CNLiveBServiceCenterHeaderView *view,UIImageView *imageView);
  24 +
  25 +
  26 +
  27 +
  28 +@end
  29 +
  30 +NS_ASSUME_NONNULL_END
  31 +
  32 +
  33 +NS_ASSUME_NONNULL_BEGIN
  34 +
  35 +@interface CNLiveBCenterAuthEnterView : UIView
  36 +
  37 +- (void)configUI:(Boolean)isAuth;
  38 +
  39 +@end
  40 +
  41 +NS_ASSUME_NONNULL_END
... ...
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceCenterHeaderView.m 0 → 100644
  1 +//
  2 +// CNLiveBServiceCenterHeaderView.m
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 2020/4/7.
  6 +//
  7 +
  8 +#import "CNLiveBServiceCenterHeaderView.h"
  9 +#import "CNLiveBServiceCenterModel.h"
  10 +
  11 +
  12 +@interface CNLiveBServiceCenterHeaderView()
  13 +
  14 +/*** 服务页面背景 ***/
  15 +@property (nonatomic, strong) UIImageView *bgHeaderImageV;
  16 +/*** 用户头像 ***/
  17 +@property (nonatomic, strong) UIImageView *userImageV;
  18 +/*** 用户名称 ***/
  19 +@property (nonatomic, strong) UILabel *userNameL;
  20 +/*** 网家家认证 ***/
  21 +@property (nonatomic, strong) UIImageView *wjjCertificationImageV;
  22 +/*** 个人认证 ***/
  23 +@property (nonatomic, strong) UIImageView *personCertificationImageV;
  24 +/*** 企业认证 ***/
  25 +@property (nonatomic, strong) UIImageView *enterpriseCertificationImageV;
  26 +/*** 地点 ***/
  27 +@property (nonatomic, strong) UIImageView *locationImageV;
  28 +/*** 地点内容 ***/
  29 +@property (nonatomic, strong) UILabel *locationL;
  30 +/** 身份认证*/
  31 +@property (nonatomic, strong) CNLiveBCenterAuthEnterView *enterView;
  32 +
  33 +
  34 +
  35 +
  36 +/*** 取得线 ***/
  37 +@property (nonatomic, strong) CALayer *lineLayer;
  38 +
  39 +@end
  40 +
  41 +@implementation CNLiveBServiceCenterHeaderView
  42 +
  43 +- (instancetype)init
  44 +{
  45 + self = [super init];
  46 + if (self) {
  47 + [self setupUI];
  48 + }
  49 + return self;
  50 +}
  51 +
  52 +- (instancetype)initWithFrame:(CGRect)frame
  53 +{
  54 + self = [super initWithFrame:frame];
  55 + if (self) {
  56 + [self setupUI];
  57 + }
  58 + return self;
  59 +}
  60 +
  61 +- (void)awakeFromNib {
  62 + [super awakeFromNib];
  63 + [self setupUI];
  64 +
  65 +}
  66 +
  67 +- (void)layoutSubviews {
  68 + [super layoutSubviews];
  69 +
  70 + [self layoutUI];
  71 +}
  72 +
  73 +
  74 +#pragma mark - ***setupUI***
  75 +- (void)setupUI {
  76 +
  77 + [self setBackgroundColor:[UIColor whiteColor]];
  78 + [self addSubview:self.bgHeaderImageV];
  79 + [self addSubview:self.userImageV];
  80 + [self addSubview:self.userNameL];
  81 + [self addSubview:self.wjjCertificationImageV];
  82 + [self addSubview:self.personCertificationImageV];
  83 + [self addSubview:self.enterpriseCertificationImageV];
  84 + [self addSubview:self.locationImageV];
  85 + [self addSubview:self.locationL];
  86 + [self addSubview:self.enterView];
  87 +
  88 +
  89 +}
  90 +
  91 +#pragma mark - ***layoutUI***
  92 +- (void)layoutUI {
  93 +
  94 + __weak typeof(self) weakSelf = self;
  95 +
  96 +// [self.platformHeaderImageV mas_makeConstraints:^(MASConstraintMaker *make) {
  97 +// make.left.equalTo(weakSelf.mas_left).offset(10);
  98 +// make.centerY.equalTo(weakSelf.mas_centerY);
  99 +// make.width.mas_equalTo(40*RATIO);
  100 +// make.height.mas_equalTo(40*RATIO);
  101 +// }];
  102 +//
  103 +// [self.platformVIPLogo mas_makeConstraints:^(MASConstraintMaker *make) {
  104 +// make.right.equalTo(weakSelf.platformHeaderImageV.mas_right).offset(2);
  105 +// make.bottom.equalTo(weakSelf.platformHeaderImageV.mas_bottom);
  106 +// make.width.mas_equalTo(17*RATIO);
  107 +// make.height.mas_equalTo(13*RATIO);
  108 +// }];
  109 +//
  110 +// [self.platformTitle mas_makeConstraints:^(MASConstraintMaker *make) {
  111 +// make.top.equalTo(weakSelf.mas_top).offset(13);
  112 +// make.left.equalTo(weakSelf.platformHeaderImageV.mas_right).offset(10);
  113 +// make.right.equalTo(weakSelf.mas_right).offset(-80);
  114 +// make.height.mas_equalTo(15*RATIO);
  115 +// }];
  116 +//
  117 +// [self.platformTSubitle mas_makeConstraints:^(MASConstraintMaker *make) {
  118 +// make.left.equalTo(weakSelf.platformTitle.mas_left);
  119 +// make.right.equalTo(weakSelf.platformTitle.mas_right);
  120 +// make.top.equalTo(weakSelf.platformTitle.mas_bottom).offset(8);
  121 +// make.height.mas_equalTo(12*RATIO);
  122 +// }];
  123 +//
  124 +// [self.attentionBtn mas_makeConstraints:^(MASConstraintMaker *make) {
  125 +// make.right.equalTo(weakSelf.mas_right).offset(-10);
  126 +// make.centerY.equalTo(weakSelf.mas_centerY);
  127 +// make.width.mas_equalTo(62*RATIO);
  128 +// make.height.mas_equalTo(21*RATIO);
  129 +// }];
  130 +
  131 +// self.lineLayer.frame = CGRectMake(0, 59.5 *RATIO, KScreenWidth, 0.5);
  132 +
  133 +
  134 +}
  135 +
  136 +#pragma mark - editUI
  137 +- (void)configUI:(CNLiveBServiceCenterModel *)model {
  138 +
  139 +
  140 +
  141 +}
  142 +
  143 +#pragma mark - ***事件实现***
  144 +- (void)attentionBtnAction:(UIButton *)sender {
  145 +
  146 +// if (self.clickAttentionBtnBlock) {
  147 +// self.clickAttentionBtnBlock(self, sender);
  148 +// }
  149 +//
  150 +}
  151 +
  152 +
  153 +
  154 +#pragma mark - ***私有方法***
  155 +#pragma mark - ***懒加载***
  156 +/*** 服务页面背景 ***/
  157 +- (UIImageView *)bgHeaderImageV
  158 +{
  159 + if (!_bgHeaderImageV) {
  160 + _bgHeaderImageV = [[UIImageView alloc]init];
  161 + _bgHeaderImageV.layer.masksToBounds = YES;
  162 + _bgHeaderImageV.layer.cornerRadius = 20;
  163 + _bgHeaderImageV.layer.borderColor = [UIColor yellowColor].CGColor;
  164 + _bgHeaderImageV.layer.borderWidth = 1;
  165 +// UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(platformImageViewAction:)];
  166 +// [_bgHeaderImageV addGestureRecognizer:tap];
  167 + _bgHeaderImageV.userInteractionEnabled = YES;
  168 +
  169 + }
  170 + return _bgHeaderImageV;
  171 +}
  172 +
  173 +
  174 +/*** 用户头像 ***/
  175 +- (UIImageView *)userImageV
  176 +{
  177 + if (!_userImageV) {
  178 + _userImageV = [[UIImageView alloc]init];
  179 + _userImageV.image = [UIImage imageNamed:@"certification_show"];
  180 + }
  181 + return _userImageV;
  182 +}
  183 +
  184 +/*** 用户名称 ***/
  185 +- (UILabel *)userNameL {
  186 +
  187 + if (!_userNameL) {
  188 + _userNameL = [[UILabel alloc]init];
  189 + _userNameL.textColor = [UIColor yellowColor];
  190 + _userNameL.font = [UIFont systemFontOfSize:15];
  191 + _userNameL.numberOfLines = 1;
  192 + _userNameL.userInteractionEnabled = YES;
  193 +// UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(platformTitleAction:)];
  194 +// [_userNameL addGestureRecognizer:tap];
  195 +
  196 + }
  197 + return _userNameL;
  198 +
  199 +}
  200 +
  201 +/*** 网家家认证 ***/
  202 +- (UIImageView *)wjjCertificationImageV
  203 +{
  204 + if (!_wjjCertificationImageV) {
  205 + _wjjCertificationImageV = [[UIImageView alloc]init];
  206 + _wjjCertificationImageV.image = [UIImage imageNamed:@"certification_show"];
  207 + }
  208 + return _wjjCertificationImageV;
  209 +}
  210 +
  211 +/*** 个人认证 ***/
  212 +- (UIImageView *)personCertificationImageV
  213 +{
  214 + if (!_personCertificationImageV) {
  215 + _personCertificationImageV = [[UIImageView alloc]init];
  216 + _personCertificationImageV.image = [UIImage imageNamed:@"certification_show"];
  217 + }
  218 + return _personCertificationImageV;
  219 +}
  220 +
  221 +/*** 企业认证 ***/
  222 +- (UIImageView *)enterpriseCertificationImageV
  223 +{
  224 + if (!_enterpriseCertificationImageV) {
  225 + _enterpriseCertificationImageV = [[UIImageView alloc]init];
  226 + _enterpriseCertificationImageV.image = [UIImage imageNamed:@"certification_show"];
  227 + }
  228 + return _enterpriseCertificationImageV;
  229 +}
  230 +
  231 +
  232 +/*** 地点 ***/
  233 +- (UIImageView *)locationImageV
  234 +{
  235 + if (!_locationImageV) {
  236 + _locationImageV = [[UIImageView alloc]init];
  237 + _locationImageV.image = [UIImage imageNamed:@"certification_show"];
  238 + }
  239 + return _locationImageV;
  240 +}
  241 +/*** 地点内容 ***/
  242 +- (UILabel *)locationL {
  243 +
  244 + if (!_locationL) {
  245 + _locationL = [[UILabel alloc]init];
  246 + _locationL.textColor = [UIColor yellowColor];
  247 + _locationL.font = [UIFont systemFontOfSize:12];
  248 + _locationL.numberOfLines = 1;
  249 + }
  250 + return _locationL;
  251 +
  252 +}
  253 +
  254 +/*** 身份认证 ***/
  255 +- (CNLiveBCenterAuthEnterView *)enterView {
  256 +
  257 + if (!_enterView) {
  258 + _enterView = [[CNLiveBCenterAuthEnterView alloc]init];
  259 + }
  260 + return _enterView;
  261 +
  262 +}
  263 +
  264 +
  265 +
  266 +@end
  267 +
  268 +
  269 +
  270 +@interface CNLiveBCenterAuthEnterView()
  271 +
  272 +/*** 认证头像 ***/
  273 +@property (nonatomic, strong) UIImageView *authImageV;
  274 +/*** 认证与否 ***/
  275 +@property (nonatomic, strong) UILabel *authL;
  276 +/*** 认证提示 ***/
  277 +@property (nonatomic, strong) UIImageView *authTipImageV;
  278 +
  279 +@end
  280 +
  281 +@implementation CNLiveBCenterAuthEnterView
  282 +
  283 +- (instancetype)init
  284 +{
  285 + self = [super init];
  286 + if (self) {
  287 + [self setupUI];
  288 + }
  289 + return self;
  290 +}
  291 +
  292 +- (instancetype)initWithFrame:(CGRect)frame
  293 +{
  294 + self = [super initWithFrame:frame];
  295 + if (self) {
  296 + [self setupUI];
  297 + }
  298 + return self;
  299 +}
  300 +
  301 +- (void)awakeFromNib {
  302 + [super awakeFromNib];
  303 + [self setupUI];
  304 +
  305 +}
  306 +
  307 +- (void)layoutSubviews {
  308 + [super layoutSubviews];
  309 +
  310 + [self layoutUI];
  311 +}
  312 +
  313 +
  314 +#pragma mark - ***setupUI***
  315 +- (void)setupUI {
  316 +
  317 + [self setBackgroundColor:[UIColor whiteColor]];
  318 + [self addSubview:self.authImageV];
  319 + [self addSubview:self.authL];
  320 + [self addSubview:self.authTipImageV];
  321 +
  322 +}
  323 +
  324 +#pragma mark - ***layoutUI***
  325 +- (void)layoutUI {
  326 +
  327 + __weak typeof(self) weakSelf = self;
  328 +
  329 +// [self.platformHeaderImageV mas_makeConstraints:^(MASConstraintMaker *make) {
  330 +// make.left.equalTo(weakSelf.mas_left).offset(10);
  331 +// make.centerY.equalTo(weakSelf.mas_centerY);
  332 +// make.width.mas_equalTo(40*RATIO);
  333 +// make.height.mas_equalTo(40*RATIO);
  334 +// }];
  335 +//
  336 +// [self.platformVIPLogo mas_makeConstraints:^(MASConstraintMaker *make) {
  337 +// make.right.equalTo(weakSelf.platformHeaderImageV.mas_right).offset(2);
  338 +// make.bottom.equalTo(weakSelf.platformHeaderImageV.mas_bottom);
  339 +// make.width.mas_equalTo(17*RATIO);
  340 +// make.height.mas_equalTo(13*RATIO);
  341 +// }];
  342 +//
  343 +// [self.platformTitle mas_makeConstraints:^(MASConstraintMaker *make) {
  344 +// make.top.equalTo(weakSelf.mas_top).offset(13);
  345 +// make.left.equalTo(weakSelf.platformHeaderImageV.mas_right).offset(10);
  346 +// make.right.equalTo(weakSelf.mas_right).offset(-80);
  347 +// make.height.mas_equalTo(15*RATIO);
  348 +// }];
  349 +
  350 +
  351 +}
  352 +
  353 +#pragma mark - editUI
  354 +- (void)configUI:(Boolean)isAuth {
  355 +
  356 +}
  357 +
  358 +#pragma mark - ***事件实现***
  359 +- (void)attentionBtnAction:(UIButton *)sender {
  360 +
  361 +// if (self.clickAttentionBtnBlock) {
  362 +// self.clickAttentionBtnBlock(self, sender);
  363 +// }
  364 +//
  365 +}
  366 +
  367 +
  368 +
  369 +#pragma mark - ***私有方法***
  370 +#pragma mark - ***懒加载***
  371 +/*** 认证头像 ***/
  372 +- (UIImageView *)authImageV
  373 +{
  374 + if (!_authImageV) {
  375 + _authImageV = [[UIImageView alloc]init];
  376 + _authImageV.layer.masksToBounds = YES;
  377 + _authImageV.layer.cornerRadius = 20;
  378 + _authImageV.layer.borderColor = [UIColor yellowColor].CGColor;
  379 + _authImageV.layer.borderWidth = 1;
  380 + }
  381 + return _authImageV;
  382 +}
  383 +
  384 +/*** 认证与否 ***/
  385 +- (UILabel *)authL {
  386 +
  387 + if (!_authL) {
  388 + _authL = [[UILabel alloc]init];
  389 + _authL.textColor = [UIColor yellowColor];
  390 + _authL.font = [UIFont systemFontOfSize:15];
  391 + _authL.numberOfLines = 1;
  392 +
  393 + }
  394 + return _authL;
  395 +
  396 +}
  397 +
  398 +/*** 认证头像 ***/
  399 +- (UIImageView *)authTipImageV
  400 +{
  401 + if (!_authTipImageV) {
  402 + _authTipImageV = [[UIImageView alloc]init];
  403 + _authTipImageV.layer.masksToBounds = YES;
  404 + _authTipImageV.layer.cornerRadius = 20;
  405 + _authTipImageV.layer.borderColor = [UIColor yellowColor].CGColor;
  406 + _authTipImageV.layer.borderWidth = 1;
  407 + }
  408 + return _authTipImageV;
  409 +}
  410 +
  411 +
  412 +
  413 +@end
... ...
Example/CNLiveServiceCenterModule.xcodeproj/project.pbxproj 0 → 100644
  1 +// !$*UTF8*$!
  2 +{
  3 + archiveVersion = 1;
  4 + classes = {
  5 + };
  6 + objectVersion = 46;
  7 + objects = {
  8 +
  9 +/* Begin PBXBuildFile section */
  10 + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
  11 + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; };
  12 + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
  13 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; };
  14 + 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; };
  15 + 6003F59E195388D20070C39A /* CNLIVEBAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* CNLIVEBAppDelegate.m */; };
  16 + 6003F5A7195388D20070C39A /* CNLIVEBViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* CNLIVEBViewController.m */; };
  17 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; };
  18 + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; };
  19 + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
  20 + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
  21 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; };
  22 + 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; };
  23 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; };
  24 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; };
  25 + 9216DA1FE4F70AD490EDA876 /* Pods_CNLiveServiceCenterModule_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2DE2FCDD7DE721738798A255 /* Pods_CNLiveServiceCenterModule_Example.framework */; };
  26 + D59E7D8B1D782D3C681E6D59 /* Pods_CNLiveServiceCenterModule_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34A3922062D116B2031A81E0 /* Pods_CNLiveServiceCenterModule_Tests.framework */; };
  27 +/* End PBXBuildFile section */
  28 +
  29 +/* Begin PBXContainerItemProxy section */
  30 + 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = {
  31 + isa = PBXContainerItemProxy;
  32 + containerPortal = 6003F582195388D10070C39A /* Project object */;
  33 + proxyType = 1;
  34 + remoteGlobalIDString = 6003F589195388D20070C39A;
  35 + remoteInfo = CNLiveServiceCenterModule;
  36 + };
  37 +/* End PBXContainerItemProxy section */
  38 +
  39 +/* Begin PBXFileReference section */
  40 + 03A4BD9944D98C7F5011FD76 /* Pods-CNLiveServiceCenterModule_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveServiceCenterModule_Tests.release.xcconfig"; path = "Target Support Files/Pods-CNLiveServiceCenterModule_Tests/Pods-CNLiveServiceCenterModule_Tests.release.xcconfig"; sourceTree = "<group>"; };
  41 + 2DE2FCDD7DE721738798A255 /* Pods_CNLiveServiceCenterModule_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveServiceCenterModule_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  42 + 31BAA62DE8BEEB54B97FDDAD /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
  43 + 34A3922062D116B2031A81E0 /* Pods_CNLiveServiceCenterModule_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveServiceCenterModule_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  44 + 3D6D9CC907AF7AE3532B2480 /* Pods-CNLiveServiceCenterModule_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveServiceCenterModule_Example.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example.debug.xcconfig"; sourceTree = "<group>"; };
  45 + 42ABE13AD3F4783503772D55 /* CNLiveServiceCenterModule.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveServiceCenterModule.podspec; path = ../CNLiveServiceCenterModule.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  46 + 6003F58A195388D20070C39A /* CNLiveServiceCenterModule_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveServiceCenterModule_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
  47 + 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
  48 + 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
  49 + 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
  50 + 6003F595195388D20070C39A /* CNLiveServiceCenterModule-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveServiceCenterModule-Info.plist"; sourceTree = "<group>"; };
  51 + 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  52 + 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
  53 + 6003F59B195388D20070C39A /* CNLiveServiceCenterModule-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveServiceCenterModule-Prefix.pch"; sourceTree = "<group>"; };
  54 + 6003F59C195388D20070C39A /* CNLIVEBAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLIVEBAppDelegate.h; sourceTree = "<group>"; };
  55 + 6003F59D195388D20070C39A /* CNLIVEBAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLIVEBAppDelegate.m; sourceTree = "<group>"; };
  56 + 6003F5A5195388D20070C39A /* CNLIVEBViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLIVEBViewController.h; sourceTree = "<group>"; };
  57 + 6003F5A6195388D20070C39A /* CNLIVEBViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLIVEBViewController.m; sourceTree = "<group>"; };
  58 + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
  59 + 6003F5AE195388D20070C39A /* CNLiveServiceCenterModule_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveServiceCenterModule_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
  60 + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
  61 + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; };
  62 + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  63 + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; };
  64 + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; };
  65 + 6306D7BFFFBAB113BC7F8830 /* Pods-CNLiveServiceCenterModule_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveServiceCenterModule_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveServiceCenterModule_Tests/Pods-CNLiveServiceCenterModule_Tests.debug.xcconfig"; sourceTree = "<group>"; };
  66 + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
  67 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
  68 + 982F20743DFD93DC0C82C4B4 /* Pods-CNLiveServiceCenterModule_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveServiceCenterModule_Example.release.xcconfig"; path = "Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example.release.xcconfig"; sourceTree = "<group>"; };
  69 + AC8030F053C8541FE7702CC5 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
  70 +/* End PBXFileReference section */
  71 +
  72 +/* Begin PBXFrameworksBuildPhase section */
  73 + 6003F587195388D20070C39A /* Frameworks */ = {
  74 + isa = PBXFrameworksBuildPhase;
  75 + buildActionMask = 2147483647;
  76 + files = (
  77 + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */,
  78 + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */,
  79 + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */,
  80 + 9216DA1FE4F70AD490EDA876 /* Pods_CNLiveServiceCenterModule_Example.framework in Frameworks */,
  81 + );
  82 + runOnlyForDeploymentPostprocessing = 0;
  83 + };
  84 + 6003F5AB195388D20070C39A /* Frameworks */ = {
  85 + isa = PBXFrameworksBuildPhase;
  86 + buildActionMask = 2147483647;
  87 + files = (
  88 + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */,
  89 + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */,
  90 + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */,
  91 + D59E7D8B1D782D3C681E6D59 /* Pods_CNLiveServiceCenterModule_Tests.framework in Frameworks */,
  92 + );
  93 + runOnlyForDeploymentPostprocessing = 0;
  94 + };
  95 +/* End PBXFrameworksBuildPhase section */
  96 +
  97 +/* Begin PBXGroup section */
  98 + 6003F581195388D10070C39A = {
  99 + isa = PBXGroup;
  100 + children = (
  101 + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */,
  102 + 6003F593195388D20070C39A /* Example for CNLiveServiceCenterModule */,
  103 + 6003F5B5195388D20070C39A /* Tests */,
  104 + 6003F58C195388D20070C39A /* Frameworks */,
  105 + 6003F58B195388D20070C39A /* Products */,
  106 + 7DF4F00001A624836CE22966 /* Pods */,
  107 + );
  108 + sourceTree = "<group>";
  109 + };
  110 + 6003F58B195388D20070C39A /* Products */ = {
  111 + isa = PBXGroup;
  112 + children = (
  113 + 6003F58A195388D20070C39A /* CNLiveServiceCenterModule_Example.app */,
  114 + 6003F5AE195388D20070C39A /* CNLiveServiceCenterModule_Tests.xctest */,
  115 + );
  116 + name = Products;
  117 + sourceTree = "<group>";
  118 + };
  119 + 6003F58C195388D20070C39A /* Frameworks */ = {
  120 + isa = PBXGroup;
  121 + children = (
  122 + 6003F58D195388D20070C39A /* Foundation.framework */,
  123 + 6003F58F195388D20070C39A /* CoreGraphics.framework */,
  124 + 6003F591195388D20070C39A /* UIKit.framework */,
  125 + 6003F5AF195388D20070C39A /* XCTest.framework */,
  126 + 2DE2FCDD7DE721738798A255 /* Pods_CNLiveServiceCenterModule_Example.framework */,
  127 + 34A3922062D116B2031A81E0 /* Pods_CNLiveServiceCenterModule_Tests.framework */,
  128 + );
  129 + name = Frameworks;
  130 + sourceTree = "<group>";
  131 + };
  132 + 6003F593195388D20070C39A /* Example for CNLiveServiceCenterModule */ = {
  133 + isa = PBXGroup;
  134 + children = (
  135 + 6003F59C195388D20070C39A /* CNLIVEBAppDelegate.h */,
  136 + 6003F59D195388D20070C39A /* CNLIVEBAppDelegate.m */,
  137 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */,
  138 + 6003F5A5195388D20070C39A /* CNLIVEBViewController.h */,
  139 + 6003F5A6195388D20070C39A /* CNLIVEBViewController.m */,
  140 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */,
  141 + 6003F5A8195388D20070C39A /* Images.xcassets */,
  142 + 6003F594195388D20070C39A /* Supporting Files */,
  143 + );
  144 + name = "Example for CNLiveServiceCenterModule";
  145 + path = CNLiveServiceCenterModule;
  146 + sourceTree = "<group>";
  147 + };
  148 + 6003F594195388D20070C39A /* Supporting Files */ = {
  149 + isa = PBXGroup;
  150 + children = (
  151 + 6003F595195388D20070C39A /* CNLiveServiceCenterModule-Info.plist */,
  152 + 6003F596195388D20070C39A /* InfoPlist.strings */,
  153 + 6003F599195388D20070C39A /* main.m */,
  154 + 6003F59B195388D20070C39A /* CNLiveServiceCenterModule-Prefix.pch */,
  155 + );
  156 + name = "Supporting Files";
  157 + sourceTree = "<group>";
  158 + };
  159 + 6003F5B5195388D20070C39A /* Tests */ = {
  160 + isa = PBXGroup;
  161 + children = (
  162 + 6003F5BB195388D20070C39A /* Tests.m */,
  163 + 6003F5B6195388D20070C39A /* Supporting Files */,
  164 + );
  165 + path = Tests;
  166 + sourceTree = "<group>";
  167 + };
  168 + 6003F5B6195388D20070C39A /* Supporting Files */ = {
  169 + isa = PBXGroup;
  170 + children = (
  171 + 6003F5B7195388D20070C39A /* Tests-Info.plist */,
  172 + 6003F5B8195388D20070C39A /* InfoPlist.strings */,
  173 + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */,
  174 + );
  175 + name = "Supporting Files";
  176 + sourceTree = "<group>";
  177 + };
  178 + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = {
  179 + isa = PBXGroup;
  180 + children = (
  181 + 42ABE13AD3F4783503772D55 /* CNLiveServiceCenterModule.podspec */,
  182 + 31BAA62DE8BEEB54B97FDDAD /* README.md */,
  183 + AC8030F053C8541FE7702CC5 /* LICENSE */,
  184 + );
  185 + name = "Podspec Metadata";
  186 + sourceTree = "<group>";
  187 + };
  188 + 7DF4F00001A624836CE22966 /* Pods */ = {
  189 + isa = PBXGroup;
  190 + children = (
  191 + 3D6D9CC907AF7AE3532B2480 /* Pods-CNLiveServiceCenterModule_Example.debug.xcconfig */,
  192 + 982F20743DFD93DC0C82C4B4 /* Pods-CNLiveServiceCenterModule_Example.release.xcconfig */,
  193 + 6306D7BFFFBAB113BC7F8830 /* Pods-CNLiveServiceCenterModule_Tests.debug.xcconfig */,
  194 + 03A4BD9944D98C7F5011FD76 /* Pods-CNLiveServiceCenterModule_Tests.release.xcconfig */,
  195 + );
  196 + path = Pods;
  197 + sourceTree = "<group>";
  198 + };
  199 +/* End PBXGroup section */
  200 +
  201 +/* Begin PBXNativeTarget section */
  202 + 6003F589195388D20070C39A /* CNLiveServiceCenterModule_Example */ = {
  203 + isa = PBXNativeTarget;
  204 + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveServiceCenterModule_Example" */;
  205 + buildPhases = (
  206 + 4E51BAA2024E893E273AEB09 /* [CP] Check Pods Manifest.lock */,
  207 + 6003F586195388D20070C39A /* Sources */,
  208 + 6003F587195388D20070C39A /* Frameworks */,
  209 + 6003F588195388D20070C39A /* Resources */,
  210 + CCC302347CCCFE680D14E779 /* [CP] Embed Pods Frameworks */,
  211 + 7A1A31A9AB85C5464BF5829A /* [CP] Copy Pods Resources */,
  212 + );
  213 + buildRules = (
  214 + );
  215 + dependencies = (
  216 + );
  217 + name = CNLiveServiceCenterModule_Example;
  218 + productName = CNLiveServiceCenterModule;
  219 + productReference = 6003F58A195388D20070C39A /* CNLiveServiceCenterModule_Example.app */;
  220 + productType = "com.apple.product-type.application";
  221 + };
  222 + 6003F5AD195388D20070C39A /* CNLiveServiceCenterModule_Tests */ = {
  223 + isa = PBXNativeTarget;
  224 + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveServiceCenterModule_Tests" */;
  225 + buildPhases = (
  226 + 46C676FFAB5056B5123535CF /* [CP] Check Pods Manifest.lock */,
  227 + 6003F5AA195388D20070C39A /* Sources */,
  228 + 6003F5AB195388D20070C39A /* Frameworks */,
  229 + 6003F5AC195388D20070C39A /* Resources */,
  230 + );
  231 + buildRules = (
  232 + );
  233 + dependencies = (
  234 + 6003F5B4195388D20070C39A /* PBXTargetDependency */,
  235 + );
  236 + name = CNLiveServiceCenterModule_Tests;
  237 + productName = CNLiveServiceCenterModuleTests;
  238 + productReference = 6003F5AE195388D20070C39A /* CNLiveServiceCenterModule_Tests.xctest */;
  239 + productType = "com.apple.product-type.bundle.unit-test";
  240 + };
  241 +/* End PBXNativeTarget section */
  242 +
  243 +/* Begin PBXProject section */
  244 + 6003F582195388D10070C39A /* Project object */ = {
  245 + isa = PBXProject;
  246 + attributes = {
  247 + CLASSPREFIX = CNLIVEB;
  248 + LastUpgradeCheck = 0720;
  249 + ORGANIZATIONNAME = "梁星国";
  250 + TargetAttributes = {
  251 + 6003F589195388D20070C39A = {
  252 + DevelopmentTeam = 94X49GG3ZW;
  253 + };
  254 + 6003F5AD195388D20070C39A = {
  255 + TestTargetID = 6003F589195388D20070C39A;
  256 + };
  257 + };
  258 + };
  259 + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveServiceCenterModule" */;
  260 + compatibilityVersion = "Xcode 3.2";
  261 + developmentRegion = English;
  262 + hasScannedForEncodings = 0;
  263 + knownRegions = (
  264 + English,
  265 + en,
  266 + Base,
  267 + );
  268 + mainGroup = 6003F581195388D10070C39A;
  269 + productRefGroup = 6003F58B195388D20070C39A /* Products */;
  270 + projectDirPath = "";
  271 + projectRoot = "";
  272 + targets = (
  273 + 6003F589195388D20070C39A /* CNLiveServiceCenterModule_Example */,
  274 + 6003F5AD195388D20070C39A /* CNLiveServiceCenterModule_Tests */,
  275 + );
  276 + };
  277 +/* End PBXProject section */
  278 +
  279 +/* Begin PBXResourcesBuildPhase section */
  280 + 6003F588195388D20070C39A /* Resources */ = {
  281 + isa = PBXResourcesBuildPhase;
  282 + buildActionMask = 2147483647;
  283 + files = (
  284 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */,
  285 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */,
  286 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */,
  287 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */,
  288 + );
  289 + runOnlyForDeploymentPostprocessing = 0;
  290 + };
  291 + 6003F5AC195388D20070C39A /* Resources */ = {
  292 + isa = PBXResourcesBuildPhase;
  293 + buildActionMask = 2147483647;
  294 + files = (
  295 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */,
  296 + );
  297 + runOnlyForDeploymentPostprocessing = 0;
  298 + };
  299 +/* End PBXResourcesBuildPhase section */
  300 +
  301 +/* Begin PBXShellScriptBuildPhase section */
  302 + 46C676FFAB5056B5123535CF /* [CP] Check Pods Manifest.lock */ = {
  303 + isa = PBXShellScriptBuildPhase;
  304 + buildActionMask = 2147483647;
  305 + files = (
  306 + );
  307 + inputFileListPaths = (
  308 + );
  309 + inputPaths = (
  310 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  311 + "${PODS_ROOT}/Manifest.lock",
  312 + );
  313 + name = "[CP] Check Pods Manifest.lock";
  314 + outputFileListPaths = (
  315 + );
  316 + outputPaths = (
  317 + "$(DERIVED_FILE_DIR)/Pods-CNLiveServiceCenterModule_Tests-checkManifestLockResult.txt",
  318 + );
  319 + runOnlyForDeploymentPostprocessing = 0;
  320 + shellPath = /bin/sh;
  321 + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
  322 + showEnvVarsInLog = 0;
  323 + };
  324 + 4E51BAA2024E893E273AEB09 /* [CP] Check Pods Manifest.lock */ = {
  325 + isa = PBXShellScriptBuildPhase;
  326 + buildActionMask = 2147483647;
  327 + files = (
  328 + );
  329 + inputFileListPaths = (
  330 + );
  331 + inputPaths = (
  332 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  333 + "${PODS_ROOT}/Manifest.lock",
  334 + );
  335 + name = "[CP] Check Pods Manifest.lock";
  336 + outputFileListPaths = (
  337 + );
  338 + outputPaths = (
  339 + "$(DERIVED_FILE_DIR)/Pods-CNLiveServiceCenterModule_Example-checkManifestLockResult.txt",
  340 + );
  341 + runOnlyForDeploymentPostprocessing = 0;
  342 + shellPath = /bin/sh;
  343 + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
  344 + showEnvVarsInLog = 0;
  345 + };
  346 + 7A1A31A9AB85C5464BF5829A /* [CP] Copy Pods Resources */ = {
  347 + isa = PBXShellScriptBuildPhase;
  348 + buildActionMask = 2147483647;
  349 + files = (
  350 + );
  351 + inputPaths = (
  352 + "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-resources.sh",
  353 + "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveShareToolKit/CNLiveShareToolKit.bundle",
  354 + "${PODS_ROOT}/WeiboSDK/libWeiboSDK/WeiboSDK.bundle",
  355 + );
  356 + name = "[CP] Copy Pods Resources";
  357 + outputPaths = (
  358 + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveShareToolKit.bundle",
  359 + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/WeiboSDK.bundle",
  360 + );
  361 + runOnlyForDeploymentPostprocessing = 0;
  362 + shellPath = /bin/sh;
  363 + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-resources.sh\"\n";
  364 + showEnvVarsInLog = 0;
  365 + };
  366 + CCC302347CCCFE680D14E779 /* [CP] Embed Pods Frameworks */ = {
  367 + isa = PBXShellScriptBuildPhase;
  368 + buildActionMask = 2147483647;
  369 + files = (
  370 + );
  371 + inputPaths = (
  372 + "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-frameworks.sh",
  373 + "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework",
  374 + "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework",
  375 + "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework",
  376 + "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework",
  377 + "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework",
  378 + "${BUILT_PRODUCTS_DIR}/CNLiveCacheManagerKit/CNLiveCacheManagerKit.framework",
  379 + "${BUILT_PRODUCTS_DIR}/CNLiveCommonCategory/CNLiveCommonCategory.framework",
  380 + "${BUILT_PRODUCTS_DIR}/CNLiveCustomUI/CNLiveCustomUI.framework",
  381 + "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework",
  382 + "${BUILT_PRODUCTS_DIR}/CNLiveICloudPicker/CNLiveICloudPicker.framework",
  383 + "${BUILT_PRODUCTS_DIR}/CNLiveImagePickerController/CNLiveImagePickerController.framework",
  384 + "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework",
  385 + "${BUILT_PRODUCTS_DIR}/CNLiveServiceCenterModule/CNLiveServiceCenterModule.framework",
  386 + "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework",
  387 + "${BUILT_PRODUCTS_DIR}/CNLiveUploadManager/CNLiveUploadManager.framework",
  388 + "${BUILT_PRODUCTS_DIR}/CNLiveUserManagement/CNLiveUserManagement.framework",
  389 + "${BUILT_PRODUCTS_DIR}/CNLiveVoiceToTextKit/CNLiveVoiceToTextKit.framework",
  390 + "${BUILT_PRODUCTS_DIR}/HappyDNS/HappyDNS.framework",
  391 + "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework",
  392 + "${BUILT_PRODUCTS_DIR}/MJRefresh/MJRefresh.framework",
  393 + "${BUILT_PRODUCTS_DIR}/Masonry/Masonry.framework",
  394 + "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework",
  395 + "${BUILT_PRODUCTS_DIR}/Qiniu/Qiniu.framework",
  396 + "${BUILT_PRODUCTS_DIR}/SDAutoLayout/SDAutoLayout.framework",
  397 + "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework",
  398 + "${BUILT_PRODUCTS_DIR}/YYKit/YYKit.framework",
  399 + );
  400 + name = "[CP] Embed Pods Frameworks";
  401 + outputPaths = (
  402 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework",
  403 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework",
  404 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework",
  405 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework",
  406 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework",
  407 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCacheManagerKit.framework",
  408 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonCategory.framework",
  409 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomUI.framework",
  410 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework",
  411 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveICloudPicker.framework",
  412 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveImagePickerController.framework",
  413 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework",
  414 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveServiceCenterModule.framework",
  415 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework",
  416 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUploadManager.framework",
  417 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUserManagement.framework",
  418 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveVoiceToTextKit.framework",
  419 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/HappyDNS.framework",
  420 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework",
  421 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJRefresh.framework",
  422 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Masonry.framework",
  423 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework",
  424 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Qiniu.framework",
  425 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDAutoLayout.framework",
  426 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
  427 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYKit.framework",
  428 + );
  429 + runOnlyForDeploymentPostprocessing = 0;
  430 + shellPath = /bin/sh;
  431 + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-frameworks.sh\"\n";
  432 + showEnvVarsInLog = 0;
  433 + };
  434 +/* End PBXShellScriptBuildPhase section */
  435 +
  436 +/* Begin PBXSourcesBuildPhase section */
  437 + 6003F586195388D20070C39A /* Sources */ = {
  438 + isa = PBXSourcesBuildPhase;
  439 + buildActionMask = 2147483647;
  440 + files = (
  441 + 6003F59E195388D20070C39A /* CNLIVEBAppDelegate.m in Sources */,
  442 + 6003F5A7195388D20070C39A /* CNLIVEBViewController.m in Sources */,
  443 + 6003F59A195388D20070C39A /* main.m in Sources */,
  444 + );
  445 + runOnlyForDeploymentPostprocessing = 0;
  446 + };
  447 + 6003F5AA195388D20070C39A /* Sources */ = {
  448 + isa = PBXSourcesBuildPhase;
  449 + buildActionMask = 2147483647;
  450 + files = (
  451 + 6003F5BC195388D20070C39A /* Tests.m in Sources */,
  452 + );
  453 + runOnlyForDeploymentPostprocessing = 0;
  454 + };
  455 +/* End PBXSourcesBuildPhase section */
  456 +
  457 +/* Begin PBXTargetDependency section */
  458 + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = {
  459 + isa = PBXTargetDependency;
  460 + target = 6003F589195388D20070C39A /* CNLiveServiceCenterModule_Example */;
  461 + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */;
  462 + };
  463 +/* End PBXTargetDependency section */
  464 +
  465 +/* Begin PBXVariantGroup section */
  466 + 6003F596195388D20070C39A /* InfoPlist.strings */ = {
  467 + isa = PBXVariantGroup;
  468 + children = (
  469 + 6003F597195388D20070C39A /* en */,
  470 + );
  471 + name = InfoPlist.strings;
  472 + sourceTree = "<group>";
  473 + };
  474 + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = {
  475 + isa = PBXVariantGroup;
  476 + children = (
  477 + 6003F5B9195388D20070C39A /* en */,
  478 + );
  479 + name = InfoPlist.strings;
  480 + sourceTree = "<group>";
  481 + };
  482 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = {
  483 + isa = PBXVariantGroup;
  484 + children = (
  485 + 71719F9E1E33DC2100824A3D /* Base */,
  486 + );
  487 + name = LaunchScreen.storyboard;
  488 + sourceTree = "<group>";
  489 + };
  490 +/* End PBXVariantGroup section */
  491 +
  492 +/* Begin XCBuildConfiguration section */
  493 + 6003F5BD195388D20070C39A /* Debug */ = {
  494 + isa = XCBuildConfiguration;
  495 + buildSettings = {
  496 + ALWAYS_SEARCH_USER_PATHS = NO;
  497 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  498 + CLANG_CXX_LIBRARY = "libc++";
  499 + CLANG_ENABLE_MODULES = YES;
  500 + CLANG_ENABLE_OBJC_ARC = YES;
  501 + CLANG_WARN_BOOL_CONVERSION = YES;
  502 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  503 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  504 + CLANG_WARN_EMPTY_BODY = YES;
  505 + CLANG_WARN_ENUM_CONVERSION = YES;
  506 + CLANG_WARN_INT_CONVERSION = YES;
  507 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  508 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  509 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  510 + COPY_PHASE_STRIP = NO;
  511 + ENABLE_TESTABILITY = YES;
  512 + GCC_C_LANGUAGE_STANDARD = gnu99;
  513 + GCC_DYNAMIC_NO_PIC = NO;
  514 + GCC_OPTIMIZATION_LEVEL = 0;
  515 + GCC_PREPROCESSOR_DEFINITIONS = (
  516 + "DEBUG=1",
  517 + "$(inherited)",
  518 + );
  519 + GCC_SYMBOLS_PRIVATE_EXTERN = NO;
  520 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  521 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  522 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  523 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  524 + GCC_WARN_UNUSED_FUNCTION = YES;
  525 + GCC_WARN_UNUSED_VARIABLE = YES;
  526 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  527 + ONLY_ACTIVE_ARCH = YES;
  528 + SDKROOT = iphoneos;
  529 + TARGETED_DEVICE_FAMILY = "1,2";
  530 + };
  531 + name = Debug;
  532 + };
  533 + 6003F5BE195388D20070C39A /* Release */ = {
  534 + isa = XCBuildConfiguration;
  535 + buildSettings = {
  536 + ALWAYS_SEARCH_USER_PATHS = NO;
  537 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  538 + CLANG_CXX_LIBRARY = "libc++";
  539 + CLANG_ENABLE_MODULES = YES;
  540 + CLANG_ENABLE_OBJC_ARC = YES;
  541 + CLANG_WARN_BOOL_CONVERSION = YES;
  542 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  543 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  544 + CLANG_WARN_EMPTY_BODY = YES;
  545 + CLANG_WARN_ENUM_CONVERSION = YES;
  546 + CLANG_WARN_INT_CONVERSION = YES;
  547 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  548 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  549 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  550 + COPY_PHASE_STRIP = YES;
  551 + ENABLE_NS_ASSERTIONS = NO;
  552 + GCC_C_LANGUAGE_STANDARD = gnu99;
  553 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  554 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  555 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  556 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  557 + GCC_WARN_UNUSED_FUNCTION = YES;
  558 + GCC_WARN_UNUSED_VARIABLE = YES;
  559 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  560 + SDKROOT = iphoneos;
  561 + TARGETED_DEVICE_FAMILY = "1,2";
  562 + VALIDATE_PRODUCT = YES;
  563 + };
  564 + name = Release;
  565 + };
  566 + 6003F5C0195388D20070C39A /* Debug */ = {
  567 + isa = XCBuildConfiguration;
  568 + baseConfigurationReference = 3D6D9CC907AF7AE3532B2480 /* Pods-CNLiveServiceCenterModule_Example.debug.xcconfig */;
  569 + buildSettings = {
  570 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  571 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  572 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  573 + GCC_PREFIX_HEADER = "CNLiveServiceCenterModule/CNLiveServiceCenterModule-Prefix.pch";
  574 + INFOPLIST_FILE = "CNLiveServiceCenterModule/CNLiveServiceCenterModule-Info.plist";
  575 + MODULE_NAME = ExampleApp;
  576 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  577 + PRODUCT_NAME = "$(TARGET_NAME)";
  578 + SWIFT_VERSION = 4.0;
  579 + WRAPPER_EXTENSION = app;
  580 + };
  581 + name = Debug;
  582 + };
  583 + 6003F5C1195388D20070C39A /* Release */ = {
  584 + isa = XCBuildConfiguration;
  585 + baseConfigurationReference = 982F20743DFD93DC0C82C4B4 /* Pods-CNLiveServiceCenterModule_Example.release.xcconfig */;
  586 + buildSettings = {
  587 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  588 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  589 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  590 + GCC_PREFIX_HEADER = "CNLiveServiceCenterModule/CNLiveServiceCenterModule-Prefix.pch";
  591 + INFOPLIST_FILE = "CNLiveServiceCenterModule/CNLiveServiceCenterModule-Info.plist";
  592 + MODULE_NAME = ExampleApp;
  593 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  594 + PRODUCT_NAME = "$(TARGET_NAME)";
  595 + SWIFT_VERSION = 4.0;
  596 + WRAPPER_EXTENSION = app;
  597 + };
  598 + name = Release;
  599 + };
  600 + 6003F5C3195388D20070C39A /* Debug */ = {
  601 + isa = XCBuildConfiguration;
  602 + baseConfigurationReference = 6306D7BFFFBAB113BC7F8830 /* Pods-CNLiveServiceCenterModule_Tests.debug.xcconfig */;
  603 + buildSettings = {
  604 + BUNDLE_LOADER = "$(TEST_HOST)";
  605 + FRAMEWORK_SEARCH_PATHS = (
  606 + "$(PLATFORM_DIR)/Developer/Library/Frameworks",
  607 + "$(inherited)",
  608 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  609 + );
  610 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  611 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  612 + GCC_PREPROCESSOR_DEFINITIONS = (
  613 + "DEBUG=1",
  614 + "$(inherited)",
  615 + );
  616 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  617 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  618 + PRODUCT_NAME = "$(TARGET_NAME)";
  619 + SWIFT_VERSION = 4.0;
  620 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveServiceCenterModule_Example.app/CNLiveServiceCenterModule_Example";
  621 + WRAPPER_EXTENSION = xctest;
  622 + };
  623 + name = Debug;
  624 + };
  625 + 6003F5C4195388D20070C39A /* Release */ = {
  626 + isa = XCBuildConfiguration;
  627 + baseConfigurationReference = 03A4BD9944D98C7F5011FD76 /* Pods-CNLiveServiceCenterModule_Tests.release.xcconfig */;
  628 + buildSettings = {
  629 + BUNDLE_LOADER = "$(TEST_HOST)";
  630 + FRAMEWORK_SEARCH_PATHS = (
  631 + "$(PLATFORM_DIR)/Developer/Library/Frameworks",
  632 + "$(inherited)",
  633 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  634 + );
  635 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  636 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  637 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  638 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  639 + PRODUCT_NAME = "$(TARGET_NAME)";
  640 + SWIFT_VERSION = 4.0;
  641 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveServiceCenterModule_Example.app/CNLiveServiceCenterModule_Example";
  642 + WRAPPER_EXTENSION = xctest;
  643 + };
  644 + name = Release;
  645 + };
  646 +/* End XCBuildConfiguration section */
  647 +
  648 +/* Begin XCConfigurationList section */
  649 + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveServiceCenterModule" */ = {
  650 + isa = XCConfigurationList;
  651 + buildConfigurations = (
  652 + 6003F5BD195388D20070C39A /* Debug */,
  653 + 6003F5BE195388D20070C39A /* Release */,
  654 + );
  655 + defaultConfigurationIsVisible = 0;
  656 + defaultConfigurationName = Release;
  657 + };
  658 + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveServiceCenterModule_Example" */ = {
  659 + isa = XCConfigurationList;
  660 + buildConfigurations = (
  661 + 6003F5C0195388D20070C39A /* Debug */,
  662 + 6003F5C1195388D20070C39A /* Release */,
  663 + );
  664 + defaultConfigurationIsVisible = 0;
  665 + defaultConfigurationName = Release;
  666 + };
  667 + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveServiceCenterModule_Tests" */ = {
  668 + isa = XCConfigurationList;
  669 + buildConfigurations = (
  670 + 6003F5C3195388D20070C39A /* Debug */,
  671 + 6003F5C4195388D20070C39A /* Release */,
  672 + );
  673 + defaultConfigurationIsVisible = 0;
  674 + defaultConfigurationName = Release;
  675 + };
  676 +/* End XCConfigurationList section */
  677 + };
  678 + rootObject = 6003F582195388D10070C39A /* Project object */;
  679 +}
... ...
Example/CNLiveServiceCenterModule.xcodeproj/xcshareddata/xcschemes/CNLiveServiceCenterModule-Example.xcscheme 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Scheme
  3 + LastUpgradeVersion = "0720"
  4 + version = "1.3">
  5 + <BuildAction
  6 + parallelizeBuildables = "YES"
  7 + buildImplicitDependencies = "YES">
  8 + <BuildActionEntries>
  9 + <BuildActionEntry
  10 + buildForTesting = "YES"
  11 + buildForRunning = "YES"
  12 + buildForProfiling = "YES"
  13 + buildForArchiving = "YES"
  14 + buildForAnalyzing = "YES">
  15 + <BuildableReference
  16 + BuildableIdentifier = "primary"
  17 + BlueprintIdentifier = "6003F589195388D20070C39A"
  18 + BuildableName = "CNLiveServiceCenterModule_Example.app"
  19 + BlueprintName = "CNLiveServiceCenterModule_Example"
  20 + ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj">
  21 + </BuildableReference>
  22 + </BuildActionEntry>
  23 + </BuildActionEntries>
  24 + </BuildAction>
  25 + <TestAction
  26 + buildConfiguration = "Debug"
  27 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  28 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  29 + shouldUseLaunchSchemeArgsEnv = "YES">
  30 + <Testables>
  31 + <TestableReference
  32 + skipped = "NO">
  33 + <BuildableReference
  34 + BuildableIdentifier = "primary"
  35 + BlueprintIdentifier = "6003F5AD195388D20070C39A"
  36 + BuildableName = "CNLiveServiceCenterModule_Tests.xctest"
  37 + BlueprintName = "CNLiveServiceCenterModule_Tests"
  38 + ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj">
  39 + </BuildableReference>
  40 + </TestableReference>
  41 + </Testables>
  42 + <MacroExpansion>
  43 + <BuildableReference
  44 + BuildableIdentifier = "primary"
  45 + BlueprintIdentifier = "6003F589195388D20070C39A"
  46 + BuildableName = "CNLiveServiceCenterModule_Example.app"
  47 + BlueprintName = "CNLiveServiceCenterModule_Example"
  48 + ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj">
  49 + </BuildableReference>
  50 + </MacroExpansion>
  51 + <AdditionalOptions>
  52 + </AdditionalOptions>
  53 + </TestAction>
  54 + <LaunchAction
  55 + buildConfiguration = "Debug"
  56 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  57 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  58 + launchStyle = "0"
  59 + useCustomWorkingDirectory = "NO"
  60 + ignoresPersistentStateOnLaunch = "NO"
  61 + debugDocumentVersioning = "YES"
  62 + debugServiceExtension = "internal"
  63 + allowLocationSimulation = "YES">
  64 + <BuildableProductRunnable
  65 + runnableDebuggingMode = "0">
  66 + <BuildableReference
  67 + BuildableIdentifier = "primary"
  68 + BlueprintIdentifier = "6003F589195388D20070C39A"
  69 + BuildableName = "CNLiveServiceCenterModule_Example.app"
  70 + BlueprintName = "CNLiveServiceCenterModule_Example"
  71 + ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj">
  72 + </BuildableReference>
  73 + </BuildableProductRunnable>
  74 + <AdditionalOptions>
  75 + </AdditionalOptions>
  76 + </LaunchAction>
  77 + <ProfileAction
  78 + buildConfiguration = "Release"
  79 + shouldUseLaunchSchemeArgsEnv = "YES"
  80 + savedToolIdentifier = ""
  81 + useCustomWorkingDirectory = "NO"
  82 + debugDocumentVersioning = "YES">
  83 + <BuildableProductRunnable
  84 + runnableDebuggingMode = "0">
  85 + <BuildableReference
  86 + BuildableIdentifier = "primary"
  87 + BlueprintIdentifier = "6003F589195388D20070C39A"
  88 + BuildableName = "CNLiveServiceCenterModule_Example.app"
  89 + BlueprintName = "CNLiveServiceCenterModule_Example"
  90 + ReferencedContainer = "container:CNLiveServiceCenterModule.xcodeproj">
  91 + </BuildableReference>
  92 + </BuildableProductRunnable>
  93 + </ProfileAction>
  94 + <AnalyzeAction
  95 + buildConfiguration = "Debug">
  96 + </AnalyzeAction>
  97 + <ArchiveAction
  98 + buildConfiguration = "Release"
  99 + revealArchiveInOrganizer = "YES">
  100 + </ArchiveAction>
  101 +</Scheme>
... ...
Example/CNLiveServiceCenterModule/Base.lproj/LaunchScreen.storyboard 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
  3 + <device id="retina4_7" orientation="portrait">
  4 + <adaptation id="fullscreen"/>
  5 + </device>
  6 + <dependencies>
  7 + <deployment identifier="iOS"/>
  8 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
  9 + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10 + </dependencies>
  11 + <scenes>
  12 + <!--View Controller-->
  13 + <scene sceneID="EHf-IW-A2E">
  14 + <objects>
  15 + <viewController id="01J-lp-oVM" sceneMemberID="viewController">
  16 + <layoutGuides>
  17 + <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
  18 + <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
  19 + </layoutGuides>
  20 + <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
  21 + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  22 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  24 + </view>
  25 + </viewController>
  26 + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
  27 + </objects>
  28 + <point key="canvasLocation" x="53" y="375"/>
  29 + </scene>
  30 + </scenes>
  31 +</document>
... ...
Example/CNLiveServiceCenterModule/Base.lproj/Main.storyboard 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="rWB-m7-oK9">
  3 + <device id="retina4_7" orientation="portrait" appearance="light"/>
  4 + <dependencies>
  5 + <deployment identifier="iOS"/>
  6 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16086"/>
  7 + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8 + </dependencies>
  9 + <scenes>
  10 + <!--Navigation Controller-->
  11 + <scene sceneID="6pI-4V-wpA">
  12 + <objects>
  13 + <navigationController id="rWB-m7-oK9" sceneMemberID="viewController">
  14 + <navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="Bhs-dN-KgY">
  15 + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
  16 + <autoresizingMask key="autoresizingMask"/>
  17 + </navigationBar>
  18 + <connections>
  19 + <segue destination="whP-gf-Uak" kind="relationship" relationship="rootViewController" id="wDI-o3-N1c"/>
  20 + </connections>
  21 + </navigationController>
  22 + <placeholder placeholderIdentifier="IBFirstResponder" id="P0o-eo-7as" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
  23 + </objects>
  24 + <point key="canvasLocation" x="-455" y="455"/>
  25 + </scene>
  26 + <!--View Controller-->
  27 + <scene sceneID="wQg-tq-qST">
  28 + <objects>
  29 + <viewController id="whP-gf-Uak" customClass="CNLIVEBViewController" sceneMemberID="viewController">
  30 + <layoutGuides>
  31 + <viewControllerLayoutGuide type="top" id="uEw-UM-LJ8"/>
  32 + <viewControllerLayoutGuide type="bottom" id="Mvr-aV-6Um"/>
  33 + </layoutGuides>
  34 + <view key="view" contentMode="scaleToFill" id="TpU-gO-2f1">
  35 + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  36 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  37 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  38 + </view>
  39 + <navigationItem key="navigationItem" id="WCl-Am-iNL"/>
  40 + </viewController>
  41 + <placeholder placeholderIdentifier="IBFirstResponder" id="tc2-Qw-aMS" userLabel="First Responder" sceneMemberID="firstResponder"/>
  42 + </objects>
  43 + <point key="canvasLocation" x="305" y="433"/>
  44 + </scene>
  45 + </scenes>
  46 +</document>
... ...
Example/CNLiveServiceCenterModule/CNLIVEBAppDelegate.h 0 → 100644
  1 +//
  2 +// CNLIVEBAppDelegate.h
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 04/07/2020.
  6 +// Copyright (c) 2020 梁星国. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +
  11 +@interface CNLIVEBAppDelegate : UIResponder <UIApplicationDelegate>
  12 +
  13 +@property (strong, nonatomic) UIWindow *window;
  14 +
  15 +@end
... ...
Example/CNLiveServiceCenterModule/CNLIVEBAppDelegate.m 0 → 100644
  1 +//
  2 +// CNLIVEBAppDelegate.m
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 04/07/2020.
  6 +// Copyright (c) 2020 梁星国. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLIVEBAppDelegate.h"
  10 +
  11 +@implementation CNLIVEBAppDelegate
  12 +
  13 +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  14 +{
  15 + // Override point for customization after application launch.
  16 + return YES;
  17 +}
  18 +
  19 +- (void)applicationWillResignActive:(UIApplication *)application
  20 +{
  21 + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
  22 + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
  23 +}
  24 +
  25 +- (void)applicationDidEnterBackground:(UIApplication *)application
  26 +{
  27 + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
  28 + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
  29 +}
  30 +
  31 +- (void)applicationWillEnterForeground:(UIApplication *)application
  32 +{
  33 + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
  34 +}
  35 +
  36 +- (void)applicationDidBecomeActive:(UIApplication *)application
  37 +{
  38 + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
  39 +}
  40 +
  41 +- (void)applicationWillTerminate:(UIApplication *)application
  42 +{
  43 + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
  44 +}
  45 +
  46 +@end
... ...
Example/CNLiveServiceCenterModule/CNLIVEBViewController.h 0 → 100644
  1 +//
  2 +// CNLIVEBViewController.h
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 04/07/2020.
  6 +// Copyright (c) 2020 梁星国. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +
  11 +@interface CNLIVEBViewController : UIViewController
  12 +
  13 +@end
... ...
Example/CNLiveServiceCenterModule/CNLIVEBViewController.m 0 → 100644
  1 +//
  2 +// CNLIVEBViewController.m
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 04/07/2020.
  6 +// Copyright (c) 2020 梁星国. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLIVEBViewController.h"
  10 +#import "UIColor+MLPFlatColors.h"
  11 +#import "CNLiveBServiceCenterController.h"
  12 +
  13 +@interface CNLIVEBViewController ()
  14 +
  15 +@end
  16 +
  17 +@implementation CNLIVEBViewController
  18 +
  19 +- (void)viewDidLoad
  20 +{
  21 + [super viewDidLoad];
  22 +
  23 + UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
  24 + [self.view addSubview:button];
  25 + button.frame = CGRectMake(100, 100, 100, 100);
  26 + [button setBackgroundColor:UIColorFromRGB(0x000000)];
  27 + [button addTarget:self action:@selector(buttonAction:) forControlEvents:UIControlEventTouchUpInside];
  28 +
  29 +
  30 +}
  31 +
  32 +
  33 +- (void)buttonAction:(UIButton *)button {
  34 +
  35 +
  36 +
  37 + CNLiveBServiceCenterController *vc = [[CNLiveBServiceCenterController alloc]init];
  38 + [self.navigationController pushViewController:vc animated:YES];
  39 +}
  40 +
  41 +
  42 +- (void)didReceiveMemoryWarning
  43 +{
  44 + [super didReceiveMemoryWarning];
  45 + // Dispose of any resources that can be recreated.
  46 +}
  47 +
  48 +@end
... ...
Example/CNLiveServiceCenterModule/CNLiveServiceCenterModule-Info.plist 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>CFBundleDevelopmentRegion</key>
  6 + <string>en</string>
  7 + <key>CFBundleDisplayName</key>
  8 + <string>${PRODUCT_NAME}</string>
  9 + <key>CFBundleExecutable</key>
  10 + <string>${EXECUTABLE_NAME}</string>
  11 + <key>CFBundleIdentifier</key>
  12 + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
  13 + <key>CFBundleInfoDictionaryVersion</key>
  14 + <string>6.0</string>
  15 + <key>CFBundleName</key>
  16 + <string>${PRODUCT_NAME}</string>
  17 + <key>CFBundlePackageType</key>
  18 + <string>APPL</string>
  19 + <key>CFBundleShortVersionString</key>
  20 + <string>1.0</string>
  21 + <key>CFBundleSignature</key>
  22 + <string>????</string>
  23 + <key>CFBundleVersion</key>
  24 + <string>1.0</string>
  25 + <key>LSRequiresIPhoneOS</key>
  26 + <true/>
  27 + <key>UILaunchStoryboardName</key>
  28 + <string>LaunchScreen</string>
  29 + <key>UIMainStoryboardFile</key>
  30 + <string>Main</string>
  31 + <key>UIRequiredDeviceCapabilities</key>
  32 + <array>
  33 + <string>armv7</string>
  34 + </array>
  35 + <key>UISupportedInterfaceOrientations</key>
  36 + <array>
  37 + <string>UIInterfaceOrientationPortrait</string>
  38 + <string>UIInterfaceOrientationLandscapeLeft</string>
  39 + <string>UIInterfaceOrientationLandscapeRight</string>
  40 + </array>
  41 + <key>UISupportedInterfaceOrientations~ipad</key>
  42 + <array>
  43 + <string>UIInterfaceOrientationPortrait</string>
  44 + <string>UIInterfaceOrientationPortraitUpsideDown</string>
  45 + <string>UIInterfaceOrientationLandscapeLeft</string>
  46 + <string>UIInterfaceOrientationLandscapeRight</string>
  47 + </array>
  48 +</dict>
  49 +</plist>
... ...
Example/CNLiveServiceCenterModule/CNLiveServiceCenterModule-Prefix.pch 0 → 100644
  1 +//
  2 +// Prefix header
  3 +//
  4 +// The contents of this file are implicitly included at the beginning of every source file.
  5 +//
  6 +
  7 +#import <Availability.h>
  8 +
  9 +#ifndef __IPHONE_5_0
  10 +#warning "This project uses features only available in iOS SDK 5.0 and later."
  11 +#endif
  12 +
  13 +#ifdef __OBJC__
  14 + @import UIKit;
  15 + @import Foundation;
  16 +#endif
... ...
Example/CNLiveServiceCenterModule/Images.xcassets/AppIcon.appiconset/Contents.json 0 → 100644
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "iphone",
  5 + "size" : "20x20",
  6 + "scale" : "2x"
  7 + },
  8 + {
  9 + "idiom" : "iphone",
  10 + "size" : "20x20",
  11 + "scale" : "3x"
  12 + },
  13 + {
  14 + "idiom" : "iphone",
  15 + "size" : "29x29",
  16 + "scale" : "2x"
  17 + },
  18 + {
  19 + "idiom" : "iphone",
  20 + "size" : "29x29",
  21 + "scale" : "3x"
  22 + },
  23 + {
  24 + "idiom" : "iphone",
  25 + "size" : "40x40",
  26 + "scale" : "2x"
  27 + },
  28 + {
  29 + "idiom" : "iphone",
  30 + "size" : "40x40",
  31 + "scale" : "3x"
  32 + },
  33 + {
  34 + "idiom" : "iphone",
  35 + "size" : "60x60",
  36 + "scale" : "2x"
  37 + },
  38 + {
  39 + "idiom" : "iphone",
  40 + "size" : "60x60",
  41 + "scale" : "3x"
  42 + },
  43 + {
  44 + "idiom" : "ipad",
  45 + "size" : "20x20",
  46 + "scale" : "1x"
  47 + },
  48 + {
  49 + "idiom" : "ipad",
  50 + "size" : "20x20",
  51 + "scale" : "2x"
  52 + },
  53 + {
  54 + "idiom" : "ipad",
  55 + "size" : "29x29",
  56 + "scale" : "1x"
  57 + },
  58 + {
  59 + "idiom" : "ipad",
  60 + "size" : "29x29",
  61 + "scale" : "2x"
  62 + },
  63 + {
  64 + "idiom" : "ipad",
  65 + "size" : "40x40",
  66 + "scale" : "1x"
  67 + },
  68 + {
  69 + "idiom" : "ipad",
  70 + "size" : "40x40",
  71 + "scale" : "2x"
  72 + },
  73 + {
  74 + "idiom" : "ipad",
  75 + "size" : "76x76",
  76 + "scale" : "1x"
  77 + },
  78 + {
  79 + "idiom" : "ipad",
  80 + "size" : "76x76",
  81 + "scale" : "2x"
  82 + },
  83 + {
  84 + "idiom" : "ipad",
  85 + "size" : "83.5x83.5",
  86 + "scale" : "2x"
  87 + },
  88 + {
  89 + "idiom" : "ios-marketing",
  90 + "size" : "1024x1024",
  91 + "scale" : "1x"
  92 + }
  93 + ],
  94 + "info" : {
  95 + "version" : 1,
  96 + "author" : "xcode"
  97 + }
  98 +}
... ...
Example/CNLiveServiceCenterModule/en.lproj/InfoPlist.strings 0 → 100644
  1 +/* Localized versions of Info.plist keys */
  2 +
... ...
Example/CNLiveServiceCenterModule/main.m 0 → 100644
  1 +//
  2 +// main.m
  3 +// CNLiveServiceCenterModule
  4 +//
  5 +// Created by 梁星国 on 04/07/2020.
  6 +// Copyright (c) 2020 梁星国. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +#import "CNLIVEBAppDelegate.h"
  11 +
  12 +int main(int argc, char * argv[])
  13 +{
  14 + @autoreleasepool {
  15 + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLIVEBAppDelegate class]));
  16 + }
  17 +}
... ...
Example/Podfile 0 → 100644
  1 +use_frameworks!
  2 +source 'https://github.com/CocoaPods/Specs.git'
  3 +source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git'
  4 +
  5 +platform :ios, '9.0'
  6 +
  7 +target 'CNLiveServiceCenterModule_Example' do
  8 + pod 'CNLiveServiceCenterModule', :path => '../'
  9 +
  10 + #依赖三方私有库,如果里面有.a的时候加上这个
  11 + pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
  12 + end
  13 +
  14 +
  15 + target 'CNLiveServiceCenterModule_Tests' do
  16 + inherit! :search_paths
  17 +
  18 +
  19 + end
  20 +end
... ...
Example/Tests/Tests-Info.plist 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>CFBundleDevelopmentRegion</key>
  6 + <string>en</string>
  7 + <key>CFBundleExecutable</key>
  8 + <string>${EXECUTABLE_NAME}</string>
  9 + <key>CFBundleIdentifier</key>
  10 + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
  11 + <key>CFBundleInfoDictionaryVersion</key>
  12 + <string>6.0</string>
  13 + <key>CFBundlePackageType</key>
  14 + <string>BNDL</string>
  15 + <key>CFBundleShortVersionString</key>
  16 + <string>1.0</string>
  17 + <key>CFBundleSignature</key>
  18 + <string>????</string>
  19 + <key>CFBundleVersion</key>
  20 + <string>1</string>
  21 +</dict>
  22 +</plist>
... ...
Example/Tests/Tests-Prefix.pch 0 → 100644
  1 +// The contents of this file are implicitly included at the beginning of every test case source file.
  2 +
  3 +#ifdef __OBJC__
  4 +
  5 +
  6 +
  7 +#endif
... ...
Example/Tests/Tests.m 0 → 100644
  1 +//
  2 +// CNLiveServiceCenterModuleTests.m
  3 +// CNLiveServiceCenterModuleTests
  4 +//
  5 +// Created by 梁星国 on 04/07/2020.
  6 +// Copyright (c) 2020 梁星国. All rights reserved.
  7 +//
  8 +
  9 +@import XCTest;
  10 +
  11 +@interface Tests : XCTestCase
  12 +
  13 +@end
  14 +
  15 +@implementation Tests
  16 +
  17 +- (void)setUp
  18 +{
  19 + [super setUp];
  20 + // Put setup code here. This method is called before the invocation of each test method in the class.
  21 +}
  22 +
  23 +- (void)tearDown
  24 +{
  25 + // Put teardown code here. This method is called after the invocation of each test method in the class.
  26 + [super tearDown];
  27 +}
  28 +
  29 +- (void)testExample
  30 +{
  31 + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__);
  32 +}
  33 +
  34 +@end
  35 +
... ...
Example/Tests/en.lproj/InfoPlist.strings 0 → 100644
  1 +/* Localized versions of Info.plist keys */
  2 +
... ...
LICENSE 0 → 100644
  1 +Copyright (c) 2020 梁星国 <liangxingguo_job@163.com>
  2 +
  3 +Permission is hereby granted, free of charge, to any person obtaining a copy
  4 +of this software and associated documentation files (the "Software"), to deal
  5 +in the Software without restriction, including without limitation the rights
  6 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7 +copies of the Software, and to permit persons to whom the Software is
  8 +furnished to do so, subject to the following conditions:
  9 +
  10 +The above copyright notice and this permission notice shall be included in
  11 +all copies or substantial portions of the Software.
  12 +
  13 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19 +THE SOFTWARE.
... ...
README 下午12.40.09.md renamed to README.md
_Pods.xcodeproj 0 → 120000
  1 +Example/Pods/Pods.xcodeproj
0 2 \ No newline at end of file
... ...