Commit b76f01f3926113b590b23fafcbeddd5985d6e3cb

Authored by zhangxiaowen
1 parent d84c2b96

no message

CNLiveManager.podspec 0 → 100644
  1 +#
  2 +# Be sure to run `pod lib lint CNLiveManager.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 = 'CNLiveManager'
  11 + s.version = '0.0.1'
  12 + s.summary = 'CNLiveManager.'
  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/CNLiveManager'
  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/CNLiveManager.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 + # 通知
  34 + s.subspec 'Notification' do |ss|
  35 + ss.source_files = 'CNLiveManager/Classes/Notification/*.{h,m}'
  36 + end
  37 +
  38 + # 页面跳转
  39 + s.subspec 'PageJump' do |ss|
  40 + ss.source_files = 'CNLiveManager/Classes/PageJump/*.{h,m}'
  41 + end
  42 +
  43 + # 跟控制器
  44 + s.subspec 'RootController' do |ss|
  45 + ss.source_files = 'CNLiveManager/Classes/RootController/*.{h,m}'
  46 + end
  47 +
  48 + # s.resource_bundles = {
  49 + # 'CNLiveManager' => ['CNLiveManager/Assets/*.png']
  50 + # }
  51 +
  52 + # s.public_header_files = 'Pod/Classes/**/*.h'
  53 + # s.frameworks = 'UIKit', 'MapKit'
  54 + # s.dependency 'AFNetworking', '~> 2.3'
  55 +
  56 +end
CNLiveManager/Assets/.gitkeep 0 → 100644
CNLiveManager/Classes/.gitkeep 0 → 100644
CNLiveManager/Classes/Notification/CNLiveNotificationManager.h 0 → 100644
  1 +//
  2 +// CNLiveNotificationManager.m
  3 +// CNLiveMineModule
  4 +//
  5 +// Created by 153993236@qq.com on 11/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +/**
  10 + * 通知
  11 + */
  12 +
  13 +#import <Foundation/Foundation.h>
  14 +#import "CNLiveNotificationName.h"
  15 +
  16 +NS_ASSUME_NONNULL_BEGIN
  17 +
  18 +@interface CNLiveNotificationManager : NSObject
  19 +
  20 ++ (void)addObserver:(id)observer selector:(SEL)aSelector name:(nullable NSNotificationName)aName object:(nullable id)anObject;
  21 +
  22 ++ (void)postNotification:(NSNotification *)notification;
  23 ++ (void)postNotificationName:(NSNotificationName)aName object:(nullable id)anObject;
  24 ++ (void)postNotificationName:(NSNotificationName)aName object:(nullable id)anObject userInfo:(nullable NSDictionary *)aUserInfo;
  25 +
  26 ++ (void)removeObserver:(id)observer;
  27 ++ (void)removeObserver:(id)observer name:(nullable NSNotificationName)aName object:(nullable id)anObject;
  28 +
  29 +@end
  30 +
  31 +NS_ASSUME_NONNULL_END
CNLiveManager/Classes/Notification/CNLiveNotificationManager.m 0 → 100644
  1 +//
  2 +// CNLiveNotificationManager.m
  3 +// CNLiveMineModule
  4 +//
  5 +// Created by 153993236@qq.com on 11/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLiveNotificationManager.h"
  10 +
  11 +@implementation CNLiveNotificationManager
  12 +#pragma mark - add
  13 ++ (void)addObserver:(id)observer selector:(SEL)aSelector name:(nullable NSNotificationName)aName object:(nullable id)anObject{
  14 + [[NSNotificationCenter defaultCenter] addObserver:observer selector:aSelector name:aName object:anObject];
  15 +}
  16 +
  17 +#pragma mark - post
  18 ++ (void)postNotification:(NSNotification *)notification{
  19 + [[NSNotificationCenter defaultCenter] postNotification:notification];
  20 +}
  21 ++ (void)postNotificationName:(NSNotificationName)aName object:(nullable id)anObject{
  22 + [[NSNotificationCenter defaultCenter] postNotificationName:aName object:anObject];
  23 +}
  24 ++ (void)postNotificationName:(NSNotificationName)aName object:(nullable id)anObject userInfo:(nullable NSDictionary *)aUserInfo{
  25 + [[NSNotificationCenter defaultCenter] postNotificationName:aName object:anObject userInfo:aUserInfo];
  26 +}
  27 +
  28 +#pragma mark - remove
  29 ++ (void)removeObserver:(id)observer{
  30 + [[NSNotificationCenter defaultCenter] removeObserver:observer];
  31 +}
  32 +
  33 ++ (void)removeObserver:(id)observer name:(nullable NSNotificationName)aName object:(nullable id)anObject{
  34 + [[NSNotificationCenter defaultCenter] removeObserver:observer name:aName object:anObject];
  35 +
  36 +}
  37 +
  38 +
  39 +
  40 +@end
CNLiveManager/Classes/Notification/CNLiveNotificationName.h 0 → 100644
  1 +//
  2 +// CNLiveNotificationName.h
  3 +// CNLiveMineModule_Example
  4 +//
  5 +// Created by CNLive-zxw on 2019/11/14.
  6 +// Copyright © 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +#ifndef CNLiveNotificationName_h
  10 +#define CNLiveNotificationName_h
  11 +
  12 +#import <Foundation/Foundation.h>
  13 +
  14 +#pragma mark - 首页
  15 +
  16 +#pragma mark - 分类/视讯
  17 +
  18 +#pragma mark - 服务
  19 +
  20 +#pragma mark - 我的
  21 +
  22 +#pragma mark - 登录/退出
  23 +static NSString *const CNLiveLoginSuccess = @"CNLiveLoginSuccess";
  24 +static NSString *const CNLiveLogoutSuccess = @"CNLiveLogoutSuccess";
  25 +static NSString *const CNLiveUpdateUserInfoSuccess = @"CNLiveUpdateUserInfoSuccess";
  26 +
  27 +
  28 +#endif /* CNLiveNotificationName_h */
CNLiveManager/Classes/PageJump/CNLivePageJumpManager.h 0 → 100644
  1 +//
  2 +// CNLivePageJumpManager.h
  3 +// CNLiveServices
  4 +//
  5 +// Created by 153993236@qq.com on 07/22/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +/**
  10 + * 页面跳转
  11 + */
  12 +
  13 +#import <Foundation/Foundation.h>
  14 +#import <UIKit/UIKit.h>
  15 +
  16 +NS_ASSUME_NONNULL_BEGIN
  17 +
  18 +@interface CNLivePageJumpManager : NSObject
  19 +
  20 +// jump
  21 ++ (void)jumpViewController:(UIViewController *)controller;
  22 ++ (void)jumpViewController:(UIViewController *)controller animated:(BOOL)animated;
  23 +
  24 +// back
  25 ++ (void)backViewController;
  26 ++ (void)backViewController:(BOOL)animated;
  27 +
  28 +// push
  29 ++ (void)pushViewController:(UIViewController *)controller;
  30 ++ (void)pushViewController:(UIViewController *)controller animated:(BOOL)animated;
  31 +
  32 +// pop
  33 ++ (void)popViewController;
  34 ++ (void)popViewControllerAnimated:(BOOL)animated;
  35 ++ (void)popToViewController:(UIViewController *)viewController animated:(BOOL)animated;
  36 ++ (void)popToRootViewControllerAnimated:(BOOL)animated;
  37 +
  38 +// present
  39 ++ (void)presentViewController:(UIViewController *)controller;
  40 ++ (void)presentViewController:(UIViewController *)controller animated:(BOOL)animated;
  41 ++ (void)presentViewController:(UIViewController *)controller animated:(BOOL)animated completion:(nullable void(^)(void))completion;
  42 +
  43 +// dismiss
  44 ++ (void)dismissViewController;
  45 ++ (void)dismissViewControllerAnimated:(BOOL)animated completion:(nullable void(^)(void))completion;
  46 +
  47 +@end
  48 +
  49 +NS_ASSUME_NONNULL_END
CNLiveManager/Classes/PageJump/CNLivePageJumpManager.m 0 → 100644
  1 +//
  2 +// CNLivePageJumpManager.h
  3 +// CNLiveServices
  4 +//
  5 +// Created by 153993236@qq.com on 07/22/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLivePageJumpManager.h"
  10 +
  11 +@interface CNLivePageJumpManager ()
  12 +
  13 +@end
  14 +@implementation CNLivePageJumpManager
  15 +#pragma mark - 获取跟控制器
  16 ++ (UINavigationController *)getNavigationController{
  17 + UIViewController *vc = [UIApplication sharedApplication].delegate.window.rootViewController;
  18 + if ([vc isKindOfClass:[UINavigationController class]]){
  19 + return (UINavigationController *)vc;
  20 + }
  21 + else if ([vc isKindOfClass:[UITabBarController class]]){
  22 + UIViewController *select = [((UITabBarController *)vc) selectedViewController];
  23 + if ([select isKindOfClass:[UINavigationController class]]){
  24 + return (UINavigationController *)select;
  25 + }
  26 + }
  27 + return nil;
  28 +}
  29 +
  30 +#pragma mark - jump
  31 ++ (void)jumpViewController:(UIViewController *)controller{
  32 + [self jumpViewController:controller animated:YES];
  33 +}
  34 ++ (void)jumpViewController:(UIViewController *)controller animated:(BOOL)animated{
  35 + UINavigationController *nav = [self getNavigationController];
  36 + if(nav){
  37 + [nav pushViewController:controller animated:animated];
  38 + }
  39 + else{
  40 + UIViewController *vc = [UIApplication sharedApplication].delegate.window.rootViewController;
  41 + [vc presentViewController:controller animated:animated completion:nil];
  42 + }
  43 +}
  44 +
  45 +#pragma mark - back
  46 ++ (void)backViewController{
  47 + [self backViewController:YES];
  48 +}
  49 ++ (void)backViewController:(BOOL)animated{
  50 + UINavigationController *nav = [self getNavigationController];
  51 + if(nav){
  52 + [nav popViewControllerAnimated:animated];
  53 + }
  54 + else{
  55 + UIViewController *vc = [UIApplication sharedApplication].delegate.window.rootViewController;
  56 + [vc dismissViewControllerAnimated:animated completion:nil];
  57 + }
  58 +}
  59 +
  60 +#pragma mark - Push
  61 ++ (void)pushViewController:(UIViewController *)controller{
  62 + [self pushViewController:controller animated:YES];
  63 +}
  64 ++ (void)pushViewController:(UIViewController *)controller animated:(BOOL)animated{
  65 + [[self getNavigationController] pushViewController:controller animated:animated];
  66 +}
  67 +
  68 +#pragma mark - Pop
  69 ++ (void)popViewController{
  70 + [self popViewControllerAnimated:YES];
  71 +}
  72 ++ (void)popViewControllerAnimated:(BOOL)animated{
  73 + [[self getNavigationController] popViewControllerAnimated:animated];
  74 +}
  75 ++ (void)popToViewController:(UIViewController *)viewController animated:(BOOL)animated{
  76 + [[self getNavigationController] popToViewController:viewController animated:animated];
  77 +}
  78 ++ (void)popToRootViewControllerAnimated:(BOOL)animated{
  79 + [[self getNavigationController] popToRootViewControllerAnimated:animated];
  80 +}
  81 +
  82 +#pragma mark - Present
  83 ++ (void)presentViewController:(UIViewController *)controller{
  84 + [self presentViewController:controller animated:YES];
  85 +}
  86 ++ (void)presentViewController:(UIViewController *)controller animated:(BOOL)animated{
  87 + [self presentViewController:controller animated:animated completion:nil];
  88 +}
  89 ++ (void)presentViewController:(UIViewController *)controller animated:(BOOL)animated completion:(nullable void(^)(void))completion{
  90 + [[self getNavigationController] presentViewController:controller animated:animated completion:completion];
  91 +}
  92 +
  93 +#pragma mark - Dismiss
  94 ++ (void)dismissViewController{
  95 + [self dismissViewControllerAnimated:YES completion:nil];
  96 +}
  97 ++ (void)dismissViewControllerAnimated:(BOOL)animated completion:(nullable void(^)(void))completion{
  98 + [[self getNavigationController] dismissViewControllerAnimated:animated completion:completion];
  99 +
  100 +}
  101 +
  102 +@end
CNLiveManager/Classes/RootController/CNLiveRootControllerManager.h 0 → 100644
  1 +//
  2 +// CNLiveRootControllerManager.m
  3 +// CNLiveMineModule
  4 +//
  5 +// Created by 153993236@qq.com on 11/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +/**
  10 + * 跟控制器
  11 + */
  12 +
  13 +#import <Foundation/Foundation.h>
  14 +
  15 +NS_ASSUME_NONNULL_BEGIN
  16 +
  17 +@interface CNLiveRootControllerManager : NSObject
  18 +
  19 +/**
  20 + * 进入主页面
  21 + */
  22 ++ (void)enterMainUI;
  23 +
  24 +/**
  25 + * 进入TabBar面
  26 + */
  27 ++ (void)enterTabBarUI;
  28 +
  29 +/**
  30 + * 进入登录页面
  31 + */
  32 ++ (void)enterLoginUI;
  33 +
  34 +@end
  35 +
  36 +NS_ASSUME_NONNULL_END
CNLiveManager/Classes/RootController/CNLiveRootControllerManager.m 0 → 100644
  1 +//
  2 +// CNLiveRootControllerManager.m
  3 +// CNLiveMineModule
  4 +//
  5 +// Created by 153993236@qq.com on 11/12/2019.
  6 +// Copyright (c) 2019 153993236@qq.com. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLiveRootControllerManager.h"
  10 +
  11 +
  12 +@implementation CNLiveRootControllerManager
  13 +
  14 +/**
  15 + * 设置主页面
  16 + */
  17 ++ (void)enterMainUI{
  18 + // 判断是否展示引导页
  19 + if (@"是否展示引导页") {
  20 +
  21 +
  22 + }else{
  23 + if(@"是否登录"){
  24 + // 设置TabBar面
  25 + [self enterTabBarUI];
  26 +
  27 + }else{
  28 + // 设置登录页面
  29 + [self enterLoginUI];
  30 +
  31 + }
  32 + }
  33 +
  34 +}
  35 +
  36 +/**
  37 + * 设置TabBar面
  38 + */
  39 ++ (void)enterTabBarUI{
  40 + for (UIView *view in [UIApplication sharedApplication].delegate.window.subviews) {
  41 + [view removeFromSuperview];
  42 + }
  43 + [UIApplication sharedApplication].delegate.window.rootViewController = nil;
  44 + UITabBarController *tabBar = [[UITabBarController alloc]init];
  45 + UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:tabBar];
  46 + [UIApplication sharedApplication].delegate.window.rootViewController = nav;
  47 +
  48 +}
  49 +
  50 +/**
  51 + * 设置登录页面
  52 + */
  53 ++ (void)enterLoginUI{
  54 + for (UIView *view in [UIApplication sharedApplication].delegate.window.subviews) {
  55 + [view removeFromSuperview];
  56 + }
  57 + [UIApplication sharedApplication].delegate.window.rootViewController = nil;
  58 +// CNLiveLoginController *login = [[CNLiveLoginController alloc]init];
  59 +// UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:login];
  60 +// [UIApplication sharedApplication].delegate.window.rootViewController = nav;
  61 +
  62 +}
  63 +
  64 +
  65 +@end
Example/CNLiveManager.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 + 148A67AADB04554C266258A8 /* Pods_CNLiveManager_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9AC45EC48DE42E9A7D4C7A9D /* Pods_CNLiveManager_Example.framework */; };
  11 + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
  12 + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; };
  13 + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
  14 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; };
  15 + 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; };
  16 + 6003F59E195388D20070C39A /* CNLIVEAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* CNLIVEAppDelegate.m */; };
  17 + 6003F5A7195388D20070C39A /* CNLIVEViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* CNLIVEViewController.m */; };
  18 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; };
  19 + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; };
  20 + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
  21 + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
  22 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; };
  23 + 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; };
  24 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; };
  25 + 85CD875DE324A69803F840E2 /* Pods_CNLiveManager_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 843CEDDDC3542B0B4802C3BE /* Pods_CNLiveManager_Tests.framework */; };
  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 = CNLiveManager;
  36 + };
  37 +/* End PBXContainerItemProxy section */
  38 +
  39 +/* Begin PBXFileReference section */
  40 + 111137C132A4B1D370396111 /* CNLiveManager.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveManager.podspec; path = ../CNLiveManager.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  41 + 6003F58A195388D20070C39A /* CNLiveManager_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveManager_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
  42 + 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
  43 + 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
  44 + 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
  45 + 6003F595195388D20070C39A /* CNLiveManager-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveManager-Info.plist"; sourceTree = "<group>"; };
  46 + 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  47 + 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
  48 + 6003F59B195388D20070C39A /* CNLiveManager-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveManager-Prefix.pch"; sourceTree = "<group>"; };
  49 + 6003F59C195388D20070C39A /* CNLIVEAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLIVEAppDelegate.h; sourceTree = "<group>"; };
  50 + 6003F59D195388D20070C39A /* CNLIVEAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLIVEAppDelegate.m; sourceTree = "<group>"; };
  51 + 6003F5A5195388D20070C39A /* CNLIVEViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLIVEViewController.h; sourceTree = "<group>"; };
  52 + 6003F5A6195388D20070C39A /* CNLIVEViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLIVEViewController.m; sourceTree = "<group>"; };
  53 + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
  54 + 6003F5AE195388D20070C39A /* CNLiveManager_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveManager_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
  55 + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
  56 + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; };
  57 + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  58 + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; };
  59 + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; };
  60 + 64199F090FE59CEB8AFDB9A2 /* Pods-CNLiveManager_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveManager_Example.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveManager_Example/Pods-CNLiveManager_Example.debug.xcconfig"; sourceTree = "<group>"; };
  61 + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
  62 + 843CEDDDC3542B0B4802C3BE /* Pods_CNLiveManager_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveManager_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  63 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
  64 + 9AC45EC48DE42E9A7D4C7A9D /* Pods_CNLiveManager_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveManager_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  65 + A4D3C0E43A168C119F09436F /* Pods-CNLiveManager_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveManager_Example.release.xcconfig"; path = "Target Support Files/Pods-CNLiveManager_Example/Pods-CNLiveManager_Example.release.xcconfig"; sourceTree = "<group>"; };
  66 + BF03162B261A8BE59FAAE4A8 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
  67 + C456DCEF63F2C5959DDB1056 /* Pods-CNLiveManager_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveManager_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveManager_Tests/Pods-CNLiveManager_Tests.debug.xcconfig"; sourceTree = "<group>"; };
  68 + C4781E2C13BED994A8399A59 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
  69 + C9EB4C60E59D324C48B5EDC1 /* Pods-CNLiveManager_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveManager_Tests.release.xcconfig"; path = "Target Support Files/Pods-CNLiveManager_Tests/Pods-CNLiveManager_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 + 148A67AADB04554C266258A8 /* Pods_CNLiveManager_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 + 85CD875DE324A69803F840E2 /* Pods_CNLiveManager_Tests.framework in Frameworks */,
  92 + );
  93 + runOnlyForDeploymentPostprocessing = 0;
  94 + };
  95 +/* End PBXFrameworksBuildPhase section */
  96 +
  97 +/* Begin PBXGroup section */
  98 + 2217B0C3882CCF5127A1C723 /* Pods */ = {
  99 + isa = PBXGroup;
  100 + children = (
  101 + 64199F090FE59CEB8AFDB9A2 /* Pods-CNLiveManager_Example.debug.xcconfig */,
  102 + A4D3C0E43A168C119F09436F /* Pods-CNLiveManager_Example.release.xcconfig */,
  103 + C456DCEF63F2C5959DDB1056 /* Pods-CNLiveManager_Tests.debug.xcconfig */,
  104 + C9EB4C60E59D324C48B5EDC1 /* Pods-CNLiveManager_Tests.release.xcconfig */,
  105 + );
  106 + path = Pods;
  107 + sourceTree = "<group>";
  108 + };
  109 + 6003F581195388D10070C39A = {
  110 + isa = PBXGroup;
  111 + children = (
  112 + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */,
  113 + 6003F593195388D20070C39A /* Example for CNLiveManager */,
  114 + 6003F5B5195388D20070C39A /* Tests */,
  115 + 6003F58C195388D20070C39A /* Frameworks */,
  116 + 6003F58B195388D20070C39A /* Products */,
  117 + 2217B0C3882CCF5127A1C723 /* Pods */,
  118 + );
  119 + sourceTree = "<group>";
  120 + };
  121 + 6003F58B195388D20070C39A /* Products */ = {
  122 + isa = PBXGroup;
  123 + children = (
  124 + 6003F58A195388D20070C39A /* CNLiveManager_Example.app */,
  125 + 6003F5AE195388D20070C39A /* CNLiveManager_Tests.xctest */,
  126 + );
  127 + name = Products;
  128 + sourceTree = "<group>";
  129 + };
  130 + 6003F58C195388D20070C39A /* Frameworks */ = {
  131 + isa = PBXGroup;
  132 + children = (
  133 + 6003F58D195388D20070C39A /* Foundation.framework */,
  134 + 6003F58F195388D20070C39A /* CoreGraphics.framework */,
  135 + 6003F591195388D20070C39A /* UIKit.framework */,
  136 + 6003F5AF195388D20070C39A /* XCTest.framework */,
  137 + 9AC45EC48DE42E9A7D4C7A9D /* Pods_CNLiveManager_Example.framework */,
  138 + 843CEDDDC3542B0B4802C3BE /* Pods_CNLiveManager_Tests.framework */,
  139 + );
  140 + name = Frameworks;
  141 + sourceTree = "<group>";
  142 + };
  143 + 6003F593195388D20070C39A /* Example for CNLiveManager */ = {
  144 + isa = PBXGroup;
  145 + children = (
  146 + 6003F59C195388D20070C39A /* CNLIVEAppDelegate.h */,
  147 + 6003F59D195388D20070C39A /* CNLIVEAppDelegate.m */,
  148 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */,
  149 + 6003F5A5195388D20070C39A /* CNLIVEViewController.h */,
  150 + 6003F5A6195388D20070C39A /* CNLIVEViewController.m */,
  151 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */,
  152 + 6003F5A8195388D20070C39A /* Images.xcassets */,
  153 + 6003F594195388D20070C39A /* Supporting Files */,
  154 + );
  155 + name = "Example for CNLiveManager";
  156 + path = CNLiveManager;
  157 + sourceTree = "<group>";
  158 + };
  159 + 6003F594195388D20070C39A /* Supporting Files */ = {
  160 + isa = PBXGroup;
  161 + children = (
  162 + 6003F595195388D20070C39A /* CNLiveManager-Info.plist */,
  163 + 6003F596195388D20070C39A /* InfoPlist.strings */,
  164 + 6003F599195388D20070C39A /* main.m */,
  165 + 6003F59B195388D20070C39A /* CNLiveManager-Prefix.pch */,
  166 + );
  167 + name = "Supporting Files";
  168 + sourceTree = "<group>";
  169 + };
  170 + 6003F5B5195388D20070C39A /* Tests */ = {
  171 + isa = PBXGroup;
  172 + children = (
  173 + 6003F5BB195388D20070C39A /* Tests.m */,
  174 + 6003F5B6195388D20070C39A /* Supporting Files */,
  175 + );
  176 + path = Tests;
  177 + sourceTree = "<group>";
  178 + };
  179 + 6003F5B6195388D20070C39A /* Supporting Files */ = {
  180 + isa = PBXGroup;
  181 + children = (
  182 + 6003F5B7195388D20070C39A /* Tests-Info.plist */,
  183 + 6003F5B8195388D20070C39A /* InfoPlist.strings */,
  184 + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */,
  185 + );
  186 + name = "Supporting Files";
  187 + sourceTree = "<group>";
  188 + };
  189 + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = {
  190 + isa = PBXGroup;
  191 + children = (
  192 + 111137C132A4B1D370396111 /* CNLiveManager.podspec */,
  193 + C4781E2C13BED994A8399A59 /* README.md */,
  194 + BF03162B261A8BE59FAAE4A8 /* LICENSE */,
  195 + );
  196 + name = "Podspec Metadata";
  197 + sourceTree = "<group>";
  198 + };
  199 +/* End PBXGroup section */
  200 +
  201 +/* Begin PBXNativeTarget section */
  202 + 6003F589195388D20070C39A /* CNLiveManager_Example */ = {
  203 + isa = PBXNativeTarget;
  204 + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveManager_Example" */;
  205 + buildPhases = (
  206 + 5DE599C03A6EF005BB4E66FA /* [CP] Check Pods Manifest.lock */,
  207 + 6003F586195388D20070C39A /* Sources */,
  208 + 6003F587195388D20070C39A /* Frameworks */,
  209 + 6003F588195388D20070C39A /* Resources */,
  210 + 14D7DE8EF3D8A653D9DF34CE /* [CP] Embed Pods Frameworks */,
  211 + );
  212 + buildRules = (
  213 + );
  214 + dependencies = (
  215 + );
  216 + name = CNLiveManager_Example;
  217 + productName = CNLiveManager;
  218 + productReference = 6003F58A195388D20070C39A /* CNLiveManager_Example.app */;
  219 + productType = "com.apple.product-type.application";
  220 + };
  221 + 6003F5AD195388D20070C39A /* CNLiveManager_Tests */ = {
  222 + isa = PBXNativeTarget;
  223 + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveManager_Tests" */;
  224 + buildPhases = (
  225 + B16773B2E27AC29E50731D53 /* [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 = CNLiveManager_Tests;
  236 + productName = CNLiveManagerTests;
  237 + productReference = 6003F5AE195388D20070C39A /* CNLiveManager_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 "CNLiveManager" */;
  259 + compatibilityVersion = "Xcode 3.2";
  260 + developmentRegion = English;
  261 + hasScannedForEncodings = 0;
  262 + knownRegions = (
  263 + English,
  264 + en,
  265 + Base,
  266 + );
  267 + mainGroup = 6003F581195388D10070C39A;
  268 + productRefGroup = 6003F58B195388D20070C39A /* Products */;
  269 + projectDirPath = "";
  270 + projectRoot = "";
  271 + targets = (
  272 + 6003F589195388D20070C39A /* CNLiveManager_Example */,
  273 + 6003F5AD195388D20070C39A /* CNLiveManager_Tests */,
  274 + );
  275 + };
  276 +/* End PBXProject section */
  277 +
  278 +/* Begin PBXResourcesBuildPhase section */
  279 + 6003F588195388D20070C39A /* Resources */ = {
  280 + isa = PBXResourcesBuildPhase;
  281 + buildActionMask = 2147483647;
  282 + files = (
  283 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */,
  284 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */,
  285 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */,
  286 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */,
  287 + );
  288 + runOnlyForDeploymentPostprocessing = 0;
  289 + };
  290 + 6003F5AC195388D20070C39A /* Resources */ = {
  291 + isa = PBXResourcesBuildPhase;
  292 + buildActionMask = 2147483647;
  293 + files = (
  294 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */,
  295 + );
  296 + runOnlyForDeploymentPostprocessing = 0;
  297 + };
  298 +/* End PBXResourcesBuildPhase section */
  299 +
  300 +/* Begin PBXShellScriptBuildPhase section */
  301 + 14D7DE8EF3D8A653D9DF34CE /* [CP] Embed Pods Frameworks */ = {
  302 + isa = PBXShellScriptBuildPhase;
  303 + buildActionMask = 2147483647;
  304 + files = (
  305 + );
  306 + inputPaths = (
  307 + "${PODS_ROOT}/Target Support Files/Pods-CNLiveManager_Example/Pods-CNLiveManager_Example-frameworks.sh",
  308 + "${BUILT_PRODUCTS_DIR}/CNLiveManager/CNLiveManager.framework",
  309 + );
  310 + name = "[CP] Embed Pods Frameworks";
  311 + outputPaths = (
  312 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveManager.framework",
  313 + );
  314 + runOnlyForDeploymentPostprocessing = 0;
  315 + shellPath = /bin/sh;
  316 + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveManager_Example/Pods-CNLiveManager_Example-frameworks.sh\"\n";
  317 + showEnvVarsInLog = 0;
  318 + };
  319 + 5DE599C03A6EF005BB4E66FA /* [CP] Check Pods Manifest.lock */ = {
  320 + isa = PBXShellScriptBuildPhase;
  321 + buildActionMask = 2147483647;
  322 + files = (
  323 + );
  324 + inputFileListPaths = (
  325 + );
  326 + inputPaths = (
  327 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  328 + "${PODS_ROOT}/Manifest.lock",
  329 + );
  330 + name = "[CP] Check Pods Manifest.lock";
  331 + outputFileListPaths = (
  332 + );
  333 + outputPaths = (
  334 + "$(DERIVED_FILE_DIR)/Pods-CNLiveManager_Example-checkManifestLockResult.txt",
  335 + );
  336 + runOnlyForDeploymentPostprocessing = 0;
  337 + shellPath = /bin/sh;
  338 + 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";
  339 + showEnvVarsInLog = 0;
  340 + };
  341 + B16773B2E27AC29E50731D53 /* [CP] Check Pods Manifest.lock */ = {
  342 + isa = PBXShellScriptBuildPhase;
  343 + buildActionMask = 2147483647;
  344 + files = (
  345 + );
  346 + inputFileListPaths = (
  347 + );
  348 + inputPaths = (
  349 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  350 + "${PODS_ROOT}/Manifest.lock",
  351 + );
  352 + name = "[CP] Check Pods Manifest.lock";
  353 + outputFileListPaths = (
  354 + );
  355 + outputPaths = (
  356 + "$(DERIVED_FILE_DIR)/Pods-CNLiveManager_Tests-checkManifestLockResult.txt",
  357 + );
  358 + runOnlyForDeploymentPostprocessing = 0;
  359 + shellPath = /bin/sh;
  360 + 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";
  361 + showEnvVarsInLog = 0;
  362 + };
  363 +/* End PBXShellScriptBuildPhase section */
  364 +
  365 +/* Begin PBXSourcesBuildPhase section */
  366 + 6003F586195388D20070C39A /* Sources */ = {
  367 + isa = PBXSourcesBuildPhase;
  368 + buildActionMask = 2147483647;
  369 + files = (
  370 + 6003F59E195388D20070C39A /* CNLIVEAppDelegate.m in Sources */,
  371 + 6003F5A7195388D20070C39A /* CNLIVEViewController.m in Sources */,
  372 + 6003F59A195388D20070C39A /* main.m in Sources */,
  373 + );
  374 + runOnlyForDeploymentPostprocessing = 0;
  375 + };
  376 + 6003F5AA195388D20070C39A /* Sources */ = {
  377 + isa = PBXSourcesBuildPhase;
  378 + buildActionMask = 2147483647;
  379 + files = (
  380 + 6003F5BC195388D20070C39A /* Tests.m in Sources */,
  381 + );
  382 + runOnlyForDeploymentPostprocessing = 0;
  383 + };
  384 +/* End PBXSourcesBuildPhase section */
  385 +
  386 +/* Begin PBXTargetDependency section */
  387 + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = {
  388 + isa = PBXTargetDependency;
  389 + target = 6003F589195388D20070C39A /* CNLiveManager_Example */;
  390 + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */;
  391 + };
  392 +/* End PBXTargetDependency section */
  393 +
  394 +/* Begin PBXVariantGroup section */
  395 + 6003F596195388D20070C39A /* InfoPlist.strings */ = {
  396 + isa = PBXVariantGroup;
  397 + children = (
  398 + 6003F597195388D20070C39A /* en */,
  399 + );
  400 + name = InfoPlist.strings;
  401 + sourceTree = "<group>";
  402 + };
  403 + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = {
  404 + isa = PBXVariantGroup;
  405 + children = (
  406 + 6003F5B9195388D20070C39A /* en */,
  407 + );
  408 + name = InfoPlist.strings;
  409 + sourceTree = "<group>";
  410 + };
  411 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = {
  412 + isa = PBXVariantGroup;
  413 + children = (
  414 + 71719F9E1E33DC2100824A3D /* Base */,
  415 + );
  416 + name = LaunchScreen.storyboard;
  417 + sourceTree = "<group>";
  418 + };
  419 +/* End PBXVariantGroup section */
  420 +
  421 +/* Begin XCBuildConfiguration section */
  422 + 6003F5BD195388D20070C39A /* Debug */ = {
  423 + isa = XCBuildConfiguration;
  424 + buildSettings = {
  425 + ALWAYS_SEARCH_USER_PATHS = NO;
  426 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  427 + CLANG_CXX_LIBRARY = "libc++";
  428 + CLANG_ENABLE_MODULES = YES;
  429 + CLANG_ENABLE_OBJC_ARC = YES;
  430 + CLANG_WARN_BOOL_CONVERSION = YES;
  431 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  432 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  433 + CLANG_WARN_EMPTY_BODY = YES;
  434 + CLANG_WARN_ENUM_CONVERSION = YES;
  435 + CLANG_WARN_INT_CONVERSION = YES;
  436 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  437 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  438 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  439 + COPY_PHASE_STRIP = NO;
  440 + ENABLE_TESTABILITY = YES;
  441 + GCC_C_LANGUAGE_STANDARD = gnu99;
  442 + GCC_DYNAMIC_NO_PIC = NO;
  443 + GCC_OPTIMIZATION_LEVEL = 0;
  444 + GCC_PREPROCESSOR_DEFINITIONS = (
  445 + "DEBUG=1",
  446 + "$(inherited)",
  447 + );
  448 + GCC_SYMBOLS_PRIVATE_EXTERN = NO;
  449 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  450 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  451 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  452 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  453 + GCC_WARN_UNUSED_FUNCTION = YES;
  454 + GCC_WARN_UNUSED_VARIABLE = YES;
  455 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  456 + ONLY_ACTIVE_ARCH = YES;
  457 + SDKROOT = iphoneos;
  458 + TARGETED_DEVICE_FAMILY = "1,2";
  459 + };
  460 + name = Debug;
  461 + };
  462 + 6003F5BE195388D20070C39A /* Release */ = {
  463 + isa = XCBuildConfiguration;
  464 + buildSettings = {
  465 + ALWAYS_SEARCH_USER_PATHS = NO;
  466 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  467 + CLANG_CXX_LIBRARY = "libc++";
  468 + CLANG_ENABLE_MODULES = YES;
  469 + CLANG_ENABLE_OBJC_ARC = YES;
  470 + CLANG_WARN_BOOL_CONVERSION = YES;
  471 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  472 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  473 + CLANG_WARN_EMPTY_BODY = YES;
  474 + CLANG_WARN_ENUM_CONVERSION = YES;
  475 + CLANG_WARN_INT_CONVERSION = YES;
  476 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  477 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  478 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  479 + COPY_PHASE_STRIP = YES;
  480 + ENABLE_NS_ASSERTIONS = NO;
  481 + GCC_C_LANGUAGE_STANDARD = gnu99;
  482 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  483 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  484 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  485 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  486 + GCC_WARN_UNUSED_FUNCTION = YES;
  487 + GCC_WARN_UNUSED_VARIABLE = YES;
  488 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  489 + SDKROOT = iphoneos;
  490 + TARGETED_DEVICE_FAMILY = "1,2";
  491 + VALIDATE_PRODUCT = YES;
  492 + };
  493 + name = Release;
  494 + };
  495 + 6003F5C0195388D20070C39A /* Debug */ = {
  496 + isa = XCBuildConfiguration;
  497 + baseConfigurationReference = 64199F090FE59CEB8AFDB9A2 /* Pods-CNLiveManager_Example.debug.xcconfig */;
  498 + buildSettings = {
  499 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  500 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  501 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  502 + GCC_PREFIX_HEADER = "CNLiveManager/CNLiveManager-Prefix.pch";
  503 + INFOPLIST_FILE = "CNLiveManager/CNLiveManager-Info.plist";
  504 + MODULE_NAME = ExampleApp;
  505 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  506 + PRODUCT_NAME = "$(TARGET_NAME)";
  507 + SWIFT_VERSION = 4.0;
  508 + WRAPPER_EXTENSION = app;
  509 + };
  510 + name = Debug;
  511 + };
  512 + 6003F5C1195388D20070C39A /* Release */ = {
  513 + isa = XCBuildConfiguration;
  514 + baseConfigurationReference = A4D3C0E43A168C119F09436F /* Pods-CNLiveManager_Example.release.xcconfig */;
  515 + buildSettings = {
  516 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  517 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  518 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  519 + GCC_PREFIX_HEADER = "CNLiveManager/CNLiveManager-Prefix.pch";
  520 + INFOPLIST_FILE = "CNLiveManager/CNLiveManager-Info.plist";
  521 + MODULE_NAME = ExampleApp;
  522 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  523 + PRODUCT_NAME = "$(TARGET_NAME)";
  524 + SWIFT_VERSION = 4.0;
  525 + WRAPPER_EXTENSION = app;
  526 + };
  527 + name = Release;
  528 + };
  529 + 6003F5C3195388D20070C39A /* Debug */ = {
  530 + isa = XCBuildConfiguration;
  531 + baseConfigurationReference = C456DCEF63F2C5959DDB1056 /* Pods-CNLiveManager_Tests.debug.xcconfig */;
  532 + buildSettings = {
  533 + BUNDLE_LOADER = "$(TEST_HOST)";
  534 + FRAMEWORK_SEARCH_PATHS = (
  535 + "$(PLATFORM_DIR)/Developer/Library/Frameworks",
  536 + "$(inherited)",
  537 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  538 + );
  539 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  540 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  541 + GCC_PREPROCESSOR_DEFINITIONS = (
  542 + "DEBUG=1",
  543 + "$(inherited)",
  544 + );
  545 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  546 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  547 + PRODUCT_NAME = "$(TARGET_NAME)";
  548 + SWIFT_VERSION = 4.0;
  549 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveManager_Example.app/CNLiveManager_Example";
  550 + WRAPPER_EXTENSION = xctest;
  551 + };
  552 + name = Debug;
  553 + };
  554 + 6003F5C4195388D20070C39A /* Release */ = {
  555 + isa = XCBuildConfiguration;
  556 + baseConfigurationReference = C9EB4C60E59D324C48B5EDC1 /* Pods-CNLiveManager_Tests.release.xcconfig */;
  557 + buildSettings = {
  558 + BUNDLE_LOADER = "$(TEST_HOST)";
  559 + FRAMEWORK_SEARCH_PATHS = (
  560 + "$(PLATFORM_DIR)/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 + SWIFT_VERSION = 4.0;
  570 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveManager_Example.app/CNLiveManager_Example";
  571 + WRAPPER_EXTENSION = xctest;
  572 + };
  573 + name = Release;
  574 + };
  575 +/* End XCBuildConfiguration section */
  576 +
  577 +/* Begin XCConfigurationList section */
  578 + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveManager" */ = {
  579 + isa = XCConfigurationList;
  580 + buildConfigurations = (
  581 + 6003F5BD195388D20070C39A /* Debug */,
  582 + 6003F5BE195388D20070C39A /* Release */,
  583 + );
  584 + defaultConfigurationIsVisible = 0;
  585 + defaultConfigurationName = Release;
  586 + };
  587 + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveManager_Example" */ = {
  588 + isa = XCConfigurationList;
  589 + buildConfigurations = (
  590 + 6003F5C0195388D20070C39A /* Debug */,
  591 + 6003F5C1195388D20070C39A /* Release */,
  592 + );
  593 + defaultConfigurationIsVisible = 0;
  594 + defaultConfigurationName = Release;
  595 + };
  596 + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveManager_Tests" */ = {
  597 + isa = XCConfigurationList;
  598 + buildConfigurations = (
  599 + 6003F5C3195388D20070C39A /* Debug */,
  600 + 6003F5C4195388D20070C39A /* Release */,
  601 + );
  602 + defaultConfigurationIsVisible = 0;
  603 + defaultConfigurationName = Release;
  604 + };
  605 +/* End XCConfigurationList section */
  606 + };
  607 + rootObject = 6003F582195388D10070C39A /* Project object */;
  608 +}
Example/CNLiveManager.xcodeproj/xcshareddata/xcschemes/CNLiveManager-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 = "CNLiveManager_Example.app"
  19 + BlueprintName = "CNLiveManager_Example"
  20 + ReferencedContainer = "container:CNLiveManager.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 = "CNLiveManager_Tests.xctest"
  37 + BlueprintName = "CNLiveManager_Tests"
  38 + ReferencedContainer = "container:CNLiveManager.xcodeproj">
  39 + </BuildableReference>
  40 + </TestableReference>
  41 + </Testables>
  42 + <MacroExpansion>
  43 + <BuildableReference
  44 + BuildableIdentifier = "primary"
  45 + BlueprintIdentifier = "6003F589195388D20070C39A"
  46 + BuildableName = "CNLiveManager_Example.app"
  47 + BlueprintName = "CNLiveManager_Example"
  48 + ReferencedContainer = "container:CNLiveManager.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 = "CNLiveManager_Example.app"
  70 + BlueprintName = "CNLiveManager_Example"
  71 + ReferencedContainer = "container:CNLiveManager.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 = "CNLiveManager_Example.app"
  89 + BlueprintName = "CNLiveManager_Example"
  90 + ReferencedContainer = "container:CNLiveManager.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/CNLiveManager/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/CNLiveManager/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/CNLiveManager/CNLIVEAppDelegate.h 0 → 100644
  1 +//
  2 +// CNLIVEAppDelegate.h
  3 +// CNLiveManager
  4 +//
  5 +// Created by 153993236@qq.com on 11/25/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/CNLiveManager/CNLIVEAppDelegate.m 0 → 100644
  1 +//
  2 +// CNLIVEAppDelegate.m
  3 +// CNLiveManager
  4 +//
  5 +// Created by 153993236@qq.com on 11/25/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/CNLiveManager/CNLIVEViewController.h 0 → 100644
  1 +//
  2 +// CNLIVEViewController.h
  3 +// CNLiveManager
  4 +//
  5 +// Created by 153993236@qq.com on 11/25/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/CNLiveManager/CNLIVEViewController.m 0 → 100644
  1 +//
  2 +// CNLIVEViewController.m
  3 +// CNLiveManager
  4 +//
  5 +// Created by 153993236@qq.com on 11/25/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/CNLiveManager/CNLiveManager-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/CNLiveManager/CNLiveManager-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/CNLiveManager/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/CNLiveManager/en.lproj/InfoPlist.strings 0 → 100644
  1 +/* Localized versions of Info.plist keys */
  2 +
Example/CNLiveManager/main.m 0 → 100644
  1 +//
  2 +// main.m
  3 +// CNLiveManager
  4 +//
  5 +// Created by 153993236@qq.com on 11/25/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, '9.0'
  4 +
  5 +target 'CNLiveManager_Example' do
  6 + pod 'CNLiveManager', :path => '../'
  7 +
  8 + target 'CNLiveManager_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 +// CNLiveManagerTests.m
  3 +// CNLiveManagerTests
  4 +//
  5 +// Created by 153993236@qq.com on 11/25/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 +
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 -CNLiveManager  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +# CNLiveManager
  3 +
  4 +[![CI Status](https://img.shields.io/travis/153993236@qq.com/CNLiveManager.svg?style=flat)](https://travis-ci.org/153993236@qq.com/CNLiveManager)
  5 +[![Version](https://img.shields.io/cocoapods/v/CNLiveManager.svg?style=flat)](https://cocoapods.org/pods/CNLiveManager)
  6 +[![License](https://img.shields.io/cocoapods/l/CNLiveManager.svg?style=flat)](https://cocoapods.org/pods/CNLiveManager)
  7 +[![Platform](https://img.shields.io/cocoapods/p/CNLiveManager.svg?style=flat)](https://cocoapods.org/pods/CNLiveManager)
  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 +CNLiveManager is available through [CocoaPods](https://cocoapods.org). To install
  18 +it, simply add the following line to your Podfile:
  19 +
  20 +```ruby
  21 +pod 'CNLiveManager'
  22 +```
  23 +
  24 +## Author
  25 +
  26 +153993236@qq.com, zhangxiaowen@cnlive.com
  27 +
  28 +## License
  29 +
  30 +CNLiveManager is available under the MIT license. See the LICENSE file for more info.
_Pods.xcodeproj 0 → 120000
  1 +Example/Pods/Pods.xcodeproj
0 \ No newline at end of file 2 \ No newline at end of file