Commit 36560a7fe915dbd2687557ad0759d6c7de2d7d52
1 parent
4523110a
no message
Showing
30 changed files
with
1619 additions
and
1 deletions
CNLiveBaseClass.podspec
0 → 100644
| 1 | +# | |
| 2 | +# Be sure to run `pod lib lint CNLiveBaseClass.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 = 'CNLiveBaseClass' | |
| 11 | + s.version = '0.0.1' | |
| 12 | + s.summary = 'CNLiveBaseClass' | |
| 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: 网家家-基类. | |
| 22 | + DESC | |
| 23 | + | |
| 24 | + s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBaseClass' | |
| 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/CNLiveBaseClass.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 = 'CNLiveBaseClass/Classes/**/*' | |
| 34 | + | |
| 35 | + # Controller | |
| 36 | + s.subspec 'Controller' do |ss| | |
| 37 | + ss.source_files = 'CNLiveBaseClass/Classes/Controller/*' | |
| 38 | + ss.dependency 'CNLiveTripartiteManagement/WebViewJavascriptBridge' | |
| 39 | + # 自定义控件 | |
| 40 | + ss.dependency 'CNLiveCustomControl' | |
| 41 | + end | |
| 42 | + | |
| 43 | + # s.resource_bundles = { | |
| 44 | + # 'CNLiveBaseClass' => ['CNLiveBaseClass/Assets/*.png'] | |
| 45 | + # } | |
| 46 | + | |
| 47 | + # s.public_header_files = 'Pod/Classes/**/*.h' | |
| 48 | + # s.frameworks = 'UIKit', 'MapKit' | |
| 49 | + # s.dependency 'AFNetworking', '~> 2.3' | |
| 50 | + | |
| 51 | +end | ... | ... |
CNLiveBaseClass/Assets/.gitkeep
0 → 100644
CNLiveBaseClass/Classes/.gitkeep
0 → 100644
CNLiveBaseClass/Classes/Controller/CNLiveBaseViewController.h
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveBaseViewController.h | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive-zxw on 2019/12/13. | |
| 6 | +// Copyright © 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface CNLiveBaseViewController : UIViewController | |
| 14 | +// 是否隐藏导航栏 | |
| 15 | +@property (nonatomic, assign) BOOL navigationHidden; | |
| 16 | + | |
| 17 | +// 是否开启侧滑返回手势 | |
| 18 | +@property (nonatomic, assign) BOOL interactive; | |
| 19 | + | |
| 20 | +// 子类重写添加子视图方法 | |
| 21 | +- (void)createSubViews; | |
| 22 | + | |
| 23 | +@end | |
| 24 | + | |
| 25 | +NS_ASSUME_NONNULL_END | ... | ... |
CNLiveBaseClass/Classes/Controller/CNLiveBaseViewController.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveBaseViewController.m | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive-zxw on 2019/12/13. | |
| 6 | +// Copyright © 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNLiveBaseViewController.h" | |
| 10 | +#import "CNLiveNavigationBar.h" | |
| 11 | + | |
| 12 | +@interface CNLiveBaseViewController () | |
| 13 | +@property (nonatomic, strong) CNLiveNavigationBar *navigationBar; | |
| 14 | + | |
| 15 | +@end | |
| 16 | + | |
| 17 | +@implementation CNLiveBaseViewController | |
| 18 | +#pragma mark - 生命周期 | |
| 19 | +- (void)viewWillAppear:(BOOL)animated { | |
| 20 | + [super viewWillAppear:animated]; | |
| 21 | + self.navigationController.navigationBarHidden = YES; | |
| 22 | +} | |
| 23 | + | |
| 24 | +- (void)viewDidAppear:(BOOL)animated { | |
| 25 | + [super viewDidAppear:animated]; | |
| 26 | + // 禁止页面左侧滑动返回,注意,如果仅仅需要禁止此单个页面返回,还需要在viewWillDisapper下开放侧滑权限 | |
| 27 | + // 禁用返回手势 | |
| 28 | + if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRecognizer)]) { | |
| 29 | + self.navigationController.interactivePopGestureRecognizer.enabled = self.interactive; | |
| 30 | + } | |
| 31 | + | |
| 32 | +} | |
| 33 | + | |
| 34 | +- (void)viewDidLoad { | |
| 35 | + [super viewDidLoad]; | |
| 36 | + // Do any additional setup after loading the view. | |
| 37 | + self.view.backgroundColor = [UIColor whiteColor]; | |
| 38 | + self.automaticallyAdjustsScrollViewInsets = NO; | |
| 39 | + [self createSubViews]; | |
| 40 | +} | |
| 41 | + | |
| 42 | +#pragma mark - UI | |
| 43 | +- (void)createSubViews{ | |
| 44 | + [self.view addSubview:self.navigationBar]; | |
| 45 | +} | |
| 46 | + | |
| 47 | +#pragma mark - Setter方法 | |
| 48 | +- (void)setTitle:(NSString *)title{ | |
| 49 | + [super setTitle:title]; | |
| 50 | + self.navigationBar.title.text = title; | |
| 51 | +} | |
| 52 | + | |
| 53 | +- (void)setNavigationHidden:(BOOL)navigationHidden{ | |
| 54 | + _navigationHidden = navigationHidden; | |
| 55 | + _navigationBar.hidden = navigationHidden; | |
| 56 | +} | |
| 57 | + | |
| 58 | +/* | |
| 59 | +#pragma mark - Navigation | |
| 60 | + | |
| 61 | +// In a storyboard-based application, you will often want to do a little preparation before navigation | |
| 62 | +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { | |
| 63 | + // Get the new view controller using [segue destinationViewController]. | |
| 64 | + // Pass the selected object to the new view controller. | |
| 65 | +} | |
| 66 | +*/ | |
| 67 | +#pragma mark - 响应方法 | |
| 68 | +- (void)goBack { | |
| 69 | + if (self.presentingViewController != nil) { | |
| 70 | + [self dismissViewControllerAnimated:YES completion:nil]; | |
| 71 | + } | |
| 72 | + else { | |
| 73 | + [self.navigationController popViewControllerAnimated:YES]; | |
| 74 | + } | |
| 75 | +} | |
| 76 | + | |
| 77 | +#pragma mark - 懒加载 | |
| 78 | +- (CNLiveNavigationBar *)navigationBar { | |
| 79 | + if (!_navigationBar) { | |
| 80 | + _navigationBar = [CNLiveNavigationBar navigationBar]; | |
| 81 | + _navigationBar.title.text = self.title; | |
| 82 | + __weak typeof(self) weakSelf = self; | |
| 83 | + _navigationBar.onClickLeftButton = ^{ | |
| 84 | + __strong typeof(weakSelf) strongSelf = weakSelf; | |
| 85 | + if(!strongSelf) return ; | |
| 86 | + [strongSelf goBack]; | |
| 87 | + }; | |
| 88 | + } | |
| 89 | + return _navigationBar; | |
| 90 | +} | |
| 91 | + | |
| 92 | +@end | ... | ... |
CNLiveBaseClass/Classes/Controller/CNLiveBaseWebViewController.h
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveBaseWebViewController.h | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive-zxw on 2019/12/7. | |
| 6 | +// Copyright © 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +/* | |
| 10 | + * 没有交互的WebView | |
| 11 | + */ | |
| 12 | + | |
| 13 | +#import "CNLiveBaseViewController.h" | |
| 14 | + | |
| 15 | +NS_ASSUME_NONNULL_BEGIN | |
| 16 | +@class CNLiveWebView; | |
| 17 | + | |
| 18 | +@interface CNLiveBaseWebViewController : CNLiveBaseViewController | |
| 19 | +@property (nonatomic, strong) CNLiveWebView *webView; | |
| 20 | +@property (nonatomic, copy) NSString *url; | |
| 21 | + | |
| 22 | +- (instancetype)initWithUrl:(NSString *)url; | |
| 23 | +- (instancetype)initWithUrl:(NSString *)url title:(nullable NSString *)title; | |
| 24 | +- (instancetype)initWithUrl:(NSString *)url title:(nullable NSString *)title closeHidden:(BOOL)closeHidden; | |
| 25 | + | |
| 26 | +- (instancetype)init NS_UNAVAILABLE; | |
| 27 | ++ (instancetype)new NS_UNAVAILABLE; | |
| 28 | + | |
| 29 | +@end | |
| 30 | + | |
| 31 | +NS_ASSUME_NONNULL_END | ... | ... |
CNLiveBaseClass/Classes/Controller/CNLiveBaseWebViewController.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveBaseWebViewController.m | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive-zxw on 2019/12/7. | |
| 6 | +// Copyright © 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNLiveBaseWebViewController.h" | |
| 10 | +#import <WebKit/WebKit.h> | |
| 11 | +#import "QMUIKit.h" | |
| 12 | +#import "CNLiveCategory.h" | |
| 13 | +#import "CNLiveWebView.h" | |
| 14 | +#import "CNLiveNavigationBar.h" | |
| 15 | + | |
| 16 | +@interface CNLiveBaseWebViewController ()<CNLiveWebViewDelegate> | |
| 17 | +@property (nonatomic, strong) UIButton *closeBtn; | |
| 18 | +@property (nonatomic, assign) BOOL closeHidden; | |
| 19 | + | |
| 20 | +@end | |
| 21 | + | |
| 22 | +@implementation CNLiveBaseWebViewController | |
| 23 | +static const NSInteger margin = 10; | |
| 24 | + | |
| 25 | +#pragma mark - 初始化 | |
| 26 | +- (instancetype)initWithUrl:(NSString *)url{ | |
| 27 | + return [self initWithUrl:url title:@"" closeHidden:YES]; | |
| 28 | +} | |
| 29 | +- (instancetype)initWithUrl:(NSString *)url title:(nullable NSString *)title{ | |
| 30 | + return [self initWithUrl:url title:title closeHidden:YES]; | |
| 31 | +} | |
| 32 | +- (instancetype)initWithUrl:(NSString *)url title:(nullable NSString *)title closeHidden:(BOOL)closeHidden { | |
| 33 | + self = [super init]; | |
| 34 | + if (self) { | |
| 35 | + self.url = url; | |
| 36 | + self.title = title; | |
| 37 | + self.closeHidden = closeHidden; | |
| 38 | + } | |
| 39 | + return self; | |
| 40 | +} | |
| 41 | + | |
| 42 | +#pragma mark - Setter方法 | |
| 43 | +- (void)setUrl:(NSString *)url{ | |
| 44 | + if(!url||[url isEqualToString:@""]) return; | |
| 45 | + _url = url; | |
| 46 | +} | |
| 47 | + | |
| 48 | +- (NSString *)editHtml:(NSString *)url{ | |
| 49 | + return [NSString stringWithFormat:@"<div style=\"font-size:45px\">%@</div>",url]; | |
| 50 | +} | |
| 51 | + | |
| 52 | +#pragma mark - 生命周期 | |
| 53 | +- (void)viewDidLoad { | |
| 54 | + [super viewDidLoad]; | |
| 55 | + if ([_url hasPrefix:@"http://"]||[_url hasPrefix:@"https://"]) { | |
| 56 | + NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:_url] cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:10.0]; | |
| 57 | + [self.webView loadRequest:request]; | |
| 58 | + | |
| 59 | + } else { | |
| 60 | + [self.webView loadHTMLString:[self editHtml:_url]]; | |
| 61 | + } | |
| 62 | +} | |
| 63 | + | |
| 64 | +- (void)createSubViews { | |
| 65 | + [super createSubViews]; | |
| 66 | + if(!self.closeHidden&&!self.navigationHidden){ | |
| 67 | + [self.view addSubview:self.closeBtn]; | |
| 68 | + } | |
| 69 | + [self.view addSubview:self.webView]; | |
| 70 | +} | |
| 71 | + | |
| 72 | +#pragma mark - CNLiveWebViewDelegate | |
| 73 | +- (void)webView:(CNLiveWebView *)webView didFinishLoadWithURL:(NSURL *)url { | |
| 74 | + NSLog(@"CNLiveBaseWebViewController - didFinishLoad"); | |
| 75 | + if(self.title.length == 0){ | |
| 76 | + self.title = webView.title; | |
| 77 | + } | |
| 78 | +} | |
| 79 | + | |
| 80 | +- (void)webView:(CNLiveWebView *)webView didFailLoadWithError:(NSError *)error{ | |
| 81 | + | |
| 82 | +} | |
| 83 | + | |
| 84 | +#pragma mark - 响应方法 | |
| 85 | +//回退goBack | |
| 86 | +- (void)goBack { | |
| 87 | + if ([self.webView canGoBack]) { | |
| 88 | + [self.webView goBack]; | |
| 89 | + } | |
| 90 | + else { | |
| 91 | + [self closeDidClicked]; | |
| 92 | + } | |
| 93 | +} | |
| 94 | + | |
| 95 | +//关闭pop | |
| 96 | +- (void)closeDidClicked { | |
| 97 | + if (self.presentingViewController != nil) { | |
| 98 | + [self dismissViewControllerAnimated:YES completion:nil]; | |
| 99 | + } | |
| 100 | + else { | |
| 101 | + [self.navigationController popViewControllerAnimated:YES]; | |
| 102 | + } | |
| 103 | +} | |
| 104 | + | |
| 105 | +/* | |
| 106 | +#pragma mark - Navigation | |
| 107 | + | |
| 108 | +// In a storyboard-based application, you will often want to do a little preparation before navigation | |
| 109 | +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { | |
| 110 | + // Get the new view controller using [segue destinationViewController]. | |
| 111 | + // Pass the selected object to the new view controller. | |
| 112 | +} | |
| 113 | +*/ | |
| 114 | + | |
| 115 | +#pragma mark - 懒加载 | |
| 116 | +- (UIButton *)closeBtn{ | |
| 117 | + if(!_closeBtn){ | |
| 118 | + _closeBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | |
| 119 | + _closeBtn.adjustsImageWhenHighlighted = NO; | |
| 120 | + _closeBtn.frame = CGRectMake(NavigationBarHeight+margin, StatusBarHeight, NavigationBarHeight, NavigationBarHeight); | |
| 121 | + UIImage *image = [self getImageWithImageName:@"cnlive_black_close" bundleName:@"CNLiveCustomControl" targetClass:[CNLiveNavigationBar class]]; | |
| 122 | + [_closeBtn setImage:[image imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal]; | |
| 123 | + [_closeBtn addTarget:self action:@selector(closeDidClicked) forControlEvents:UIControlEventTouchUpInside]; | |
| 124 | + [_closeBtn setContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft]; | |
| 125 | + _closeBtn.hidden = self.closeHidden; | |
| 126 | + } | |
| 127 | + return _closeBtn; | |
| 128 | +} | |
| 129 | + | |
| 130 | +- (CNLiveWebView *)webView{ | |
| 131 | + if(!_webView){ | |
| 132 | + _webView = [CNLiveWebView webViewWithFrame:CGRectMake(0, NavigationContentTop, SCREEN_WIDTH, SCREEN_HEIGHT-NavigationContentTop)]; | |
| 133 | + _webView.delegate = self; | |
| 134 | + } | |
| 135 | + return _webView; | |
| 136 | +} | |
| 137 | + | |
| 138 | +@end | ... | ... |
CNLiveBaseClass/Classes/Controller/CNLiveInteractionWebController.h
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveInteractionWebController.h | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive-zxw on 2019/12/14. | |
| 6 | +// Copyright © 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +/* | |
| 10 | + * 有交互的WebView | |
| 11 | + */ | |
| 12 | + | |
| 13 | +#import "CNLiveBaseWebViewController.h" | |
| 14 | + | |
| 15 | +NS_ASSUME_NONNULL_BEGIN | |
| 16 | +@class WKWebViewJavascriptBridge; | |
| 17 | + | |
| 18 | +@interface CNLiveInteractionWebController : CNLiveBaseWebViewController | |
| 19 | +@property (nonatomic, strong) WKWebViewJavascriptBridge *bridge; | |
| 20 | + | |
| 21 | +/* | |
| 22 | + 注意:初始化方法 | |
| 23 | + - (instancetype)initWithUrl:(NSString *)url; | |
| 24 | + - (instancetype)initWithUrl:(NSString *)url title:(nullable NSString *)title; | |
| 25 | + - (instancetype)initWithUrl:(NSString *)url title:(nullable NSString *)title closeHidden:(BOOL)closeHidden; | |
| 26 | + */ | |
| 27 | + | |
| 28 | + | |
| 29 | +/* | |
| 30 | + * 子类重写添加交互方法 | |
| 31 | + */ | |
| 32 | +- (void)interaction; | |
| 33 | + | |
| 34 | +@end | |
| 35 | + | |
| 36 | +NS_ASSUME_NONNULL_END | ... | ... |
CNLiveBaseClass/Classes/Controller/CNLiveInteractionWebController.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveInteractionWebController.m | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by CNLive-zxw on 2019/12/14. | |
| 6 | +// Copyright © 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNLiveInteractionWebController.h" | |
| 10 | +#import "WKWebViewJavascriptBridge.h" | |
| 11 | +#import "CNLiveWebView.h" | |
| 12 | + | |
| 13 | +@interface CNLiveInteractionWebController () | |
| 14 | + | |
| 15 | +@end | |
| 16 | + | |
| 17 | +@implementation CNLiveInteractionWebController | |
| 18 | + | |
| 19 | +- (void)createSubViews { | |
| 20 | + [super createSubViews]; | |
| 21 | + [self interaction]; | |
| 22 | +} | |
| 23 | + | |
| 24 | +- (void)interaction { | |
| 25 | + [WKWebViewJavascriptBridge enableLogging]; | |
| 26 | + self.bridge = [WKWebViewJavascriptBridge bridgeForWebView:self.webView.wkWebView]; | |
| 27 | + [self.bridge setWebViewDelegate:self.webView]; | |
| 28 | +} | |
| 29 | + | |
| 30 | +#pragma mark - CNLiveWebViewDelegate | |
| 31 | +- (void)webView:(CNLiveWebView *)webView didFinishLoadWithURL:(NSURL *)url { | |
| 32 | + NSLog(@"CNLiveWebInteractionController - didFinishLoad"); | |
| 33 | + if(self.title.length == 0){ | |
| 34 | + self.title = webView.title; | |
| 35 | + } | |
| 36 | + | |
| 37 | +} | |
| 38 | + | |
| 39 | +- (void)webView:(CNLiveWebView *)webView didFailLoadWithError:(NSError *)error{ | |
| 40 | + | |
| 41 | +} | |
| 42 | + | |
| 43 | +/* | |
| 44 | +#pragma mark - Navigation | |
| 45 | + | |
| 46 | +// In a storyboard-based application, you will often want to do a little preparation before navigation | |
| 47 | +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { | |
| 48 | + // Get the new view controller using [segue destinationViewController]. | |
| 49 | + // Pass the selected object to the new view controller. | |
| 50 | +} | |
| 51 | +*/ | |
| 52 | + | |
| 53 | +@end | ... | ... |
Example/CNLiveBaseClass.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 | + 258A9A2FCB6B833081C45B68 /* Pods_CNLiveBaseClass_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B531753995D15606DEA4CA49 /* Pods_CNLiveBaseClass_Example.framework */; }; | |
| 11 | + 34D67914388EEBA34DFD6190 /* Pods_CNLiveBaseClass_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 767722B1346CB4E5E2A8E753 /* Pods_CNLiveBaseClass_Tests.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 = CNLiveBaseClass; | |
| 36 | + }; | |
| 37 | +/* End PBXContainerItemProxy section */ | |
| 38 | + | |
| 39 | +/* Begin PBXFileReference section */ | |
| 40 | + 09E91188CC74D4EA694B3A4D /* Pods-CNLiveBaseClass_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBaseClass_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveBaseClass_Tests/Pods-CNLiveBaseClass_Tests.debug.xcconfig"; sourceTree = "<group>"; }; | |
| 41 | + 5A9CD77D60E951A0D14EC174 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; }; | |
| 42 | + 6003F58A195388D20070C39A /* CNLiveBaseClass_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveBaseClass_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 43 | + 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | |
| 44 | + 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | |
| 45 | + 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | |
| 46 | + 6003F595195388D20070C39A /* CNLiveBaseClass-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveBaseClass-Info.plist"; sourceTree = "<group>"; }; | |
| 47 | + 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | |
| 48 | + 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | |
| 49 | + 6003F59B195388D20070C39A /* CNLiveBaseClass-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveBaseClass-Prefix.pch"; sourceTree = "<group>"; }; | |
| 50 | + 6003F59C195388D20070C39A /* CNLIVEAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLIVEAppDelegate.h; sourceTree = "<group>"; }; | |
| 51 | + 6003F59D195388D20070C39A /* CNLIVEAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLIVEAppDelegate.m; sourceTree = "<group>"; }; | |
| 52 | + 6003F5A5195388D20070C39A /* CNLIVEViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLIVEViewController.h; sourceTree = "<group>"; }; | |
| 53 | + 6003F5A6195388D20070C39A /* CNLIVEViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLIVEViewController.m; sourceTree = "<group>"; }; | |
| 54 | + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; | |
| 55 | + 6003F5AE195388D20070C39A /* CNLiveBaseClass_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveBaseClass_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 56 | + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; | |
| 57 | + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; }; | |
| 58 | + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | |
| 59 | + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; }; | |
| 60 | + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; }; | |
| 61 | + 6D2B9ED659B6302233C61263 /* Pods-CNLiveBaseClass_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBaseClass_Example.release.xcconfig"; path = "Target Support Files/Pods-CNLiveBaseClass_Example/Pods-CNLiveBaseClass_Example.release.xcconfig"; sourceTree = "<group>"; }; | |
| 62 | + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; | |
| 63 | + 767722B1346CB4E5E2A8E753 /* Pods_CNLiveBaseClass_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveBaseClass_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 64 | + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | |
| 65 | + 8B0F4EFFCF2CD2B856AB792D /* CNLiveBaseClass.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveBaseClass.podspec; path = ../CNLiveBaseClass.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; | |
| 66 | + B531753995D15606DEA4CA49 /* Pods_CNLiveBaseClass_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveBaseClass_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 67 | + BC79DD0DF4C46CA0097C520A /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; }; | |
| 68 | + C311BFEF92D4EA0D0F4D1A52 /* Pods-CNLiveBaseClass_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBaseClass_Example.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveBaseClass_Example/Pods-CNLiveBaseClass_Example.debug.xcconfig"; sourceTree = "<group>"; }; | |
| 69 | + F156641B44762E074FC6F8D8 /* Pods-CNLiveBaseClass_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBaseClass_Tests.release.xcconfig"; path = "Target Support Files/Pods-CNLiveBaseClass_Tests/Pods-CNLiveBaseClass_Tests.release.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 | + 258A9A2FCB6B833081C45B68 /* Pods_CNLiveBaseClass_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 | + 34D67914388EEBA34DFD6190 /* Pods_CNLiveBaseClass_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 CNLiveBaseClass */, | |
| 103 | + 6003F5B5195388D20070C39A /* Tests */, | |
| 104 | + 6003F58C195388D20070C39A /* Frameworks */, | |
| 105 | + 6003F58B195388D20070C39A /* Products */, | |
| 106 | + 78037B13F645328707C752DA /* Pods */, | |
| 107 | + ); | |
| 108 | + sourceTree = "<group>"; | |
| 109 | + }; | |
| 110 | + 6003F58B195388D20070C39A /* Products */ = { | |
| 111 | + isa = PBXGroup; | |
| 112 | + children = ( | |
| 113 | + 6003F58A195388D20070C39A /* CNLiveBaseClass_Example.app */, | |
| 114 | + 6003F5AE195388D20070C39A /* CNLiveBaseClass_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 | + B531753995D15606DEA4CA49 /* Pods_CNLiveBaseClass_Example.framework */, | |
| 127 | + 767722B1346CB4E5E2A8E753 /* Pods_CNLiveBaseClass_Tests.framework */, | |
| 128 | + ); | |
| 129 | + name = Frameworks; | |
| 130 | + sourceTree = "<group>"; | |
| 131 | + }; | |
| 132 | + 6003F593195388D20070C39A /* Example for CNLiveBaseClass */ = { | |
| 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 CNLiveBaseClass"; | |
| 145 | + path = CNLiveBaseClass; | |
| 146 | + sourceTree = "<group>"; | |
| 147 | + }; | |
| 148 | + 6003F594195388D20070C39A /* Supporting Files */ = { | |
| 149 | + isa = PBXGroup; | |
| 150 | + children = ( | |
| 151 | + 6003F595195388D20070C39A /* CNLiveBaseClass-Info.plist */, | |
| 152 | + 6003F596195388D20070C39A /* InfoPlist.strings */, | |
| 153 | + 6003F599195388D20070C39A /* main.m */, | |
| 154 | + 6003F59B195388D20070C39A /* CNLiveBaseClass-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 | + 8B0F4EFFCF2CD2B856AB792D /* CNLiveBaseClass.podspec */, | |
| 182 | + BC79DD0DF4C46CA0097C520A /* README.md */, | |
| 183 | + 5A9CD77D60E951A0D14EC174 /* LICENSE */, | |
| 184 | + ); | |
| 185 | + name = "Podspec Metadata"; | |
| 186 | + sourceTree = "<group>"; | |
| 187 | + }; | |
| 188 | + 78037B13F645328707C752DA /* Pods */ = { | |
| 189 | + isa = PBXGroup; | |
| 190 | + children = ( | |
| 191 | + C311BFEF92D4EA0D0F4D1A52 /* Pods-CNLiveBaseClass_Example.debug.xcconfig */, | |
| 192 | + 6D2B9ED659B6302233C61263 /* Pods-CNLiveBaseClass_Example.release.xcconfig */, | |
| 193 | + 09E91188CC74D4EA694B3A4D /* Pods-CNLiveBaseClass_Tests.debug.xcconfig */, | |
| 194 | + F156641B44762E074FC6F8D8 /* Pods-CNLiveBaseClass_Tests.release.xcconfig */, | |
| 195 | + ); | |
| 196 | + path = Pods; | |
| 197 | + sourceTree = "<group>"; | |
| 198 | + }; | |
| 199 | +/* End PBXGroup section */ | |
| 200 | + | |
| 201 | +/* Begin PBXNativeTarget section */ | |
| 202 | + 6003F589195388D20070C39A /* CNLiveBaseClass_Example */ = { | |
| 203 | + isa = PBXNativeTarget; | |
| 204 | + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBaseClass_Example" */; | |
| 205 | + buildPhases = ( | |
| 206 | + 1FC7E7B43099977E7120DE6D /* [CP] Check Pods Manifest.lock */, | |
| 207 | + 6003F586195388D20070C39A /* Sources */, | |
| 208 | + 6003F587195388D20070C39A /* Frameworks */, | |
| 209 | + 6003F588195388D20070C39A /* Resources */, | |
| 210 | + C3FF986BAF1115AB8AC1AA62 /* [CP] Embed Pods Frameworks */, | |
| 211 | + ); | |
| 212 | + buildRules = ( | |
| 213 | + ); | |
| 214 | + dependencies = ( | |
| 215 | + ); | |
| 216 | + name = CNLiveBaseClass_Example; | |
| 217 | + productName = CNLiveBaseClass; | |
| 218 | + productReference = 6003F58A195388D20070C39A /* CNLiveBaseClass_Example.app */; | |
| 219 | + productType = "com.apple.product-type.application"; | |
| 220 | + }; | |
| 221 | + 6003F5AD195388D20070C39A /* CNLiveBaseClass_Tests */ = { | |
| 222 | + isa = PBXNativeTarget; | |
| 223 | + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBaseClass_Tests" */; | |
| 224 | + buildPhases = ( | |
| 225 | + FE852A49EA0716C69BF6B40D /* [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 = CNLiveBaseClass_Tests; | |
| 236 | + productName = CNLiveBaseClassTests; | |
| 237 | + productReference = 6003F5AE195388D20070C39A /* CNLiveBaseClass_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 | + 6003F5AD195388D20070C39A = { | |
| 251 | + TestTargetID = 6003F589195388D20070C39A; | |
| 252 | + }; | |
| 253 | + }; | |
| 254 | + }; | |
| 255 | + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveBaseClass" */; | |
| 256 | + compatibilityVersion = "Xcode 3.2"; | |
| 257 | + developmentRegion = English; | |
| 258 | + hasScannedForEncodings = 0; | |
| 259 | + knownRegions = ( | |
| 260 | + English, | |
| 261 | + en, | |
| 262 | + Base, | |
| 263 | + ); | |
| 264 | + mainGroup = 6003F581195388D10070C39A; | |
| 265 | + productRefGroup = 6003F58B195388D20070C39A /* Products */; | |
| 266 | + projectDirPath = ""; | |
| 267 | + projectRoot = ""; | |
| 268 | + targets = ( | |
| 269 | + 6003F589195388D20070C39A /* CNLiveBaseClass_Example */, | |
| 270 | + 6003F5AD195388D20070C39A /* CNLiveBaseClass_Tests */, | |
| 271 | + ); | |
| 272 | + }; | |
| 273 | +/* End PBXProject section */ | |
| 274 | + | |
| 275 | +/* Begin PBXResourcesBuildPhase section */ | |
| 276 | + 6003F588195388D20070C39A /* Resources */ = { | |
| 277 | + isa = PBXResourcesBuildPhase; | |
| 278 | + buildActionMask = 2147483647; | |
| 279 | + files = ( | |
| 280 | + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, | |
| 281 | + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, | |
| 282 | + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, | |
| 283 | + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, | |
| 284 | + ); | |
| 285 | + runOnlyForDeploymentPostprocessing = 0; | |
| 286 | + }; | |
| 287 | + 6003F5AC195388D20070C39A /* Resources */ = { | |
| 288 | + isa = PBXResourcesBuildPhase; | |
| 289 | + buildActionMask = 2147483647; | |
| 290 | + files = ( | |
| 291 | + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, | |
| 292 | + ); | |
| 293 | + runOnlyForDeploymentPostprocessing = 0; | |
| 294 | + }; | |
| 295 | +/* End PBXResourcesBuildPhase section */ | |
| 296 | + | |
| 297 | +/* Begin PBXShellScriptBuildPhase section */ | |
| 298 | + 1FC7E7B43099977E7120DE6D /* [CP] Check Pods Manifest.lock */ = { | |
| 299 | + isa = PBXShellScriptBuildPhase; | |
| 300 | + buildActionMask = 2147483647; | |
| 301 | + files = ( | |
| 302 | + ); | |
| 303 | + inputFileListPaths = ( | |
| 304 | + ); | |
| 305 | + inputPaths = ( | |
| 306 | + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", | |
| 307 | + "${PODS_ROOT}/Manifest.lock", | |
| 308 | + ); | |
| 309 | + name = "[CP] Check Pods Manifest.lock"; | |
| 310 | + outputFileListPaths = ( | |
| 311 | + ); | |
| 312 | + outputPaths = ( | |
| 313 | + "$(DERIVED_FILE_DIR)/Pods-CNLiveBaseClass_Example-checkManifestLockResult.txt", | |
| 314 | + ); | |
| 315 | + runOnlyForDeploymentPostprocessing = 0; | |
| 316 | + shellPath = /bin/sh; | |
| 317 | + 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"; | |
| 318 | + showEnvVarsInLog = 0; | |
| 319 | + }; | |
| 320 | + C3FF986BAF1115AB8AC1AA62 /* [CP] Embed Pods Frameworks */ = { | |
| 321 | + isa = PBXShellScriptBuildPhase; | |
| 322 | + buildActionMask = 2147483647; | |
| 323 | + files = ( | |
| 324 | + ); | |
| 325 | + inputPaths = ( | |
| 326 | + "${PODS_ROOT}/Target Support Files/Pods-CNLiveBaseClass_Example/Pods-CNLiveBaseClass_Example-frameworks.sh", | |
| 327 | + "${BUILT_PRODUCTS_DIR}/CNLiveBaseClass/CNLiveBaseClass.framework", | |
| 328 | + "${BUILT_PRODUCTS_DIR}/CNLiveCategory/CNLiveCategory.framework", | |
| 329 | + "${BUILT_PRODUCTS_DIR}/CNLiveCustomControl/CNLiveCustomControl.framework", | |
| 330 | + "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework", | |
| 331 | + "${BUILT_PRODUCTS_DIR}/Masonry/Masonry.framework", | |
| 332 | + "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework", | |
| 333 | + "${BUILT_PRODUCTS_DIR}/WebViewJavascriptBridge/WebViewJavascriptBridge.framework", | |
| 334 | + ); | |
| 335 | + name = "[CP] Embed Pods Frameworks"; | |
| 336 | + outputPaths = ( | |
| 337 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseClass.framework", | |
| 338 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCategory.framework", | |
| 339 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomControl.framework", | |
| 340 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework", | |
| 341 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Masonry.framework", | |
| 342 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework", | |
| 343 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebViewJavascriptBridge.framework", | |
| 344 | + ); | |
| 345 | + runOnlyForDeploymentPostprocessing = 0; | |
| 346 | + shellPath = /bin/sh; | |
| 347 | + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveBaseClass_Example/Pods-CNLiveBaseClass_Example-frameworks.sh\"\n"; | |
| 348 | + showEnvVarsInLog = 0; | |
| 349 | + }; | |
| 350 | + FE852A49EA0716C69BF6B40D /* [CP] Check Pods Manifest.lock */ = { | |
| 351 | + isa = PBXShellScriptBuildPhase; | |
| 352 | + buildActionMask = 2147483647; | |
| 353 | + files = ( | |
| 354 | + ); | |
| 355 | + inputFileListPaths = ( | |
| 356 | + ); | |
| 357 | + inputPaths = ( | |
| 358 | + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", | |
| 359 | + "${PODS_ROOT}/Manifest.lock", | |
| 360 | + ); | |
| 361 | + name = "[CP] Check Pods Manifest.lock"; | |
| 362 | + outputFileListPaths = ( | |
| 363 | + ); | |
| 364 | + outputPaths = ( | |
| 365 | + "$(DERIVED_FILE_DIR)/Pods-CNLiveBaseClass_Tests-checkManifestLockResult.txt", | |
| 366 | + ); | |
| 367 | + runOnlyForDeploymentPostprocessing = 0; | |
| 368 | + shellPath = /bin/sh; | |
| 369 | + 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"; | |
| 370 | + showEnvVarsInLog = 0; | |
| 371 | + }; | |
| 372 | +/* End PBXShellScriptBuildPhase section */ | |
| 373 | + | |
| 374 | +/* Begin PBXSourcesBuildPhase section */ | |
| 375 | + 6003F586195388D20070C39A /* Sources */ = { | |
| 376 | + isa = PBXSourcesBuildPhase; | |
| 377 | + buildActionMask = 2147483647; | |
| 378 | + files = ( | |
| 379 | + 6003F59E195388D20070C39A /* CNLIVEAppDelegate.m in Sources */, | |
| 380 | + 6003F5A7195388D20070C39A /* CNLIVEViewController.m in Sources */, | |
| 381 | + 6003F59A195388D20070C39A /* main.m in Sources */, | |
| 382 | + ); | |
| 383 | + runOnlyForDeploymentPostprocessing = 0; | |
| 384 | + }; | |
| 385 | + 6003F5AA195388D20070C39A /* Sources */ = { | |
| 386 | + isa = PBXSourcesBuildPhase; | |
| 387 | + buildActionMask = 2147483647; | |
| 388 | + files = ( | |
| 389 | + 6003F5BC195388D20070C39A /* Tests.m in Sources */, | |
| 390 | + ); | |
| 391 | + runOnlyForDeploymentPostprocessing = 0; | |
| 392 | + }; | |
| 393 | +/* End PBXSourcesBuildPhase section */ | |
| 394 | + | |
| 395 | +/* Begin PBXTargetDependency section */ | |
| 396 | + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { | |
| 397 | + isa = PBXTargetDependency; | |
| 398 | + target = 6003F589195388D20070C39A /* CNLiveBaseClass_Example */; | |
| 399 | + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; | |
| 400 | + }; | |
| 401 | +/* End PBXTargetDependency section */ | |
| 402 | + | |
| 403 | +/* Begin PBXVariantGroup section */ | |
| 404 | + 6003F596195388D20070C39A /* InfoPlist.strings */ = { | |
| 405 | + isa = PBXVariantGroup; | |
| 406 | + children = ( | |
| 407 | + 6003F597195388D20070C39A /* en */, | |
| 408 | + ); | |
| 409 | + name = InfoPlist.strings; | |
| 410 | + sourceTree = "<group>"; | |
| 411 | + }; | |
| 412 | + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { | |
| 413 | + isa = PBXVariantGroup; | |
| 414 | + children = ( | |
| 415 | + 6003F5B9195388D20070C39A /* en */, | |
| 416 | + ); | |
| 417 | + name = InfoPlist.strings; | |
| 418 | + sourceTree = "<group>"; | |
| 419 | + }; | |
| 420 | + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { | |
| 421 | + isa = PBXVariantGroup; | |
| 422 | + children = ( | |
| 423 | + 71719F9E1E33DC2100824A3D /* Base */, | |
| 424 | + ); | |
| 425 | + name = LaunchScreen.storyboard; | |
| 426 | + sourceTree = "<group>"; | |
| 427 | + }; | |
| 428 | +/* End PBXVariantGroup section */ | |
| 429 | + | |
| 430 | +/* Begin XCBuildConfiguration section */ | |
| 431 | + 6003F5BD195388D20070C39A /* Debug */ = { | |
| 432 | + isa = XCBuildConfiguration; | |
| 433 | + buildSettings = { | |
| 434 | + ALWAYS_SEARCH_USER_PATHS = NO; | |
| 435 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | |
| 436 | + CLANG_CXX_LIBRARY = "libc++"; | |
| 437 | + CLANG_ENABLE_MODULES = YES; | |
| 438 | + CLANG_ENABLE_OBJC_ARC = YES; | |
| 439 | + CLANG_WARN_BOOL_CONVERSION = YES; | |
| 440 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | |
| 441 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | |
| 442 | + CLANG_WARN_EMPTY_BODY = YES; | |
| 443 | + CLANG_WARN_ENUM_CONVERSION = YES; | |
| 444 | + CLANG_WARN_INT_CONVERSION = YES; | |
| 445 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | |
| 446 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | |
| 447 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | |
| 448 | + COPY_PHASE_STRIP = NO; | |
| 449 | + ENABLE_TESTABILITY = YES; | |
| 450 | + GCC_C_LANGUAGE_STANDARD = gnu99; | |
| 451 | + GCC_DYNAMIC_NO_PIC = NO; | |
| 452 | + GCC_OPTIMIZATION_LEVEL = 0; | |
| 453 | + GCC_PREPROCESSOR_DEFINITIONS = ( | |
| 454 | + "DEBUG=1", | |
| 455 | + "$(inherited)", | |
| 456 | + ); | |
| 457 | + GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |
| 458 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | |
| 459 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | |
| 460 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | |
| 461 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | |
| 462 | + GCC_WARN_UNUSED_FUNCTION = YES; | |
| 463 | + GCC_WARN_UNUSED_VARIABLE = YES; | |
| 464 | + IPHONEOS_DEPLOYMENT_TARGET = 9.3; | |
| 465 | + ONLY_ACTIVE_ARCH = YES; | |
| 466 | + SDKROOT = iphoneos; | |
| 467 | + TARGETED_DEVICE_FAMILY = "1,2"; | |
| 468 | + }; | |
| 469 | + name = Debug; | |
| 470 | + }; | |
| 471 | + 6003F5BE195388D20070C39A /* Release */ = { | |
| 472 | + isa = XCBuildConfiguration; | |
| 473 | + buildSettings = { | |
| 474 | + ALWAYS_SEARCH_USER_PATHS = NO; | |
| 475 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | |
| 476 | + CLANG_CXX_LIBRARY = "libc++"; | |
| 477 | + CLANG_ENABLE_MODULES = YES; | |
| 478 | + CLANG_ENABLE_OBJC_ARC = YES; | |
| 479 | + CLANG_WARN_BOOL_CONVERSION = YES; | |
| 480 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | |
| 481 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | |
| 482 | + CLANG_WARN_EMPTY_BODY = YES; | |
| 483 | + CLANG_WARN_ENUM_CONVERSION = YES; | |
| 484 | + CLANG_WARN_INT_CONVERSION = YES; | |
| 485 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | |
| 486 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | |
| 487 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | |
| 488 | + COPY_PHASE_STRIP = YES; | |
| 489 | + ENABLE_NS_ASSERTIONS = NO; | |
| 490 | + GCC_C_LANGUAGE_STANDARD = gnu99; | |
| 491 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | |
| 492 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | |
| 493 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | |
| 494 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | |
| 495 | + GCC_WARN_UNUSED_FUNCTION = YES; | |
| 496 | + GCC_WARN_UNUSED_VARIABLE = YES; | |
| 497 | + IPHONEOS_DEPLOYMENT_TARGET = 9.3; | |
| 498 | + SDKROOT = iphoneos; | |
| 499 | + TARGETED_DEVICE_FAMILY = "1,2"; | |
| 500 | + VALIDATE_PRODUCT = YES; | |
| 501 | + }; | |
| 502 | + name = Release; | |
| 503 | + }; | |
| 504 | + 6003F5C0195388D20070C39A /* Debug */ = { | |
| 505 | + isa = XCBuildConfiguration; | |
| 506 | + baseConfigurationReference = C311BFEF92D4EA0D0F4D1A52 /* Pods-CNLiveBaseClass_Example.debug.xcconfig */; | |
| 507 | + buildSettings = { | |
| 508 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | |
| 509 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 510 | + GCC_PREFIX_HEADER = "CNLiveBaseClass/CNLiveBaseClass-Prefix.pch"; | |
| 511 | + INFOPLIST_FILE = "CNLiveBaseClass/CNLiveBaseClass-Info.plist"; | |
| 512 | + MODULE_NAME = ExampleApp; | |
| 513 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 514 | + PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 515 | + SWIFT_VERSION = 4.0; | |
| 516 | + WRAPPER_EXTENSION = app; | |
| 517 | + }; | |
| 518 | + name = Debug; | |
| 519 | + }; | |
| 520 | + 6003F5C1195388D20070C39A /* Release */ = { | |
| 521 | + isa = XCBuildConfiguration; | |
| 522 | + baseConfigurationReference = 6D2B9ED659B6302233C61263 /* Pods-CNLiveBaseClass_Example.release.xcconfig */; | |
| 523 | + buildSettings = { | |
| 524 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | |
| 525 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 526 | + GCC_PREFIX_HEADER = "CNLiveBaseClass/CNLiveBaseClass-Prefix.pch"; | |
| 527 | + INFOPLIST_FILE = "CNLiveBaseClass/CNLiveBaseClass-Info.plist"; | |
| 528 | + MODULE_NAME = ExampleApp; | |
| 529 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 530 | + PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 531 | + SWIFT_VERSION = 4.0; | |
| 532 | + WRAPPER_EXTENSION = app; | |
| 533 | + }; | |
| 534 | + name = Release; | |
| 535 | + }; | |
| 536 | + 6003F5C3195388D20070C39A /* Debug */ = { | |
| 537 | + isa = XCBuildConfiguration; | |
| 538 | + baseConfigurationReference = 09E91188CC74D4EA694B3A4D /* Pods-CNLiveBaseClass_Tests.debug.xcconfig */; | |
| 539 | + buildSettings = { | |
| 540 | + BUNDLE_LOADER = "$(TEST_HOST)"; | |
| 541 | + FRAMEWORK_SEARCH_PATHS = ( | |
| 542 | + "$(PLATFORM_DIR)/Developer/Library/Frameworks", | |
| 543 | + "$(inherited)", | |
| 544 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | |
| 545 | + ); | |
| 546 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 547 | + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; | |
| 548 | + GCC_PREPROCESSOR_DEFINITIONS = ( | |
| 549 | + "DEBUG=1", | |
| 550 | + "$(inherited)", | |
| 551 | + ); | |
| 552 | + INFOPLIST_FILE = "Tests/Tests-Info.plist"; | |
| 553 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 554 | + PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 555 | + SWIFT_VERSION = 4.0; | |
| 556 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveBaseClass_Example.app/CNLiveBaseClass_Example"; | |
| 557 | + WRAPPER_EXTENSION = xctest; | |
| 558 | + }; | |
| 559 | + name = Debug; | |
| 560 | + }; | |
| 561 | + 6003F5C4195388D20070C39A /* Release */ = { | |
| 562 | + isa = XCBuildConfiguration; | |
| 563 | + baseConfigurationReference = F156641B44762E074FC6F8D8 /* Pods-CNLiveBaseClass_Tests.release.xcconfig */; | |
| 564 | + buildSettings = { | |
| 565 | + BUNDLE_LOADER = "$(TEST_HOST)"; | |
| 566 | + FRAMEWORK_SEARCH_PATHS = ( | |
| 567 | + "$(PLATFORM_DIR)/Developer/Library/Frameworks", | |
| 568 | + "$(inherited)", | |
| 569 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | |
| 570 | + ); | |
| 571 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 572 | + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; | |
| 573 | + INFOPLIST_FILE = "Tests/Tests-Info.plist"; | |
| 574 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 575 | + PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 576 | + SWIFT_VERSION = 4.0; | |
| 577 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveBaseClass_Example.app/CNLiveBaseClass_Example"; | |
| 578 | + WRAPPER_EXTENSION = xctest; | |
| 579 | + }; | |
| 580 | + name = Release; | |
| 581 | + }; | |
| 582 | +/* End XCBuildConfiguration section */ | |
| 583 | + | |
| 584 | +/* Begin XCConfigurationList section */ | |
| 585 | + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveBaseClass" */ = { | |
| 586 | + isa = XCConfigurationList; | |
| 587 | + buildConfigurations = ( | |
| 588 | + 6003F5BD195388D20070C39A /* Debug */, | |
| 589 | + 6003F5BE195388D20070C39A /* Release */, | |
| 590 | + ); | |
| 591 | + defaultConfigurationIsVisible = 0; | |
| 592 | + defaultConfigurationName = Release; | |
| 593 | + }; | |
| 594 | + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBaseClass_Example" */ = { | |
| 595 | + isa = XCConfigurationList; | |
| 596 | + buildConfigurations = ( | |
| 597 | + 6003F5C0195388D20070C39A /* Debug */, | |
| 598 | + 6003F5C1195388D20070C39A /* Release */, | |
| 599 | + ); | |
| 600 | + defaultConfigurationIsVisible = 0; | |
| 601 | + defaultConfigurationName = Release; | |
| 602 | + }; | |
| 603 | + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBaseClass_Tests" */ = { | |
| 604 | + isa = XCConfigurationList; | |
| 605 | + buildConfigurations = ( | |
| 606 | + 6003F5C3195388D20070C39A /* Debug */, | |
| 607 | + 6003F5C4195388D20070C39A /* Release */, | |
| 608 | + ); | |
| 609 | + defaultConfigurationIsVisible = 0; | |
| 610 | + defaultConfigurationName = Release; | |
| 611 | + }; | |
| 612 | +/* End XCConfigurationList section */ | |
| 613 | + }; | |
| 614 | + rootObject = 6003F582195388D10070C39A /* Project object */; | |
| 615 | +} | ... | ... |
Example/CNLiveBaseClass.xcodeproj/xcshareddata/xcschemes/CNLiveBaseClass-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 = "CNLiveBaseClass_Example.app" | |
| 19 | + BlueprintName = "CNLiveBaseClass_Example" | |
| 20 | + ReferencedContainer = "container:CNLiveBaseClass.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 = "CNLiveBaseClass_Tests.xctest" | |
| 37 | + BlueprintName = "CNLiveBaseClass_Tests" | |
| 38 | + ReferencedContainer = "container:CNLiveBaseClass.xcodeproj"> | |
| 39 | + </BuildableReference> | |
| 40 | + </TestableReference> | |
| 41 | + </Testables> | |
| 42 | + <MacroExpansion> | |
| 43 | + <BuildableReference | |
| 44 | + BuildableIdentifier = "primary" | |
| 45 | + BlueprintIdentifier = "6003F589195388D20070C39A" | |
| 46 | + BuildableName = "CNLiveBaseClass_Example.app" | |
| 47 | + BlueprintName = "CNLiveBaseClass_Example" | |
| 48 | + ReferencedContainer = "container:CNLiveBaseClass.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 = "CNLiveBaseClass_Example.app" | |
| 70 | + BlueprintName = "CNLiveBaseClass_Example" | |
| 71 | + ReferencedContainer = "container:CNLiveBaseClass.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 = "CNLiveBaseClass_Example.app" | |
| 89 | + BlueprintName = "CNLiveBaseClass_Example" | |
| 90 | + ReferencedContainer = "container:CNLiveBaseClass.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/CNLiveBaseClass/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/CNLiveBaseClass/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/CNLiveBaseClass/CNLIVEAppDelegate.h
0 → 100644
| 1 | +// | |
| 2 | +// CNLIVEAppDelegate.h | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 12/18/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/CNLiveBaseClass/CNLIVEAppDelegate.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLIVEAppDelegate.m | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 12/18/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/CNLiveBaseClass/CNLIVEViewController.h
0 → 100644
Example/CNLiveBaseClass/CNLIVEViewController.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLIVEViewController.m | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 12/18/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/CNLiveBaseClass/CNLiveBaseClass-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/CNLiveBaseClass/CNLiveBaseClass-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/CNLiveBaseClass/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/CNLiveBaseClass/en.lproj/InfoPlist.strings
0 → 100644
Example/CNLiveBaseClass/main.m
0 → 100644
| 1 | +// | |
| 2 | +// main.m | |
| 3 | +// CNLiveBaseClass | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 12/18/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 | +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 'CNLiveBaseClass_Example' do | |
| 8 | + pod 'CNLiveBaseClass', :path => '../' | |
| 9 | + | |
| 10 | + target 'CNLiveBaseClass_Tests' do | |
| 11 | + inherit! :search_paths | |
| 12 | + | |
| 13 | + | |
| 14 | + end | |
| 15 | +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
Example/Tests/Tests.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveBaseClassTests.m | |
| 3 | +// CNLiveBaseClassTests | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 12/18/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
LICENSE
0 → 100644
| 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 | -CNLiveBaseClass | |
| 2 | 1 | \ No newline at end of file |
| 2 | +# CNLiveBaseClass | |
| 3 | + | |
| 4 | +[](https://travis-ci.org/153993236@qq.com/CNLiveBaseClass) | |
| 5 | +[](https://cocoapods.org/pods/CNLiveBaseClass) | |
| 6 | +[](https://cocoapods.org/pods/CNLiveBaseClass) | |
| 7 | +[](https://cocoapods.org/pods/CNLiveBaseClass) | |
| 8 | + | |
| 9 | +## Example | |
| 10 | + | |
| 11 | +To run the example project, clone the repo, and run `pod install` from the Example directory first. | |
| 12 | + | |
| 13 | +## Requirements | |
| 14 | + | |
| 15 | +## Installation | |
| 16 | + | |
| 17 | +CNLiveBaseClass is available through [CocoaPods](https://cocoapods.org). To install | |
| 18 | +it, simply add the following line to your Podfile: | |
| 19 | + | |
| 20 | +```ruby | |
| 21 | +pod 'CNLiveBaseClass' | |
| 22 | +``` | |
| 23 | + | |
| 24 | +## Author | |
| 25 | + | |
| 26 | +153993236@qq.com, zhangxiaowen@cnlive.com | |
| 27 | + | |
| 28 | +## License | |
| 29 | + | |
| 30 | +CNLiveBaseClass is available under the MIT license. See the LICENSE file for more info. | ... | ... |
_Pods.xcodeproj
0 → 120000