Commit efb4111adc75e9632975e07972ae7d9091285240

Authored by zhangxiaowen
1 parent b02a6602

no message

.gitignore 0 → 100644
  1 +# OS X
  2 +.DS_Store
  3 +
  4 +# Xcode
  5 +build/
  6 +Products/
  7 +*.pbxuser
  8 +!default.pbxuser
  9 +*.mode1v3
  10 +!default.mode1v3
  11 +*.mode2v3
  12 +!default.mode2v3
  13 +*.perspectivev3
  14 +!default.perspectivev3
  15 +xcuserdata/
  16 +*.xccheckout
  17 +profile
  18 +*.moved-aside
  19 +DerivedData
  20 +*.hmap
  21 +*.ipa
  22 +
  23 +# Bundler
  24 +.bundle
  25 +
  26 +# Add this line if you want to avoid checking in source code from Carthage dependencies.
  27 +# Carthage/Checkouts
  28 +
  29 +Carthage/Build
  30 +
  31 +# We recommend against adding the Pods directory to your .gitignore. However
  32 +# you should judge for yourself, the pros and cons are mentioned at:
  33 +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
  34 +#
  35 +# Note: if you ignore the Pods directory, make sure to uncomment
  36 +# `pod install` in .travis.yml
  37 +#
  38 +# Pods/
... ...
.travis.yml 0 → 100644
  1 +# references:
  2 +# * https://www.objc.io/issues/6-build-tools/travis-ci/
  3 +# * https://github.com/supermarin/xcpretty#usage
  4 +
  5 +osx_image: xcode7.3
  6 +language: objective-c
  7 +# cache: cocoapods
  8 +# podfile: Example/Podfile
  9 +# before_install:
  10 +# - gem install cocoapods # Since Travis is not always on latest version
  11 +# - pod install --project-directory=Example
  12 +script:
  13 +- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/CNLiveCommonClass.xcworkspace -scheme CNLiveCommonClass-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
  14 +- pod lib lint
... ...
CNLiveCommonClass.podspec 0 → 100644
  1 +#
  2 +# Be sure to run `pod lib lint CNLiveCommonClass.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 = 'CNLiveCommonClass'
  11 + s.version = '0.0.1'
  12 + s.summary = 'CNLive-iOS的基类组件'
  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 +TODO: Add long description of the pod here.
  22 + DESC
  23 +
  24 + s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveCommonClass'
  25 + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  26 + s.license = { :type => 'MIT', :file => 'LICENSE' }
  27 + s.author = { '153993236@qq.com' => 'zhangxiaowen@cnlive.com' }
  28 + s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveCommonClass.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 +
  33 + s.source_files = 'CNLiveCommonClass/Classes/**/*'
  34 +
  35 + # s.resource_bundles = {
  36 + # 'CNLiveCommonClass' => ['CNLiveCommonClass/Assets/*.png']
  37 + # }
  38 +
  39 + # s.public_header_files = 'Pod/Classes/**/*.h'
  40 + # s.frameworks = 'UIKit', 'MapKit'
  41 + # s.dependency 'AFNetworking', '~> 2.3'
  42 +end
... ...
CNLiveCommonClass/Assets/.gitkeep 0 → 100644
CNLiveCommonClass/Classes/.gitkeep 0 → 100644
CNLiveCommonClass/Classes/CNCommonListViewController.h 0 → 100644
  1 +//
  2 +// CNCommonListViewController.h
  3 +// CNLiveNetAdd
  4 +//
  5 +// Created by 张旭 on 2018/1/3.
  6 +// Copyright © 2018年 cnlive. All rights reserved.
  7 +// 列表类型的tableView
  8 +
  9 +#import "CNCommonTableViewController.h"
  10 +
  11 +@interface CNCommonListViewController : CNCommonTableViewController
  12 +
  13 +@property(nonatomic, strong) QMUIOrderedDictionary *dataSource;
  14 +
  15 +@end
  16 +
  17 +@interface CNCommonListViewController (UISubclassingHooks)
  18 +
  19 +//子类继承,可以不调 super
  20 +- (void)initDataSource;
  21 +- (void)didSelectCellWithTitle:(NSString *)title;
  22 +
  23 +@end
... ...
CNLiveCommonClass/Classes/CNCommonListViewController.m 0 → 100644
  1 +//
  2 +// CNCommonListViewController.m
  3 +// CNLiveNetAdd
  4 +//
  5 +// Created by 张旭 on 2018/1/3.
  6 +// Copyright © 2018年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "CNCommonListViewController.h"
  10 +
  11 +@interface CNCommonListViewController ()
  12 +
  13 +@end
  14 +
  15 +@implementation CNCommonListViewController
  16 +
  17 +
  18 +- (instancetype)initWithStyle:(UITableViewStyle)style {
  19 + if (self = [super initWithStyle:style]) {
  20 + [self initDataSource];
  21 + }
  22 + return self;
  23 +}
  24 +
  25 +- (void)viewWillAppear:(BOOL)animated
  26 +{
  27 + [super viewWillAppear:animated];
  28 +}
  29 +
  30 +- (void)viewDidLoad {
  31 + [super viewDidLoad];
  32 + // Do any additional setup after loading the view.
  33 +}
  34 +
  35 +-(void)viewDidAppear:(BOOL)animated
  36 +{
  37 + [super viewDidAppear:animated];
  38 + [UIView setAnimationsEnabled:YES];
  39 +}
  40 +#pragma mark - <QMUITableViewDataSource,QMUITableViewDelegate>
  41 +
  42 +- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
  43 + return [self.dataSource count];
  44 +}
  45 +
  46 +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
  47 + return [[self orderedDictionaryInSection:section] count];
  48 +}
  49 +
  50 +- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
  51 + return [self titleForSection:section];
  52 +}
  53 +
  54 +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  55 + static NSString *identifierNormal = @"cellNormal";
  56 + QMUITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identifierNormal];
  57 + if (!cell) {
  58 + cell = [[QMUITableViewCell alloc] initForTableView:self.tableView withStyle:UITableViewCellStyleSubtitle reuseIdentifier:identifierNormal];
  59 + cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
  60 + }
  61 + NSString *keyName = [self keyNameAtIndexPath:indexPath];
  62 + cell.textLabel.text = keyName;
  63 + cell.detailTextLabel.text = (NSString *)[[self orderedDictionaryInSection:indexPath.section] objectForKey:keyName];
  64 +
  65 + cell.textLabel.font = UIFontMake(15);
  66 + cell.detailTextLabel.font = UIFontMake(13);
  67 +
  68 + [cell updateCellAppearanceWithIndexPath:indexPath];
  69 + return cell;
  70 +}
  71 +
  72 +- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  73 + [self.tableView qmui_clearsSelection];
  74 + NSString *keyName = [self keyNameAtIndexPath:indexPath];
  75 + [self didSelectCellWithTitle:keyName];
  76 + [self.tableView qmui_clearsSelection];
  77 +}
  78 +
  79 +#pragma mark - DataSource
  80 +
  81 +- (NSString *)titleForSection:(NSInteger)section {
  82 + return [[self.dataSource allKeys] objectAtIndex:section];
  83 +}
  84 +
  85 +- (QMUIOrderedDictionary *)orderedDictionaryInSection:(NSInteger)section {
  86 + return [self.dataSource objectForKey:[self titleForSection:section]];
  87 +}
  88 +
  89 +- (NSString *)keyNameAtIndexPath:(NSIndexPath *)indexPath {
  90 + return [[self orderedDictionaryInSection:indexPath.section] allKeys][indexPath.row];
  91 +}
  92 +
  93 +@end
  94 +
  95 +@implementation CNCommonTableViewController (UISubclassingHooks)
  96 +
  97 +-(void)initDataSource
  98 +{
  99 +
  100 +}
  101 +
  102 +-(void)didSelectCellWithTitle:(NSString *)title
  103 +{
  104 +
  105 +}
  106 +
  107 +@end
... ...
CNLiveCommonClass/Classes/CNCommonTableViewController.h 0 → 100644
  1 +//
  2 +// CNCommonTableViewController.h
  3 +// CNLiveNetAdd
  4 +//
  5 +// Created by 张旭 on 2017/12/30.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "QMUIKit.h"
  10 +
  11 +@interface CNCommonTableViewController : QMUICommonTableViewController <CNChangingThemeDelegate>
  12 +
  13 +- (void)setCNAPIErrorEmptyView;//接口错误
  14 +- (void)setCNNoNetworkingEmptyView;//无网络连接
  15 +- (void)setCNNoDataEmptyView;//没有相关内容
  16 +////子类重写 没网络时调用
  17 +- (void)cn_noNetworking;
  18 +////子类重写 有网络时调用
  19 +- (void)cn_wifiOrWWANNetworking;
  20 +@end
  21 +
  22 +
... ...
CNLiveCommonClass/Classes/CNCommonTableViewController.m 0 → 100644
  1 +//
  2 +// CNCommonTableViewController.m
  3 +// CNLiveNetAdd
  4 +//
  5 +// Created by 张旭 on 2017/12/30.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "CNCommonTableViewController.h"
  10 +#import "CNAttentionViewController.h"
  11 +#import "CNMineHomeController.h"
  12 +
  13 +@interface CNCommonTableViewController ()
  14 +
  15 +@end
  16 +
  17 +@implementation CNCommonTableViewController
  18 +
  19 +- (void)viewWillAppear:(BOOL)animated
  20 +{
  21 + [super viewWillAppear:animated];
  22 + if ([self isKindOfClass:[CNAttentionViewController class]] || [self isKindOfClass:[CNMineHomeController class]]) {
  23 + self.tabBarController.tabBar.hidden = NO;
  24 + }else{
  25 +
  26 + self.tabBarController.tabBar.hidden = YES;
  27 + }
  28 +// self.navigationController.interactivePopGestureRecognizer.delegate = (id)self;
  29 +}
  30 +
  31 +- (void)viewWillDisappear:(BOOL)animated
  32 +{
  33 + [super viewWillDisappear:animated];
  34 +
  35 +}
  36 +
  37 +-(void)viewDidAppear:(BOOL)animated
  38 +{
  39 + [super viewDidAppear:animated];
  40 + [UIView setAnimationsEnabled:YES];
  41 +}
  42 +
  43 +- (void)viewDidLoad
  44 +{
  45 + [super viewDidLoad];
  46 +// [self p_startNetworkMonitoring];
  47 +}
  48 +
  49 +- (void)didInitialize {
  50 + [super didInitialize];
  51 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleThemeChangedNotification:) name:CNThemeChangedNotification object:nil];
  52 +}
  53 +
  54 +
  55 +- (void)initSubviews
  56 +{
  57 + [super initSubviews];
  58 + if (@available(iOS 11.0, *)) {
  59 + self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
  60 + } else {
  61 + self.automaticallyAdjustsScrollViewInsets = NO;
  62 + }
  63 + self.tableView.top = kNavigationBarHeight;
  64 + self.tableView.height = KScreenHeight - kNavigationBarHeight - kVerticalTabBarTotalHeight;
  65 +}
  66 +
  67 +- (void)setCNNoNetworkingEmptyView
  68 +{
  69 + self.emptyView.backgroundColor = kWhiteColor;
  70 + self.emptyView.actionButton.backgroundColor = UIColorMake(0, 194, 0);
  71 + self.emptyView.actionButton.layer.masksToBounds = YES;
  72 + self.emptyView.actionButton.layer.cornerRadius = 6;
  73 + self.emptyView.imageViewInsets = UIEdgeInsetsMake(0, 0, 15, 0);
  74 + self.emptyView.textLabelInsets = UIEdgeInsetsMake(0, 0, 14, 0);
  75 + self.emptyView.detailTextLabelInsets = UIEdgeInsetsMake(0, 0, 16, 0);
  76 + [self.emptyView setTextLabelFont:UIFontMake(17)];
  77 + [self.emptyView setDetailTextLabelFont:UIFontMake(13)];
  78 + [self.emptyView setTextLabelTextColor:UIColorMake(102, 102, 102)];
  79 + [self.emptyView setDetailTextLabelTextColor:UIColorMake(153, 153, 153)];
  80 +}
  81 +
  82 +- (void)setCNAPIErrorEmptyView
  83 +{
  84 + self.emptyView.actionButton.backgroundColor = UIColorMake(0, 194, 0);
  85 + self.emptyView.actionButton.layer.masksToBounds = YES;
  86 + self.emptyView.actionButton.layer.cornerRadius = 6;
  87 + self.emptyView.imageViewInsets = UIEdgeInsetsMake(0, 0, 15, 0);
  88 + self.emptyView.textLabelInsets = UIEdgeInsetsMake(0, 0, 14, 0);
  89 + self.emptyView.detailTextLabelInsets = UIEdgeInsetsMake(0, 0, 16, 0);
  90 + [self.emptyView setTextLabelFont:UIFontMake(17)];
  91 + [self.emptyView setDetailTextLabelFont:UIFontMake(13)];
  92 + [self.emptyView setTextLabelTextColor:UIColorMake(102, 102, 102)];
  93 + [self.emptyView setDetailTextLabelTextColor:UIColorMake(153, 153, 153)];
  94 +}
  95 +
  96 +- (void)setCNNoDataEmptyView
  97 +{
  98 + [self.emptyView setTextLabelFont:UIFontMake(17)];
  99 + [self.emptyView setTextLabelTextColor:UIColorMake(102, 102, 102)];
  100 + self.emptyView.imageViewInsets = UIEdgeInsetsMake(0, 0, 36, 0);
  101 +
  102 +}
  103 +
  104 +- (UIStatusBarStyle)preferredStatusBarStyle
  105 +{
  106 + return UIStatusBarStyleDefault;
  107 +}
  108 +
  109 +- (BOOL)shouldAutorotate
  110 +{
  111 + return NO;
  112 +}
  113 +
  114 +- (UIImage *)navigationBarBackgroundImage
  115 +{
  116 + return [UIImage imageWithColor:kWhiteColor];
  117 +}
  118 +
  119 +- (UIInterfaceOrientationMask)supportedOrientationMask
  120 +{
  121 + return UIInterfaceOrientationMaskPortrait;
  122 +}
  123 +
  124 +- (BOOL)forceEnableInteractivePopGestureRecognizer
  125 +{
  126 + return YES;
  127 +}
  128 +///// 开始网络监控
  129 +//- (void)p_startNetworkMonitoring
  130 +//{
  131 +// weakself
  132 +// AFNetworkReachabilityManager *manager = [AFNetworkReachabilityManager sharedManager];
  133 +// [manager setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
  134 +// if (status == AFNetworkReachabilityStatusUnknown || status == AFNetworkReachabilityStatusNotReachable) {
  135 +// [weakSelf cn_noNetworking];//没网
  136 +// }else
  137 +// {//有网
  138 +// [weakSelf cn_wifiOrWWANNetworking];
  139 +// }
  140 +//// [self.tableView reloadData];
  141 +// }];
  142 +// [manager startMonitoring];
  143 +//}
  144 +
  145 +- (void)cn_noNetworking
  146 +{//子类重写
  147 +
  148 +}
  149 +
  150 +- (void)cn_wifiOrWWANNetworking
  151 +{//子类重写
  152 +
  153 +}
  154 +
  155 +- (void)handleThemeChangedNotification:(NSNotification *)notification {
  156 + NSObject<CNThemeProtocol> *themeBeforeChanged = notification.userInfo[CNThemeBeforeChangedName];
  157 + themeBeforeChanged = [themeBeforeChanged isKindOfClass:[NSNull class]] ? nil : themeBeforeChanged;
  158 +
  159 + NSObject<CNThemeProtocol> *themeAfterChanged = notification.userInfo[CNThemeAfterChangedName];
  160 + themeAfterChanged = [themeAfterChanged isKindOfClass:[NSNull class]] ? nil : themeAfterChanged;
  161 +
  162 + [self themeBeforeChanged:themeBeforeChanged afterChanged:themeAfterChanged];
  163 +}
  164 +
  165 +#pragma mark - <CNChangingThemeDelegate>
  166 +
  167 +- (void)themeBeforeChanged:(NSObject<CNThemeProtocol> *)themeBeforeChanged afterChanged:(NSObject<CNThemeProtocol> *)themeAfterChanged {
  168 + [self.tableView reloadData];
  169 +}
  170 +
  171 +@end
... ...
CNLiveCommonClass/Classes/CNCommonView.h 0 → 100644
  1 +//
  2 +// CNCommonView.h
  3 +// CNLiveNetAdd
  4 +//
  5 +// Created by 张旭 on 2018/1/9.
  6 +// Copyright © 2018年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@interface CNCommonView : UIView <CNChangingThemeDelegate>
  12 +
  13 +@end
... ...
CNLiveCommonClass/Classes/CNCommonView.m 0 → 100644
  1 +//
  2 +// CNCommonView.m
  3 +// CNLiveNetAdd
  4 +//
  5 +// Created by 张旭 on 2018/1/9.
  6 +// Copyright © 2018年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "CNCommonView.h"
  10 +
  11 +@implementation CNCommonView
  12 +
  13 +- (instancetype)initWithFrame:(CGRect)frame {
  14 + self = [super initWithFrame:frame];
  15 + if (self) {
  16 + [self didInitialized];
  17 + }
  18 + return self;
  19 +}
  20 +
  21 +- (instancetype)initWithCoder:(NSCoder *)aDecoder {
  22 + if (self = [super initWithCoder:aDecoder]) {
  23 + [self didInitialized];
  24 + }
  25 + return self;
  26 +}
  27 +
  28 +- (void)didInitialized
  29 +{
  30 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleThemeChangedNotification:) name:CNThemeChangedNotification object:nil];
  31 +}
  32 +
  33 +- (void)handleThemeChangedNotification:(NSNotification *)notification {
  34 + NSObject<CNThemeProtocol> *themeBeforeChanged = notification.userInfo[CNThemeBeforeChangedName];
  35 + NSObject<CNThemeProtocol> *themeAfterChanged = notification.userInfo[CNThemeAfterChangedName];
  36 + [self themeBeforeChanged:themeBeforeChanged afterChanged:themeAfterChanged];
  37 +}
  38 +
  39 +#pragma mark - <CNChangingThemeDelegate>
  40 +
  41 +- (void)themeBeforeChanged:(NSObject<CNThemeProtocol> *)themeBeforeChanged afterChanged:(NSObject<CNThemeProtocol> *)themeAfterChanged {
  42 +
  43 +}
  44 +
  45 +/*
  46 +// Only override drawRect: if you perform custom drawing.
  47 +// An empty implementation adversely affects performance during animation.
  48 +- (void)drawRect:(CGRect)rect {
  49 + // Drawing code
  50 +}
  51 +*/
  52 +
  53 +@end
... ...
CNLiveCommonClass/Classes/CNCommonViewController.h 0 → 100644
  1 +//
  2 +// CNCommonViewController.h
  3 +// CNLiveNetAdd
  4 +//
  5 +// Created by 张旭 on 2017/12/30.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "CNThemeProtocol.h"
  10 +
  11 +@interface CNCommonViewController : QMUICommonViewController <CNChangingThemeDelegate>
  12 +
  13 +@property (nonatomic, assign) NSInteger netStatus;//当前网络状态
  14 +
  15 +- (void)setCNAPIErrorEmptyView;//接口错误
  16 +- (void)setCNNoNetworkingEmptyView;//无网络连接
  17 +- (void)setCNNoDataEmptyView;//没有相关内容
  18 +////子类重写 没网络时调用
  19 +- (void)cn_noNetworking;
  20 +////子类重写 有网络时调用
  21 +- (void)cn_wifiOrWWANNetworking;
  22 +@end
... ...
CNLiveCommonClass/Classes/CNCommonViewController.m 0 → 100644
  1 +//
  2 +// CNCommonViewController.m
  3 +// CNLiveNetAdd
  4 +//
  5 +// Created by 张旭 on 2017/12/30.
  6 +// Copyright © 2017年 cnlive. All rights reserved.
  7 +//
  8 +
  9 +#import "CNCommonViewController.h"
  10 +#import <CNLiveRequestBastKit/CNLiveNetworking.h>
  11 +
  12 +@interface CNCommonViewController ()
  13 +
  14 +@end
  15 +
  16 +@implementation CNCommonViewController
  17 +#pragma mark - Life Cycle
  18 +- (void)viewWillAppear:(BOOL)animated {
  19 + [super viewWillAppear:animated];
  20 +
  21 +}
  22 +
  23 +- (void)viewDidAppear:(BOOL)animated {
  24 + [super viewDidAppear:animated];
  25 + [UIView setAnimationsEnabled:YES];
  26 +}
  27 +
  28 +- (void)viewDidLoad {
  29 + [super viewDidLoad];
  30 + [self p_startNetworkMonitoring];
  31 +}
  32 +
  33 +- (void)initSubviews {
  34 + [super initSubviews];
  35 + self.automaticallyAdjustsScrollViewInsets = NO;
  36 +}
  37 +- (void)viewWillDisappear:(BOOL)animated{
  38 + [super viewWillDisappear:animated];
  39 +
  40 +}
  41 +#pragma mark - UI
  42 +- (void)setCNNoNetworkingEmptyView {
  43 + self.emptyView.backgroundColor = kWhiteColor;
  44 + self.emptyView.actionButton.backgroundColor = UIColorMake(0, 194, 0);
  45 + self.emptyView.actionButton.layer.masksToBounds = YES;
  46 + self.emptyView.actionButton.layer.cornerRadius = 6;
  47 + self.emptyView.imageViewInsets = UIEdgeInsetsMake(0, 0, 15, 0);
  48 + self.emptyView.textLabelInsets = UIEdgeInsetsMake(0, 0, 14, 0);
  49 + self.emptyView.detailTextLabelInsets = UIEdgeInsetsMake(0, 0, 16, 0);
  50 + [self.emptyView setTextLabelFont:UIFontMake(17)];
  51 + [self.emptyView setDetailTextLabelFont:UIFontMake(13)];
  52 + [self.emptyView setTextLabelTextColor:UIColorMake(102, 102, 102)];
  53 + [self.emptyView setDetailTextLabelTextColor:UIColorMake(153, 153, 153)];
  54 +}
  55 +
  56 +- (void)setCNAPIErrorEmptyView {
  57 + self.emptyView.actionButton.backgroundColor = UIColorMake(0, 194, 0);
  58 + self.emptyView.actionButton.layer.masksToBounds = YES;
  59 + self.emptyView.actionButton.layer.cornerRadius = 6;
  60 + self.emptyView.imageViewInsets = UIEdgeInsetsMake(0, 0, 15, 0);
  61 + self.emptyView.textLabelInsets = UIEdgeInsetsMake(0, 0, 14, 0);
  62 + self.emptyView.detailTextLabelInsets = UIEdgeInsetsMake(0, 0, 16, 0);
  63 + [self.emptyView setTextLabelFont:UIFontMake(17)];
  64 + [self.emptyView setDetailTextLabelFont:UIFontMake(13)];
  65 + [self.emptyView setTextLabelTextColor:UIColorMake(102, 102, 102)];
  66 + [self.emptyView setDetailTextLabelTextColor:UIColorMake(153, 153, 153)];
  67 +}
  68 +
  69 +- (void)setCNNoDataEmptyView {
  70 + [self.emptyView setTextLabelFont:UIFontMake(17)];
  71 + [self.emptyView setTextLabelTextColor:UIColorMake(102, 102, 102)];
  72 + self.emptyView.imageViewInsets = UIEdgeInsetsMake(0, 0, 36, 0);
  73 +}
  74 +#pragma mark - Network Monitoring
  75 +- (void)p_startNetworkMonitoring {
  76 + weakself
  77 +
  78 + [CNLiveNetworking networkStatusWithBlock:^(CNLiveNetworkStatusType status) {
  79 + if (status == CNLiveNetworkStatusUnknown || status == CNLiveNetworkStatusNotReachable) {
  80 + weakSelf.netStatus = status;
  81 + [weakSelf cn_noNetworking];//没网
  82 + }else
  83 + {//有网
  84 + weakSelf.netStatus = status;
  85 + [weakSelf cn_wifiOrWWANNetworking];
  86 + }
  87 + }];
  88 +
  89 +// AFNetworkReachabilityManager *manager = [AFNetworkReachabilityManager sharedManager];
  90 +// [manager setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
  91 +// if (status == AFNetworkReachabilityStatusUnknown || status == AFNetworkReachabilityStatusNotReachable) {
  92 +// weakSelf.netStatus = status;
  93 +// [weakSelf cn_noNetworking];//没网
  94 +// }else
  95 +// {//有网
  96 +// weakSelf.netStatus = status;
  97 +// [weakSelf cn_wifiOrWWANNetworking];
  98 +// }
  99 +// }];
  100 +// [manager startMonitoring];
  101 +}
  102 +
  103 +- (void)cn_noNetworking {//子类重写
  104 +
  105 +}
  106 +
  107 +- (void)cn_wifiOrWWANNetworking {//子类重写
  108 +
  109 +}
  110 +
  111 +- (void)didInitialize {
  112 + [super didInitialize];
  113 + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleThemeChangedNotification:) name:CNThemeChangedNotification object:nil];
  114 +}
  115 +
  116 +- (void)handleThemeChangedNotification:(NSNotification *)notification {
  117 + NSObject<CNThemeProtocol> *themeBeforeChanged = notification.userInfo[CNThemeBeforeChangedName];
  118 + NSObject<CNThemeProtocol> *themeAfterChanged = notification.userInfo[CNThemeAfterChangedName];
  119 + [self themeBeforeChanged:themeBeforeChanged afterChanged:themeAfterChanged];
  120 +}
  121 +#pragma mark - Navigation Delegate
  122 +- (UIImage *)navigationBarBackgroundImage {
  123 + return [UIImage imageWithColor:kWhiteColor];
  124 +}
  125 +
  126 +#pragma mark - System Delegate
  127 +- (BOOL)shouldAutorotate {
  128 + return NO;
  129 +}
  130 +- (UIInterfaceOrientationMask)supportedOrientationMask {
  131 + return UIInterfaceOrientationMaskPortrait;
  132 +}
  133 +
  134 +- (UIStatusBarStyle)preferredStatusBarStyle {
  135 + return UIStatusBarStyleDefault;
  136 +}
  137 +
  138 +- (BOOL)forceEnableInteractivePopGestureRecognizer {
  139 + return YES;
  140 +}
  141 +
  142 +#pragma mark - CNChangingThemeDelegate
  143 +- (void)themeBeforeChanged:(NSObject<CNThemeProtocol> *)themeBeforeChanged afterChanged:(NSObject<CNThemeProtocol> *)themeAfterChanged {
  144 +
  145 +}
  146 +
  147 +@end
... ...
Example/CNLiveCommonClass.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 + 3E40E3C7C465377E82B0A6AA /* Pods_CNLiveCommonClass_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C40CE2481D34D8598DCA56CE /* Pods_CNLiveCommonClass_Tests.framework */; };
  11 + 5BB8904E9EA88F3002AA799C /* Pods_CNLiveCommonClass_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 179D3DF32D3CE314E4C89BBB /* Pods_CNLiveCommonClass_Example.framework */; };
  12 + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
  13 + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; };
  14 + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
  15 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; };
  16 + 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; };
  17 + 6003F59E195388D20070C39A /* CNLiveAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */; };
  18 + 6003F5A7195388D20070C39A /* CNLiveViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* CNLiveViewController.m */; };
  19 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; };
  20 + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; };
  21 + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
  22 + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
  23 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; };
  24 + 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; };
  25 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; };
  26 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; };
  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 = CNLiveCommonClass;
  36 + };
  37 +/* End PBXContainerItemProxy section */
  38 +
  39 +/* Begin PBXFileReference section */
  40 + 006DE7B0EF163D72D489AB79 /* Pods-CNLiveCommonClass_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveCommonClass_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveCommonClass_Tests/Pods-CNLiveCommonClass_Tests.release.xcconfig"; sourceTree = "<group>"; };
  41 + 179D3DF32D3CE314E4C89BBB /* Pods_CNLiveCommonClass_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveCommonClass_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  42 + 43F22143B4C4B0C1F27A448D /* CNLiveCommonClass.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveCommonClass.podspec; path = ../CNLiveCommonClass.podspec; sourceTree = "<group>"; };
  43 + 47CC85EAC36A613AF71913B7 /* Pods-CNLiveCommonClass_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveCommonClass_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveCommonClass_Example/Pods-CNLiveCommonClass_Example.release.xcconfig"; sourceTree = "<group>"; };
  44 + 6003F58A195388D20070C39A /* CNLiveCommonClass_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveCommonClass_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
  45 + 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
  46 + 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
  47 + 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
  48 + 6003F595195388D20070C39A /* CNLiveCommonClass-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveCommonClass-Info.plist"; sourceTree = "<group>"; };
  49 + 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  50 + 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
  51 + 6003F59B195388D20070C39A /* CNLiveCommonClass-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveCommonClass-Prefix.pch"; sourceTree = "<group>"; };
  52 + 6003F59C195388D20070C39A /* CNLiveAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLiveAppDelegate.h; sourceTree = "<group>"; };
  53 + 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLiveAppDelegate.m; sourceTree = "<group>"; };
  54 + 6003F5A5195388D20070C39A /* CNLiveViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLiveViewController.h; sourceTree = "<group>"; };
  55 + 6003F5A6195388D20070C39A /* CNLiveViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLiveViewController.m; sourceTree = "<group>"; };
  56 + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
  57 + 6003F5AE195388D20070C39A /* CNLiveCommonClass_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveCommonClass_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
  58 + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
  59 + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; };
  60 + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  61 + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; };
  62 + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; };
  63 + 643ACEBB7EEAA965DDBF3C36 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
  64 + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
  65 + 82056CEF9A35B980EFE3AF15 /* Pods-CNLiveCommonClass_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveCommonClass_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveCommonClass_Tests/Pods-CNLiveCommonClass_Tests.debug.xcconfig"; sourceTree = "<group>"; };
  66 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
  67 + 98AD523CC94208D0E76C048F /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
  68 + C40CE2481D34D8598DCA56CE /* Pods_CNLiveCommonClass_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveCommonClass_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  69 + E4AAE2F254E3CE24480BA15C /* Pods-CNLiveCommonClass_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveCommonClass_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveCommonClass_Example/Pods-CNLiveCommonClass_Example.debug.xcconfig"; 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 + 5BB8904E9EA88F3002AA799C /* Pods_CNLiveCommonClass_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 + 3E40E3C7C465377E82B0A6AA /* Pods_CNLiveCommonClass_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 CNLiveCommonClass */,
  103 + 6003F5B5195388D20070C39A /* Tests */,
  104 + 6003F58C195388D20070C39A /* Frameworks */,
  105 + 6003F58B195388D20070C39A /* Products */,
  106 + F1A92244AFB4E03FDED060DA /* Pods */,
  107 + );
  108 + sourceTree = "<group>";
  109 + };
  110 + 6003F58B195388D20070C39A /* Products */ = {
  111 + isa = PBXGroup;
  112 + children = (
  113 + 6003F58A195388D20070C39A /* CNLiveCommonClass_Example.app */,
  114 + 6003F5AE195388D20070C39A /* CNLiveCommonClass_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 + 179D3DF32D3CE314E4C89BBB /* Pods_CNLiveCommonClass_Example.framework */,
  127 + C40CE2481D34D8598DCA56CE /* Pods_CNLiveCommonClass_Tests.framework */,
  128 + );
  129 + name = Frameworks;
  130 + sourceTree = "<group>";
  131 + };
  132 + 6003F593195388D20070C39A /* Example for CNLiveCommonClass */ = {
  133 + isa = PBXGroup;
  134 + children = (
  135 + 6003F59C195388D20070C39A /* CNLiveAppDelegate.h */,
  136 + 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */,
  137 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */,
  138 + 6003F5A5195388D20070C39A /* CNLiveViewController.h */,
  139 + 6003F5A6195388D20070C39A /* CNLiveViewController.m */,
  140 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */,
  141 + 6003F5A8195388D20070C39A /* Images.xcassets */,
  142 + 6003F594195388D20070C39A /* Supporting Files */,
  143 + );
  144 + name = "Example for CNLiveCommonClass";
  145 + path = CNLiveCommonClass;
  146 + sourceTree = "<group>";
  147 + };
  148 + 6003F594195388D20070C39A /* Supporting Files */ = {
  149 + isa = PBXGroup;
  150 + children = (
  151 + 6003F595195388D20070C39A /* CNLiveCommonClass-Info.plist */,
  152 + 6003F596195388D20070C39A /* InfoPlist.strings */,
  153 + 6003F599195388D20070C39A /* main.m */,
  154 + 6003F59B195388D20070C39A /* CNLiveCommonClass-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 + 43F22143B4C4B0C1F27A448D /* CNLiveCommonClass.podspec */,
  182 + 98AD523CC94208D0E76C048F /* README.md */,
  183 + 643ACEBB7EEAA965DDBF3C36 /* LICENSE */,
  184 + );
  185 + name = "Podspec Metadata";
  186 + sourceTree = "<group>";
  187 + };
  188 + F1A92244AFB4E03FDED060DA /* Pods */ = {
  189 + isa = PBXGroup;
  190 + children = (
  191 + E4AAE2F254E3CE24480BA15C /* Pods-CNLiveCommonClass_Example.debug.xcconfig */,
  192 + 47CC85EAC36A613AF71913B7 /* Pods-CNLiveCommonClass_Example.release.xcconfig */,
  193 + 82056CEF9A35B980EFE3AF15 /* Pods-CNLiveCommonClass_Tests.debug.xcconfig */,
  194 + 006DE7B0EF163D72D489AB79 /* Pods-CNLiveCommonClass_Tests.release.xcconfig */,
  195 + );
  196 + name = Pods;
  197 + sourceTree = "<group>";
  198 + };
  199 +/* End PBXGroup section */
  200 +
  201 +/* Begin PBXNativeTarget section */
  202 + 6003F589195388D20070C39A /* CNLiveCommonClass_Example */ = {
  203 + isa = PBXNativeTarget;
  204 + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveCommonClass_Example" */;
  205 + buildPhases = (
  206 + 6DB17054777BD2D9867A894C /* [CP] Check Pods Manifest.lock */,
  207 + 6003F586195388D20070C39A /* Sources */,
  208 + 6003F587195388D20070C39A /* Frameworks */,
  209 + 6003F588195388D20070C39A /* Resources */,
  210 + F1F83855E8203B8E8D567328 /* [CP] Embed Pods Frameworks */,
  211 + );
  212 + buildRules = (
  213 + );
  214 + dependencies = (
  215 + );
  216 + name = CNLiveCommonClass_Example;
  217 + productName = CNLiveCommonClass;
  218 + productReference = 6003F58A195388D20070C39A /* CNLiveCommonClass_Example.app */;
  219 + productType = "com.apple.product-type.application";
  220 + };
  221 + 6003F5AD195388D20070C39A /* CNLiveCommonClass_Tests */ = {
  222 + isa = PBXNativeTarget;
  223 + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveCommonClass_Tests" */;
  224 + buildPhases = (
  225 + E35792F8BE9EC998FC698EF8 /* [CP] Check Pods Manifest.lock */,
  226 + 6003F5AA195388D20070C39A /* Sources */,
  227 + 6003F5AB195388D20070C39A /* Frameworks */,
  228 + 6003F5AC195388D20070C39A /* Resources */,
  229 + );
  230 + buildRules = (
  231 + );
  232 + dependencies = (
  233 + 6003F5B4195388D20070C39A /* PBXTargetDependency */,
  234 + );
  235 + name = CNLiveCommonClass_Tests;
  236 + productName = CNLiveCommonClassTests;
  237 + productReference = 6003F5AE195388D20070C39A /* CNLiveCommonClass_Tests.xctest */;
  238 + productType = "com.apple.product-type.bundle.unit-test";
  239 + };
  240 +/* End PBXNativeTarget section */
  241 +
  242 +/* Begin PBXProject section */
  243 + 6003F582195388D10070C39A /* Project object */ = {
  244 + isa = PBXProject;
  245 + attributes = {
  246 + CLASSPREFIX = CNLive;
  247 + LastUpgradeCheck = 0720;
  248 + ORGANIZATIONNAME = "153993236@qq.com";
  249 + TargetAttributes = {
  250 + 6003F589195388D20070C39A = {
  251 + DevelopmentTeam = 94X49GG3ZW;
  252 + };
  253 + 6003F5AD195388D20070C39A = {
  254 + TestTargetID = 6003F589195388D20070C39A;
  255 + };
  256 + };
  257 + };
  258 + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveCommonClass" */;
  259 + compatibilityVersion = "Xcode 3.2";
  260 + developmentRegion = English;
  261 + hasScannedForEncodings = 0;
  262 + knownRegions = (
  263 + en,
  264 + Base,
  265 + );
  266 + mainGroup = 6003F581195388D10070C39A;
  267 + productRefGroup = 6003F58B195388D20070C39A /* Products */;
  268 + projectDirPath = "";
  269 + projectRoot = "";
  270 + targets = (
  271 + 6003F589195388D20070C39A /* CNLiveCommonClass_Example */,
  272 + 6003F5AD195388D20070C39A /* CNLiveCommonClass_Tests */,
  273 + );
  274 + };
  275 +/* End PBXProject section */
  276 +
  277 +/* Begin PBXResourcesBuildPhase section */
  278 + 6003F588195388D20070C39A /* Resources */ = {
  279 + isa = PBXResourcesBuildPhase;
  280 + buildActionMask = 2147483647;
  281 + files = (
  282 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */,
  283 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */,
  284 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */,
  285 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */,
  286 + );
  287 + runOnlyForDeploymentPostprocessing = 0;
  288 + };
  289 + 6003F5AC195388D20070C39A /* Resources */ = {
  290 + isa = PBXResourcesBuildPhase;
  291 + buildActionMask = 2147483647;
  292 + files = (
  293 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */,
  294 + );
  295 + runOnlyForDeploymentPostprocessing = 0;
  296 + };
  297 +/* End PBXResourcesBuildPhase section */
  298 +
  299 +/* Begin PBXShellScriptBuildPhase section */
  300 + 6DB17054777BD2D9867A894C /* [CP] Check Pods Manifest.lock */ = {
  301 + isa = PBXShellScriptBuildPhase;
  302 + buildActionMask = 2147483647;
  303 + files = (
  304 + );
  305 + inputFileListPaths = (
  306 + );
  307 + inputPaths = (
  308 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  309 + "${PODS_ROOT}/Manifest.lock",
  310 + );
  311 + name = "[CP] Check Pods Manifest.lock";
  312 + outputFileListPaths = (
  313 + );
  314 + outputPaths = (
  315 + "$(DERIVED_FILE_DIR)/Pods-CNLiveCommonClass_Example-checkManifestLockResult.txt",
  316 + );
  317 + runOnlyForDeploymentPostprocessing = 0;
  318 + shellPath = /bin/sh;
  319 + 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";
  320 + showEnvVarsInLog = 0;
  321 + };
  322 + E35792F8BE9EC998FC698EF8 /* [CP] Check Pods Manifest.lock */ = {
  323 + isa = PBXShellScriptBuildPhase;
  324 + buildActionMask = 2147483647;
  325 + files = (
  326 + );
  327 + inputFileListPaths = (
  328 + );
  329 + inputPaths = (
  330 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  331 + "${PODS_ROOT}/Manifest.lock",
  332 + );
  333 + name = "[CP] Check Pods Manifest.lock";
  334 + outputFileListPaths = (
  335 + );
  336 + outputPaths = (
  337 + "$(DERIVED_FILE_DIR)/Pods-CNLiveCommonClass_Tests-checkManifestLockResult.txt",
  338 + );
  339 + runOnlyForDeploymentPostprocessing = 0;
  340 + shellPath = /bin/sh;
  341 + 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";
  342 + showEnvVarsInLog = 0;
  343 + };
  344 + F1F83855E8203B8E8D567328 /* [CP] Embed Pods Frameworks */ = {
  345 + isa = PBXShellScriptBuildPhase;
  346 + buildActionMask = 2147483647;
  347 + files = (
  348 + );
  349 + inputFileListPaths = (
  350 + );
  351 + inputPaths = (
  352 + "${SRCROOT}/Pods/Target Support Files/Pods-CNLiveCommonClass_Example/Pods-CNLiveCommonClass_Example-frameworks.sh",
  353 + "${BUILT_PRODUCTS_DIR}/CNLiveCommonClass/CNLiveCommonClass.framework",
  354 + );
  355 + name = "[CP] Embed Pods Frameworks";
  356 + outputFileListPaths = (
  357 + );
  358 + outputPaths = (
  359 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonClass.framework",
  360 + );
  361 + runOnlyForDeploymentPostprocessing = 0;
  362 + shellPath = /bin/sh;
  363 + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CNLiveCommonClass_Example/Pods-CNLiveCommonClass_Example-frameworks.sh\"\n";
  364 + showEnvVarsInLog = 0;
  365 + };
  366 +/* End PBXShellScriptBuildPhase section */
  367 +
  368 +/* Begin PBXSourcesBuildPhase section */
  369 + 6003F586195388D20070C39A /* Sources */ = {
  370 + isa = PBXSourcesBuildPhase;
  371 + buildActionMask = 2147483647;
  372 + files = (
  373 + 6003F59E195388D20070C39A /* CNLiveAppDelegate.m in Sources */,
  374 + 6003F5A7195388D20070C39A /* CNLiveViewController.m in Sources */,
  375 + 6003F59A195388D20070C39A /* main.m in Sources */,
  376 + );
  377 + runOnlyForDeploymentPostprocessing = 0;
  378 + };
  379 + 6003F5AA195388D20070C39A /* Sources */ = {
  380 + isa = PBXSourcesBuildPhase;
  381 + buildActionMask = 2147483647;
  382 + files = (
  383 + 6003F5BC195388D20070C39A /* Tests.m in Sources */,
  384 + );
  385 + runOnlyForDeploymentPostprocessing = 0;
  386 + };
  387 +/* End PBXSourcesBuildPhase section */
  388 +
  389 +/* Begin PBXTargetDependency section */
  390 + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = {
  391 + isa = PBXTargetDependency;
  392 + target = 6003F589195388D20070C39A /* CNLiveCommonClass_Example */;
  393 + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */;
  394 + };
  395 +/* End PBXTargetDependency section */
  396 +
  397 +/* Begin PBXVariantGroup section */
  398 + 6003F596195388D20070C39A /* InfoPlist.strings */ = {
  399 + isa = PBXVariantGroup;
  400 + children = (
  401 + 6003F597195388D20070C39A /* en */,
  402 + );
  403 + name = InfoPlist.strings;
  404 + sourceTree = "<group>";
  405 + };
  406 + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = {
  407 + isa = PBXVariantGroup;
  408 + children = (
  409 + 6003F5B9195388D20070C39A /* en */,
  410 + );
  411 + name = InfoPlist.strings;
  412 + sourceTree = "<group>";
  413 + };
  414 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = {
  415 + isa = PBXVariantGroup;
  416 + children = (
  417 + 71719F9E1E33DC2100824A3D /* Base */,
  418 + );
  419 + name = LaunchScreen.storyboard;
  420 + sourceTree = "<group>";
  421 + };
  422 +/* End PBXVariantGroup section */
  423 +
  424 +/* Begin XCBuildConfiguration section */
  425 + 6003F5BD195388D20070C39A /* Debug */ = {
  426 + isa = XCBuildConfiguration;
  427 + buildSettings = {
  428 + ALWAYS_SEARCH_USER_PATHS = NO;
  429 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  430 + CLANG_CXX_LIBRARY = "libc++";
  431 + CLANG_ENABLE_MODULES = YES;
  432 + CLANG_ENABLE_OBJC_ARC = YES;
  433 + CLANG_WARN_BOOL_CONVERSION = YES;
  434 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  435 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  436 + CLANG_WARN_EMPTY_BODY = YES;
  437 + CLANG_WARN_ENUM_CONVERSION = YES;
  438 + CLANG_WARN_INT_CONVERSION = YES;
  439 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  440 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  441 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  442 + COPY_PHASE_STRIP = NO;
  443 + ENABLE_TESTABILITY = YES;
  444 + GCC_C_LANGUAGE_STANDARD = gnu99;
  445 + GCC_DYNAMIC_NO_PIC = NO;
  446 + GCC_OPTIMIZATION_LEVEL = 0;
  447 + GCC_PREPROCESSOR_DEFINITIONS = (
  448 + "DEBUG=1",
  449 + "$(inherited)",
  450 + );
  451 + GCC_SYMBOLS_PRIVATE_EXTERN = NO;
  452 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  453 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  454 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  455 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  456 + GCC_WARN_UNUSED_FUNCTION = YES;
  457 + GCC_WARN_UNUSED_VARIABLE = YES;
  458 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  459 + ONLY_ACTIVE_ARCH = YES;
  460 + SDKROOT = iphoneos;
  461 + TARGETED_DEVICE_FAMILY = "1,2";
  462 + };
  463 + name = Debug;
  464 + };
  465 + 6003F5BE195388D20070C39A /* Release */ = {
  466 + isa = XCBuildConfiguration;
  467 + buildSettings = {
  468 + ALWAYS_SEARCH_USER_PATHS = NO;
  469 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  470 + CLANG_CXX_LIBRARY = "libc++";
  471 + CLANG_ENABLE_MODULES = YES;
  472 + CLANG_ENABLE_OBJC_ARC = YES;
  473 + CLANG_WARN_BOOL_CONVERSION = YES;
  474 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  475 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  476 + CLANG_WARN_EMPTY_BODY = YES;
  477 + CLANG_WARN_ENUM_CONVERSION = YES;
  478 + CLANG_WARN_INT_CONVERSION = YES;
  479 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  480 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  481 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  482 + COPY_PHASE_STRIP = YES;
  483 + ENABLE_NS_ASSERTIONS = NO;
  484 + GCC_C_LANGUAGE_STANDARD = gnu99;
  485 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  486 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  487 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  488 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  489 + GCC_WARN_UNUSED_FUNCTION = YES;
  490 + GCC_WARN_UNUSED_VARIABLE = YES;
  491 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  492 + SDKROOT = iphoneos;
  493 + TARGETED_DEVICE_FAMILY = "1,2";
  494 + VALIDATE_PRODUCT = YES;
  495 + };
  496 + name = Release;
  497 + };
  498 + 6003F5C0195388D20070C39A /* Debug */ = {
  499 + isa = XCBuildConfiguration;
  500 + baseConfigurationReference = E4AAE2F254E3CE24480BA15C /* Pods-CNLiveCommonClass_Example.debug.xcconfig */;
  501 + buildSettings = {
  502 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  503 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  504 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  505 + GCC_PREFIX_HEADER = "CNLiveCommonClass/CNLiveCommonClass-Prefix.pch";
  506 + INFOPLIST_FILE = "CNLiveCommonClass/CNLiveCommonClass-Info.plist";
  507 + MODULE_NAME = ExampleApp;
  508 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  509 + PRODUCT_NAME = "$(TARGET_NAME)";
  510 + WRAPPER_EXTENSION = app;
  511 + };
  512 + name = Debug;
  513 + };
  514 + 6003F5C1195388D20070C39A /* Release */ = {
  515 + isa = XCBuildConfiguration;
  516 + baseConfigurationReference = 47CC85EAC36A613AF71913B7 /* Pods-CNLiveCommonClass_Example.release.xcconfig */;
  517 + buildSettings = {
  518 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  519 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  520 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  521 + GCC_PREFIX_HEADER = "CNLiveCommonClass/CNLiveCommonClass-Prefix.pch";
  522 + INFOPLIST_FILE = "CNLiveCommonClass/CNLiveCommonClass-Info.plist";
  523 + MODULE_NAME = ExampleApp;
  524 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  525 + PRODUCT_NAME = "$(TARGET_NAME)";
  526 + WRAPPER_EXTENSION = app;
  527 + };
  528 + name = Release;
  529 + };
  530 + 6003F5C3195388D20070C39A /* Debug */ = {
  531 + isa = XCBuildConfiguration;
  532 + baseConfigurationReference = 82056CEF9A35B980EFE3AF15 /* Pods-CNLiveCommonClass_Tests.debug.xcconfig */;
  533 + buildSettings = {
  534 + BUNDLE_LOADER = "$(TEST_HOST)";
  535 + FRAMEWORK_SEARCH_PATHS = (
  536 + "$(SDKROOT)/Developer/Library/Frameworks",
  537 + "$(inherited)",
  538 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  539 + );
  540 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  541 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  542 + GCC_PREPROCESSOR_DEFINITIONS = (
  543 + "DEBUG=1",
  544 + "$(inherited)",
  545 + );
  546 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  547 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  548 + PRODUCT_NAME = "$(TARGET_NAME)";
  549 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveCommonClass_Example.app/CNLiveCommonClass_Example";
  550 + WRAPPER_EXTENSION = xctest;
  551 + };
  552 + name = Debug;
  553 + };
  554 + 6003F5C4195388D20070C39A /* Release */ = {
  555 + isa = XCBuildConfiguration;
  556 + baseConfigurationReference = 006DE7B0EF163D72D489AB79 /* Pods-CNLiveCommonClass_Tests.release.xcconfig */;
  557 + buildSettings = {
  558 + BUNDLE_LOADER = "$(TEST_HOST)";
  559 + FRAMEWORK_SEARCH_PATHS = (
  560 + "$(SDKROOT)/Developer/Library/Frameworks",
  561 + "$(inherited)",
  562 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  563 + );
  564 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  565 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  566 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  567 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  568 + PRODUCT_NAME = "$(TARGET_NAME)";
  569 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveCommonClass_Example.app/CNLiveCommonClass_Example";
  570 + WRAPPER_EXTENSION = xctest;
  571 + };
  572 + name = Release;
  573 + };
  574 +/* End XCBuildConfiguration section */
  575 +
  576 +/* Begin XCConfigurationList section */
  577 + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveCommonClass" */ = {
  578 + isa = XCConfigurationList;
  579 + buildConfigurations = (
  580 + 6003F5BD195388D20070C39A /* Debug */,
  581 + 6003F5BE195388D20070C39A /* Release */,
  582 + );
  583 + defaultConfigurationIsVisible = 0;
  584 + defaultConfigurationName = Release;
  585 + };
  586 + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveCommonClass_Example" */ = {
  587 + isa = XCConfigurationList;
  588 + buildConfigurations = (
  589 + 6003F5C0195388D20070C39A /* Debug */,
  590 + 6003F5C1195388D20070C39A /* Release */,
  591 + );
  592 + defaultConfigurationIsVisible = 0;
  593 + defaultConfigurationName = Release;
  594 + };
  595 + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveCommonClass_Tests" */ = {
  596 + isa = XCConfigurationList;
  597 + buildConfigurations = (
  598 + 6003F5C3195388D20070C39A /* Debug */,
  599 + 6003F5C4195388D20070C39A /* Release */,
  600 + );
  601 + defaultConfigurationIsVisible = 0;
  602 + defaultConfigurationName = Release;
  603 + };
  604 +/* End XCConfigurationList section */
  605 + };
  606 + rootObject = 6003F582195388D10070C39A /* Project object */;
  607 +}
... ...
Example/CNLiveCommonClass.xcodeproj/xcshareddata/xcschemes/CNLiveCommonClass-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 = "CNLiveCommonClass_Example.app"
  19 + BlueprintName = "CNLiveCommonClass_Example"
  20 + ReferencedContainer = "container:CNLiveCommonClass.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 = "CNLiveCommonClass_Tests.xctest"
  37 + BlueprintName = "CNLiveCommonClass_Tests"
  38 + ReferencedContainer = "container:CNLiveCommonClass.xcodeproj">
  39 + </BuildableReference>
  40 + </TestableReference>
  41 + </Testables>
  42 + <MacroExpansion>
  43 + <BuildableReference
  44 + BuildableIdentifier = "primary"
  45 + BlueprintIdentifier = "6003F589195388D20070C39A"
  46 + BuildableName = "CNLiveCommonClass_Example.app"
  47 + BlueprintName = "CNLiveCommonClass_Example"
  48 + ReferencedContainer = "container:CNLiveCommonClass.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 = "CNLiveCommonClass_Example.app"
  70 + BlueprintName = "CNLiveCommonClass_Example"
  71 + ReferencedContainer = "container:CNLiveCommonClass.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 = "CNLiveCommonClass_Example.app"
  89 + BlueprintName = "CNLiveCommonClass_Example"
  90 + ReferencedContainer = "container:CNLiveCommonClass.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/CNLiveCommonClass/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/CNLiveCommonClass/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="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="whP-gf-Uak">
  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="wQg-tq-qST">
  14 + <objects>
  15 + <viewController id="whP-gf-Uak" customClass="CNLiveViewController" sceneMemberID="viewController">
  16 + <layoutGuides>
  17 + <viewControllerLayoutGuide type="top" id="uEw-UM-LJ8"/>
  18 + <viewControllerLayoutGuide type="bottom" id="Mvr-aV-6Um"/>
  19 + </layoutGuides>
  20 + <view key="view" contentMode="scaleToFill" id="TpU-gO-2f1">
  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="tc2-Qw-aMS" userLabel="First Responder" sceneMemberID="firstResponder"/>
  27 + </objects>
  28 + <point key="canvasLocation" x="305" y="433"/>
  29 + </scene>
  30 + </scenes>
  31 +</document>
... ...
Example/CNLiveCommonClass/CNLiveAppDelegate.h 0 → 100644
  1 +//
  2 +// CNLiveAppDelegate.h
  3 +// CNLiveCommonClass
  4 +//
  5 +// Created by 153993236@qq.com on 04/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +
  11 +@interface CNLiveAppDelegate : UIResponder <UIApplicationDelegate>
  12 +
  13 +@property (strong, nonatomic) UIWindow *window;
  14 +
  15 +@end
... ...
Example/CNLiveCommonClass/CNLiveAppDelegate.m 0 → 100644
  1 +//
  2 +// CNLiveAppDelegate.m
  3 +// CNLiveCommonClass
  4 +//
  5 +// Created by 153993236@qq.com on 04/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLiveAppDelegate.h"
  10 +
  11 +@implementation CNLiveAppDelegate
  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/CNLiveCommonClass/CNLiveCommonClass-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/CNLiveCommonClass/CNLiveCommonClass-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/CNLiveCommonClass/CNLiveViewController.h 0 → 100644
  1 +//
  2 +// CNLiveViewController.h
  3 +// CNLiveCommonClass
  4 +//
  5 +// Created by 153993236@qq.com on 04/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +
  11 +@interface CNLiveViewController : UIViewController
  12 +
  13 +@end
... ...
Example/CNLiveCommonClass/CNLiveViewController.m 0 → 100644
  1 +//
  2 +// CNLiveViewController.m
  3 +// CNLiveCommonClass
  4 +//
  5 +// Created by 153993236@qq.com on 04/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLiveViewController.h"
  10 +
  11 +@interface CNLiveViewController ()
  12 +
  13 +@end
  14 +
  15 +@implementation CNLiveViewController
  16 +
  17 +- (void)viewDidLoad
  18 +{
  19 + [super viewDidLoad];
  20 + // Do any additional setup after loading the view, typically from a nib.
  21 +}
  22 +
  23 +- (void)didReceiveMemoryWarning
  24 +{
  25 + [super didReceiveMemoryWarning];
  26 + // Dispose of any resources that can be recreated.
  27 +}
  28 +
  29 +@end
... ...
Example/CNLiveCommonClass/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/CNLiveCommonClass/en.lproj/InfoPlist.strings 0 → 100644
  1 +/* Localized versions of Info.plist keys */
  2 +
... ...
Example/CNLiveCommonClass/main.m 0 → 100644
  1 +//
  2 +// main.m
  3 +// CNLiveCommonClass
  4 +//
  5 +// Created by 153993236@qq.com on 04/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +#import "CNLiveAppDelegate.h"
  11 +
  12 +int main(int argc, char * argv[])
  13 +{
  14 + @autoreleasepool {
  15 + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLiveAppDelegate class]));
  16 + }
  17 +}
... ...
Example/Podfile 0 → 100644
  1 +use_frameworks!
  2 +
  3 +platform :ios, '8.0'
  4 +
  5 +target 'CNLiveCommonClass_Example' do
  6 + pod 'CNLiveCommonClass', :path => '../'
  7 +
  8 + target 'CNLiveCommonClass_Tests' do
  9 + inherit! :search_paths
  10 +
  11 +
  12 + end
  13 +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 +// CNLiveCommonClassTests.m
  3 +// CNLiveCommonClassTests
  4 +//
  5 +// Created by 153993236@qq.com on 04/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. 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 +
... ...
  1 +Copyright (c) 2019 153993236@qq.com <zhangxiaowen@cnlive.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.md
  1 +# CNLiveCommonClass
  2 +
  3 +[![CI Status](https://img.shields.io/travis/153993236@qq.com/CNLiveCommonClass.svg?style=flat)](https://travis-ci.org/153993236@qq.com/CNLiveCommonClass)
  4 +[![Version](https://img.shields.io/cocoapods/v/CNLiveCommonClass.svg?style=flat)](https://cocoapods.org/pods/CNLiveCommonClass)
  5 +[![License](https://img.shields.io/cocoapods/l/CNLiveCommonClass.svg?style=flat)](https://cocoapods.org/pods/CNLiveCommonClass)
  6 +[![Platform](https://img.shields.io/cocoapods/p/CNLiveCommonClass.svg?style=flat)](https://cocoapods.org/pods/CNLiveCommonClass)
  7 +
  8 +## Example
  9 +
  10 +To run the example project, clone the repo, and run `pod install` from the Example directory first.
  11 +
  12 +## Requirements
  13 +
  14 +## Installation
  15 +
  16 +CNLiveCommonClass is available through [CocoaPods](https://cocoapods.org). To install
  17 +it, simply add the following line to your Podfile:
  18 +
  19 +```ruby
  20 +pod 'CNLiveCommonClass'
  21 +```
  22 +
  23 +## Author
  24 +
  25 +153993236@qq.com, zhangxiaowen@cnlive.com
  26 +
  27 +## License
  28 +
  29 +CNLiveCommonClass is available under the MIT license. See the LICENSE file for more info.
... ...
_Pods.xcodeproj 0 → 120000
  1 +Example/Pods/Pods.xcodeproj
0 2 \ No newline at end of file
... ...