Commit 4df339fb50c0bfe71089e46243cce2427c5dd83c

Authored by guoruipeng
0 parents

no message

.gitignore 0 → 100644
  1 +++ a/.gitignore
  1 +# OS X
  2 +.DS_Store
  3 +
  4 +# Xcode
  5 +build/
  6 +Products/
  7 +*.pbxuser
  8 +!default.pbxuser
  9 +*.mode1v3
  10 +!default.mode1v3
  11 +*.mode2v3
  12 +!default.mode2v3
  13 +*.perspectivev3
  14 +!default.perspectivev3
  15 +xcuserdata/
  16 +*.xccheckout
  17 +profile
  18 +*.moved-aside
  19 +DerivedData
  20 +*.hmap
  21 +*.ipa
  22 +
  23 +# Bundler
  24 +.bundle
  25 +
  26 +# Add this line if you want to avoid checking in source code from Carthage dependencies.
  27 +# Carthage/Checkouts
  28 +
  29 +Carthage/Build
  30 +
  31 +# We recommend against adding the Pods directory to your .gitignore. However
  32 +# you should judge for yourself, the pros and cons are mentioned at:
  33 +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
  34 +#
  35 +# Note: if you ignore the Pods directory, make sure to uncomment
  36 +# `pod install` in .travis.yml
  37 +#
  38 +# Pods/
.travis.yml 0 → 100644
  1 +++ a/.travis.yml
  1 +# references:
  2 +# * https://www.objc.io/issues/6-build-tools/travis-ci/
  3 +# * https://github.com/supermarin/xcpretty#usage
  4 +
  5 +osx_image: xcode7.3
  6 +language: objective-c
  7 +# cache: cocoapods
  8 +# podfile: Example/Podfile
  9 +# before_install:
  10 +# - gem install cocoapods # Since Travis is not always on latest version
  11 +# - pod install --project-directory=Example
  12 +script:
  13 +- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/CNLiveBusinessTools.xcworkspace -scheme CNLiveBusinessTools-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
  14 +- pod lib lint
CNLiveBusinessTools.podspec 0 → 100644
  1 +++ a/CNLiveBusinessTools.podspec
  1 +#
  2 +# Be sure to run `pod lib lint CNLiveBusinessTools.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 = 'CNLiveBusinessTools'
  11 + s.version = '0.1.0'
  12 + s.summary = '业务工具集合组件.'
  13 +
  14 +# This description is used to generate tags and improve search results.
  15 +# * Think: What does it do? Why did you write it? What is the focus?
  16 +# * Try to keep it short, snappy and to the point.
  17 +# * Write the description between the DESC delimiters below.
  18 +# * Finally, don't worry about the indent, CocoaPods strips it!
  19 +
  20 + s.description = <<-DESC
  21 +业务工具集合组件.
  22 + DESC
  23 +
  24 + s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBusinessTools.git'
  25 + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  26 + s.license = { :type => 'MIT', :file => 'LICENSE' }
  27 + s.author = { '郭瑞朋' => 'guoruipeng@cnlive.com' }
  28 + s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBusinessTools.git', :tag => s.version.to_s }
  29 + # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  30 +
  31 + s.ios.deployment_target = '8.0'
  32 +
  33 + s.source_files = 'CNLiveBusinessTools/Classes/**/*'
  34 +
  35 + # s.resource_bundles = {
  36 + # 'CNLiveBusinessTools' => ['CNLiveBusinessTools/Assets/*.png']
  37 + # }
  38 +
  39 + # s.public_header_files = 'Pod/Classes/**/*.h'
  40 + s.frameworks = 'UIKit', 'MapKit','Photos'
  41 + # s.dependency 'AFNetworking', '~> 2.3'
  42 +end
CNLiveBusinessTools/Assets/.gitkeep 0 → 100644
  1 +++ a/CNLiveBusinessTools/Assets/.gitkeep
CNLiveBusinessTools/Classes/.gitkeep 0 → 100644
  1 +++ a/CNLiveBusinessTools/Classes/.gitkeep
CNLiveBusinessTools/Classes/CNLiveBusinessTools.h 0 → 100644
  1 +++ a/CNLiveBusinessTools/Classes/CNLiveBusinessTools.h
  1 +//
  2 +// CNLiveBusinessTools.h
  3 +// CNLiveBusinessTools
  4 +//
  5 +// Created by open on 2019/5/8.
  6 +//
  7 +
  8 +#import <Foundation/Foundation.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +typedef NS_ENUM(NSInteger, CNStatType) {
  12 + CNStatTypeContentCount = 0, //内容次数统计
  13 + CNStatTypeContentDuration, //内容时长统计
  14 + CNStatTypeShareCount //分享次数统计
  15 +};
  16 +
  17 +@interface CNLiveBusinessTools : NSObject
  18 +#pragma mark -- 统计
  19 +/**
  20 + 统计eventId
  21 +
  22 + @param statType 统计类型
  23 + @param type 内容类型 例如:szzg/sxzg/daren/app
  24 + @param userId 用户Id
  25 + @C端/B端
  26 + @return eventId
  27 + */
  28 ++ (NSString *)cnStatWithType:(CNStatType)statType type:(NSString *)type userId:(NSString *)userId programId:(NSString *)programId title:(NSString *)title;
  29 +// 分享单独使用
  30 ++ (NSString *)cnStatWithType:(CNStatType)statType type:(NSString *)type userId:(NSString *)userId programId:(NSString *)programId title:(NSString *)title shareToType:(NSString *)shareToType;
  31 +
  32 +#pragma mark --
  33 +#pragma mark -- UUID
  34 +// 获取UUID
  35 ++ (NSString *)getUidForStat:(NSDate *)date;
  36 +#pragma mark --
  37 +#pragma mark -- 获取 GIF 处理
  38 ++ (BOOL)isGif:(id)asset;
  39 ++ (BOOL)isGifWithImageData: (NSData *)data;
  40 +#pragma mark --
  41 +@end
  42 +
  43 +NS_ASSUME_NONNULL_END
CNLiveBusinessTools/Classes/CNLiveBusinessTools.m 0 → 100644
  1 +++ a/CNLiveBusinessTools/Classes/CNLiveBusinessTools.m
  1 +//
  2 +// CNLiveBusinessTools.m
  3 +// CNLiveBusinessTools
  4 +//
  5 +// Created by open on 2019/5/8.
  6 +//
  7 +
  8 +#import "CNLiveBusinessTools.h"
  9 +#import <Photos/Photos.h>
  10 +
  11 +@implementation CNLiveBusinessTools
  12 +
  13 ++ (NSString *)cnStatWithType:(CNStatType)statType type:(NSString *)type userId:(NSString *)userId programId:(NSString *)programId title:(NSString *)title {
  14 +
  15 + NSString *statStr = @"";
  16 + switch (statType) {
  17 + case CNStatTypeContentCount:
  18 + statStr = @"count";
  19 + break;
  20 + case CNStatTypeContentDuration:
  21 + statStr = @"duration";
  22 + break;
  23 + case CNStatTypeShareCount:
  24 + statStr = @"share";
  25 + break;
  26 + default:
  27 + break;
  28 + }
  29 + NSString *channelTypeStr = type?type:@"";
  30 + NSString *uIdStr = userId?userId:@"";
  31 + NSString *proIdStr = programId?programId:@"";
  32 + NSString *titleStr = title?title:@"";
  33 +
  34 + NSString *eventStr = [NSString stringWithFormat:@"type__%@-channel__%@-sid__%@-uid__%@-pid__%@-title__%@-data_",statStr,channelTypeStr,uIdStr,[self getUidForStat:[NSDate date]],proIdStr,titleStr];
  35 + NSLog(@"event:%@",eventStr);
  36 + return eventStr;
  37 +}
  38 ++ (NSString *)getUidForStat:(NSDate *)date {
  39 +
  40 + NSString *uid = @"";
  41 + NSUserDefaults *defauts = [NSUserDefaults standardUserDefaults];
  42 + if ([defauts objectForKey:@"kCNLiveUserDefaultsStatUIDKey"]) {
  43 + uid = [[defauts objectForKey:@"kCNLiveUserDefaultsStatUIDKey"] copy];
  44 + return uid;
  45 + }
  46 + else {
  47 +
  48 + NSString *idfv = @"";
  49 + if ([defauts objectForKey:@"kCNLiveUserDefaultsTingYunUIDKey"]) {
  50 + idfv = [[defauts objectForKey:@"kCNLiveUserDefaultsTingYunUIDKey"] copy];
  51 + } else {
  52 + idfv = [[[[UIDevice currentDevice] identifierForVendor] UUIDString] stringByReplacingOccurrencesOfString:@"-" withString:@""];
  53 + }
  54 + NSString *stamp = [NSString stringWithFormat:@"%.3f", [date timeIntervalSince1970]];
  55 + stamp = [stamp stringByReplacingOccurrencesOfString:@"." withString:@""];
  56 + uid = [NSString stringWithFormat:@"%@_%@", idfv, stamp];
  57 + [defauts setObject:uid forKey:@"kCNLiveUserDefaultsStatUIDKey"];
  58 + [defauts synchronize];
  59 + }
  60 + return uid;
  61 +}
  62 +
  63 ++ (NSString *)cnStatWithType:(CNStatType)statType type:(NSString *)type userId:(NSString *)userId programId:(NSString *)programId title:(NSString *)title shareToType:(NSString *)shareToType
  64 +{
  65 + NSString *statStr = @"";
  66 + switch (statType) {
  67 + case CNStatTypeContentCount:
  68 + statStr = @"count";
  69 + break;
  70 + case CNStatTypeContentDuration:
  71 + statStr = @"duration";
  72 + break;
  73 + case CNStatTypeShareCount:
  74 + statStr = @"share";
  75 + break;
  76 + default:
  77 + break;
  78 + }
  79 + NSString *channelTypeStr = type?type:@"";
  80 + NSString *uIdStr = userId?userId:@"";
  81 + NSString *proIdStr = programId?programId:@"";
  82 + NSString *titleStr = title?title:@"";
  83 + NSString *shareToTypeStr = shareToType?shareToType:@"";
  84 +
  85 + NSString *eventStr = [NSString stringWithFormat:@"type__%@-channel__%@-sid__%@-uid__%@-pid__%@-title__%@-to__%@-data_",statStr,channelTypeStr,uIdStr,[self getUidForStat:[NSDate date]],proIdStr,titleStr,shareToTypeStr];
  86 + NSLog(@"event:%@",eventStr);
  87 + return eventStr;
  88 +}
  89 ++ (BOOL)isGif:(id)asset {
  90 +
  91 + if ([asset isKindOfClass:[PHAsset class]]) {
  92 + PHAsset *phAsset = (PHAsset *)asset;
  93 + if (phAsset.mediaType == PHAssetMediaTypeImage) {
  94 + // Gif
  95 + if ([[phAsset valueForKey:@"filename"] hasSuffix:@"GIF"]) {
  96 + return YES;
  97 + }
  98 + }
  99 + }
  100 + return NO;
  101 +}
  102 ++ (BOOL)isGifWithImageData: (NSData *)data {
  103 + if ([[self contentTypeWithImageData:data] isEqualToString:@"gif"]) {
  104 + return YES;
  105 + }
  106 + return NO;
  107 +}
  108 ++ (NSString *)contentTypeWithImageData: (NSData *)data {
  109 +
  110 + uint8_t c;
  111 +
  112 + [data getBytes:&c length:1];
  113 +
  114 + switch (c) {
  115 +
  116 + case 0xFF:
  117 +
  118 + return @"jpeg";
  119 +
  120 + case 0x89:
  121 +
  122 + return @"png";
  123 +
  124 + case 0x47:
  125 +
  126 + return @"gif";
  127 +
  128 + case 0x49:
  129 +
  130 + case 0x4D:
  131 +
  132 + return @"tiff";
  133 +
  134 + case 0x52:
  135 +
  136 + if ([data length] < 12) {
  137 +
  138 + return nil;
  139 +
  140 + }
  141 +
  142 + NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(0, 12)] encoding:NSASCIIStringEncoding];
  143 +
  144 + if ([testString hasPrefix:@"RIFF"] && [testString hasSuffix:@"WEBP"]) {
  145 +
  146 + return @"webp";
  147 +
  148 + }
  149 +
  150 + return nil;
  151 +
  152 + }
  153 +
  154 + return nil;
  155 +}
  156 +@end
CNLiveBusinessTools/Classes/ReplaceMe.m 0 → 100644
  1 +++ a/CNLiveBusinessTools/Classes/ReplaceMe.m
Example/CNLiveBusinessTools.xcodeproj/project.pbxproj 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools.xcodeproj/project.pbxproj
  1 +// !$*UTF8*$!
  2 +{
  3 + archiveVersion = 1;
  4 + classes = {
  5 + };
  6 + objectVersion = 46;
  7 + objects = {
  8 +
  9 +/* Begin PBXBuildFile section */
  10 + 1C36140253BB3AF753EBEF2C /* Pods_CNLiveBusinessTools_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB458B2CAEDD5F801D241AE5 /* Pods_CNLiveBusinessTools_Example.framework */; };
  11 + 4B6C5910699EFA162F7E4847 /* Pods_CNLiveBusinessTools_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28EF1770DF81796C3743E3C0 /* Pods_CNLiveBusinessTools_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 = CNLiveBusinessTools;
  36 + };
  37 +/* End PBXContainerItemProxy section */
  38 +
  39 +/* Begin PBXFileReference section */
  40 + 0A26941BBE815CCD23EC53F1 /* Pods-CNLiveBusinessTools_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBusinessTools_Example.release.xcconfig"; path = "Target Support Files/Pods-CNLiveBusinessTools_Example/Pods-CNLiveBusinessTools_Example.release.xcconfig"; sourceTree = "<group>"; };
  41 + 1FE46CBAA067411E31050CD0 /* CNLiveBusinessTools.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveBusinessTools.podspec; path = ../CNLiveBusinessTools.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  42 + 28EF1770DF81796C3743E3C0 /* Pods_CNLiveBusinessTools_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveBusinessTools_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  43 + 4466361D16C418EA23A8F8AF /* Pods-CNLiveBusinessTools_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBusinessTools_Tests.release.xcconfig"; path = "Target Support Files/Pods-CNLiveBusinessTools_Tests/Pods-CNLiveBusinessTools_Tests.release.xcconfig"; sourceTree = "<group>"; };
  44 + 6003F58A195388D20070C39A /* CNLiveBusinessTools_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveBusinessTools_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
  45 + 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
  46 + 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
  47 + 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
  48 + 6003F595195388D20070C39A /* CNLiveBusinessTools-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveBusinessTools-Info.plist"; sourceTree = "<group>"; };
  49 + 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  50 + 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
  51 + 6003F59B195388D20070C39A /* CNLiveBusinessTools-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveBusinessTools-Prefix.pch"; sourceTree = "<group>"; };
  52 + 6003F59C195388D20070C39A /* CNLiveAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLiveAppDelegate.h; sourceTree = "<group>"; };
  53 + 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLiveAppDelegate.m; sourceTree = "<group>"; };
  54 + 6003F5A5195388D20070C39A /* CNLiveViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLiveViewController.h; sourceTree = "<group>"; };
  55 + 6003F5A6195388D20070C39A /* CNLiveViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLiveViewController.m; sourceTree = "<group>"; };
  56 + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
  57 + 6003F5AE195388D20070C39A /* CNLiveBusinessTools_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveBusinessTools_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
  58 + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
  59 + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; };
  60 + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  61 + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; };
  62 + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; };
  63 + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
  64 + 7BFBC8E0802560D98079DD83 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
  65 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
  66 + 9FFDAD7DD9F92D758D8C0214 /* Pods-CNLiveBusinessTools_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBusinessTools_Example.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveBusinessTools_Example/Pods-CNLiveBusinessTools_Example.debug.xcconfig"; sourceTree = "<group>"; };
  67 + AB458B2CAEDD5F801D241AE5 /* Pods_CNLiveBusinessTools_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveBusinessTools_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  68 + DD8D55DDCADAA245B0B08439 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
  69 + F0FB9FD13BA329FF4C2F540C /* Pods-CNLiveBusinessTools_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBusinessTools_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveBusinessTools_Tests/Pods-CNLiveBusinessTools_Tests.debug.xcconfig"; sourceTree = "<group>"; };
  70 +/* End PBXFileReference section */
  71 +
  72 +/* Begin PBXFrameworksBuildPhase section */
  73 + 6003F587195388D20070C39A /* Frameworks */ = {
  74 + isa = PBXFrameworksBuildPhase;
  75 + buildActionMask = 2147483647;
  76 + files = (
  77 + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */,
  78 + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */,
  79 + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */,
  80 + 1C36140253BB3AF753EBEF2C /* Pods_CNLiveBusinessTools_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 + 4B6C5910699EFA162F7E4847 /* Pods_CNLiveBusinessTools_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 CNLiveBusinessTools */,
  103 + 6003F5B5195388D20070C39A /* Tests */,
  104 + 6003F58C195388D20070C39A /* Frameworks */,
  105 + 6003F58B195388D20070C39A /* Products */,
  106 + DDE90EF4CAFEF4FD00CDCBB9 /* Pods */,
  107 + );
  108 + sourceTree = "<group>";
  109 + };
  110 + 6003F58B195388D20070C39A /* Products */ = {
  111 + isa = PBXGroup;
  112 + children = (
  113 + 6003F58A195388D20070C39A /* CNLiveBusinessTools_Example.app */,
  114 + 6003F5AE195388D20070C39A /* CNLiveBusinessTools_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 + AB458B2CAEDD5F801D241AE5 /* Pods_CNLiveBusinessTools_Example.framework */,
  127 + 28EF1770DF81796C3743E3C0 /* Pods_CNLiveBusinessTools_Tests.framework */,
  128 + );
  129 + name = Frameworks;
  130 + sourceTree = "<group>";
  131 + };
  132 + 6003F593195388D20070C39A /* Example for CNLiveBusinessTools */ = {
  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 CNLiveBusinessTools";
  145 + path = CNLiveBusinessTools;
  146 + sourceTree = "<group>";
  147 + };
  148 + 6003F594195388D20070C39A /* Supporting Files */ = {
  149 + isa = PBXGroup;
  150 + children = (
  151 + 6003F595195388D20070C39A /* CNLiveBusinessTools-Info.plist */,
  152 + 6003F596195388D20070C39A /* InfoPlist.strings */,
  153 + 6003F599195388D20070C39A /* main.m */,
  154 + 6003F59B195388D20070C39A /* CNLiveBusinessTools-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 + 1FE46CBAA067411E31050CD0 /* CNLiveBusinessTools.podspec */,
  182 + DD8D55DDCADAA245B0B08439 /* README.md */,
  183 + 7BFBC8E0802560D98079DD83 /* LICENSE */,
  184 + );
  185 + name = "Podspec Metadata";
  186 + sourceTree = "<group>";
  187 + };
  188 + DDE90EF4CAFEF4FD00CDCBB9 /* Pods */ = {
  189 + isa = PBXGroup;
  190 + children = (
  191 + 9FFDAD7DD9F92D758D8C0214 /* Pods-CNLiveBusinessTools_Example.debug.xcconfig */,
  192 + 0A26941BBE815CCD23EC53F1 /* Pods-CNLiveBusinessTools_Example.release.xcconfig */,
  193 + F0FB9FD13BA329FF4C2F540C /* Pods-CNLiveBusinessTools_Tests.debug.xcconfig */,
  194 + 4466361D16C418EA23A8F8AF /* Pods-CNLiveBusinessTools_Tests.release.xcconfig */,
  195 + );
  196 + path = Pods;
  197 + sourceTree = "<group>";
  198 + };
  199 +/* End PBXGroup section */
  200 +
  201 +/* Begin PBXNativeTarget section */
  202 + 6003F589195388D20070C39A /* CNLiveBusinessTools_Example */ = {
  203 + isa = PBXNativeTarget;
  204 + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBusinessTools_Example" */;
  205 + buildPhases = (
  206 + E8231C3E5CBA7CDBED05E71D /* [CP] Check Pods Manifest.lock */,
  207 + 6003F586195388D20070C39A /* Sources */,
  208 + 6003F587195388D20070C39A /* Frameworks */,
  209 + 6003F588195388D20070C39A /* Resources */,
  210 + FB47CD5550AF5CBC50CAF8AB /* [CP] Embed Pods Frameworks */,
  211 + );
  212 + buildRules = (
  213 + );
  214 + dependencies = (
  215 + );
  216 + name = CNLiveBusinessTools_Example;
  217 + productName = CNLiveBusinessTools;
  218 + productReference = 6003F58A195388D20070C39A /* CNLiveBusinessTools_Example.app */;
  219 + productType = "com.apple.product-type.application";
  220 + };
  221 + 6003F5AD195388D20070C39A /* CNLiveBusinessTools_Tests */ = {
  222 + isa = PBXNativeTarget;
  223 + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBusinessTools_Tests" */;
  224 + buildPhases = (
  225 + 8EC89BB3E783A11E7E4DEB0B /* [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 = CNLiveBusinessTools_Tests;
  236 + productName = CNLiveBusinessToolsTests;
  237 + productReference = 6003F5AE195388D20070C39A /* CNLiveBusinessTools_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 = 1020;
  248 + ORGANIZATIONNAME = "郭瑞朋";
  249 + TargetAttributes = {
  250 + 6003F589195388D20070C39A = {
  251 + DevelopmentTeam = 94X49GG3ZW;
  252 + };
  253 + 6003F5AD195388D20070C39A = {
  254 + TestTargetID = 6003F589195388D20070C39A;
  255 + };
  256 + };
  257 + };
  258 + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveBusinessTools" */;
  259 + compatibilityVersion = "Xcode 3.2";
  260 + developmentRegion = en;
  261 + hasScannedForEncodings = 0;
  262 + knownRegions = (
  263 + en,
  264 + Base,
  265 + );
  266 + mainGroup = 6003F581195388D10070C39A;
  267 + productRefGroup = 6003F58B195388D20070C39A /* Products */;
  268 + projectDirPath = "";
  269 + projectRoot = "";
  270 + targets = (
  271 + 6003F589195388D20070C39A /* CNLiveBusinessTools_Example */,
  272 + 6003F5AD195388D20070C39A /* CNLiveBusinessTools_Tests */,
  273 + );
  274 + };
  275 +/* End PBXProject section */
  276 +
  277 +/* Begin PBXResourcesBuildPhase section */
  278 + 6003F588195388D20070C39A /* Resources */ = {
  279 + isa = PBXResourcesBuildPhase;
  280 + buildActionMask = 2147483647;
  281 + files = (
  282 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */,
  283 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */,
  284 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */,
  285 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */,
  286 + );
  287 + runOnlyForDeploymentPostprocessing = 0;
  288 + };
  289 + 6003F5AC195388D20070C39A /* Resources */ = {
  290 + isa = PBXResourcesBuildPhase;
  291 + buildActionMask = 2147483647;
  292 + files = (
  293 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */,
  294 + );
  295 + runOnlyForDeploymentPostprocessing = 0;
  296 + };
  297 +/* End PBXResourcesBuildPhase section */
  298 +
  299 +/* Begin PBXShellScriptBuildPhase section */
  300 + 8EC89BB3E783A11E7E4DEB0B /* [CP] Check Pods Manifest.lock */ = {
  301 + isa = PBXShellScriptBuildPhase;
  302 + buildActionMask = 2147483647;
  303 + files = (
  304 + );
  305 + inputFileListPaths = (
  306 + );
  307 + inputPaths = (
  308 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  309 + "${PODS_ROOT}/Manifest.lock",
  310 + );
  311 + name = "[CP] Check Pods Manifest.lock";
  312 + outputFileListPaths = (
  313 + );
  314 + outputPaths = (
  315 + "$(DERIVED_FILE_DIR)/Pods-CNLiveBusinessTools_Tests-checkManifestLockResult.txt",
  316 + );
  317 + runOnlyForDeploymentPostprocessing = 0;
  318 + shellPath = /bin/sh;
  319 + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
  320 + showEnvVarsInLog = 0;
  321 + };
  322 + E8231C3E5CBA7CDBED05E71D /* [CP] Check Pods Manifest.lock */ = {
  323 + isa = PBXShellScriptBuildPhase;
  324 + buildActionMask = 2147483647;
  325 + files = (
  326 + );
  327 + inputFileListPaths = (
  328 + );
  329 + inputPaths = (
  330 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  331 + "${PODS_ROOT}/Manifest.lock",
  332 + );
  333 + name = "[CP] Check Pods Manifest.lock";
  334 + outputFileListPaths = (
  335 + );
  336 + outputPaths = (
  337 + "$(DERIVED_FILE_DIR)/Pods-CNLiveBusinessTools_Example-checkManifestLockResult.txt",
  338 + );
  339 + runOnlyForDeploymentPostprocessing = 0;
  340 + shellPath = /bin/sh;
  341 + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
  342 + showEnvVarsInLog = 0;
  343 + };
  344 + FB47CD5550AF5CBC50CAF8AB /* [CP] Embed Pods Frameworks */ = {
  345 + isa = PBXShellScriptBuildPhase;
  346 + buildActionMask = 2147483647;
  347 + files = (
  348 + );
  349 + inputFileListPaths = (
  350 + );
  351 + inputPaths = (
  352 + "${PODS_ROOT}/Target Support Files/Pods-CNLiveBusinessTools_Example/Pods-CNLiveBusinessTools_Example-frameworks.sh",
  353 + "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework",
  354 + );
  355 + name = "[CP] Embed Pods Frameworks";
  356 + outputFileListPaths = (
  357 + );
  358 + outputPaths = (
  359 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework",
  360 + );
  361 + runOnlyForDeploymentPostprocessing = 0;
  362 + shellPath = /bin/sh;
  363 + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveBusinessTools_Example/Pods-CNLiveBusinessTools_Example-frameworks.sh\"\n";
  364 + showEnvVarsInLog = 0;
  365 + };
  366 +/* End PBXShellScriptBuildPhase section */
  367 +
  368 +/* Begin PBXSourcesBuildPhase section */
  369 + 6003F586195388D20070C39A /* Sources */ = {
  370 + isa = PBXSourcesBuildPhase;
  371 + buildActionMask = 2147483647;
  372 + files = (
  373 + 6003F59E195388D20070C39A /* CNLiveAppDelegate.m in Sources */,
  374 + 6003F5A7195388D20070C39A /* CNLiveViewController.m in Sources */,
  375 + 6003F59A195388D20070C39A /* main.m in Sources */,
  376 + );
  377 + runOnlyForDeploymentPostprocessing = 0;
  378 + };
  379 + 6003F5AA195388D20070C39A /* Sources */ = {
  380 + isa = PBXSourcesBuildPhase;
  381 + buildActionMask = 2147483647;
  382 + files = (
  383 + 6003F5BC195388D20070C39A /* Tests.m in Sources */,
  384 + );
  385 + runOnlyForDeploymentPostprocessing = 0;
  386 + };
  387 +/* End PBXSourcesBuildPhase section */
  388 +
  389 +/* Begin PBXTargetDependency section */
  390 + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = {
  391 + isa = PBXTargetDependency;
  392 + target = 6003F589195388D20070C39A /* CNLiveBusinessTools_Example */;
  393 + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */;
  394 + };
  395 +/* End PBXTargetDependency section */
  396 +
  397 +/* Begin PBXVariantGroup section */
  398 + 6003F596195388D20070C39A /* InfoPlist.strings */ = {
  399 + isa = PBXVariantGroup;
  400 + children = (
  401 + 6003F597195388D20070C39A /* en */,
  402 + );
  403 + name = InfoPlist.strings;
  404 + sourceTree = "<group>";
  405 + };
  406 + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = {
  407 + isa = PBXVariantGroup;
  408 + children = (
  409 + 6003F5B9195388D20070C39A /* en */,
  410 + );
  411 + name = InfoPlist.strings;
  412 + sourceTree = "<group>";
  413 + };
  414 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = {
  415 + isa = PBXVariantGroup;
  416 + children = (
  417 + 71719F9E1E33DC2100824A3D /* Base */,
  418 + );
  419 + name = LaunchScreen.storyboard;
  420 + sourceTree = "<group>";
  421 + };
  422 +/* End PBXVariantGroup section */
  423 +
  424 +/* Begin XCBuildConfiguration section */
  425 + 6003F5BD195388D20070C39A /* Debug */ = {
  426 + isa = XCBuildConfiguration;
  427 + buildSettings = {
  428 + ALWAYS_SEARCH_USER_PATHS = NO;
  429 + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
  430 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  431 + CLANG_CXX_LIBRARY = "libc++";
  432 + CLANG_ENABLE_MODULES = YES;
  433 + CLANG_ENABLE_OBJC_ARC = YES;
  434 + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
  435 + CLANG_WARN_BOOL_CONVERSION = YES;
  436 + CLANG_WARN_COMMA = YES;
  437 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  438 + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
  439 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  440 + CLANG_WARN_EMPTY_BODY = YES;
  441 + CLANG_WARN_ENUM_CONVERSION = YES;
  442 + CLANG_WARN_INFINITE_RECURSION = YES;
  443 + CLANG_WARN_INT_CONVERSION = YES;
  444 + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
  445 + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
  446 + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
  447 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  448 + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
  449 + CLANG_WARN_STRICT_PROTOTYPES = YES;
  450 + CLANG_WARN_SUSPICIOUS_MOVE = YES;
  451 + CLANG_WARN_UNREACHABLE_CODE = YES;
  452 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  453 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  454 + COPY_PHASE_STRIP = NO;
  455 + ENABLE_STRICT_OBJC_MSGSEND = YES;
  456 + ENABLE_TESTABILITY = YES;
  457 + GCC_C_LANGUAGE_STANDARD = gnu99;
  458 + GCC_DYNAMIC_NO_PIC = NO;
  459 + GCC_NO_COMMON_BLOCKS = YES;
  460 + GCC_OPTIMIZATION_LEVEL = 0;
  461 + GCC_PREPROCESSOR_DEFINITIONS = (
  462 + "DEBUG=1",
  463 + "$(inherited)",
  464 + );
  465 + GCC_SYMBOLS_PRIVATE_EXTERN = NO;
  466 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  467 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  468 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  469 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  470 + GCC_WARN_UNUSED_FUNCTION = YES;
  471 + GCC_WARN_UNUSED_VARIABLE = YES;
  472 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  473 + ONLY_ACTIVE_ARCH = YES;
  474 + SDKROOT = iphoneos;
  475 + TARGETED_DEVICE_FAMILY = "1,2";
  476 + };
  477 + name = Debug;
  478 + };
  479 + 6003F5BE195388D20070C39A /* Release */ = {
  480 + isa = XCBuildConfiguration;
  481 + buildSettings = {
  482 + ALWAYS_SEARCH_USER_PATHS = NO;
  483 + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
  484 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  485 + CLANG_CXX_LIBRARY = "libc++";
  486 + CLANG_ENABLE_MODULES = YES;
  487 + CLANG_ENABLE_OBJC_ARC = YES;
  488 + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
  489 + CLANG_WARN_BOOL_CONVERSION = YES;
  490 + CLANG_WARN_COMMA = YES;
  491 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  492 + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
  493 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  494 + CLANG_WARN_EMPTY_BODY = YES;
  495 + CLANG_WARN_ENUM_CONVERSION = YES;
  496 + CLANG_WARN_INFINITE_RECURSION = YES;
  497 + CLANG_WARN_INT_CONVERSION = YES;
  498 + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
  499 + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
  500 + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
  501 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  502 + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
  503 + CLANG_WARN_STRICT_PROTOTYPES = YES;
  504 + CLANG_WARN_SUSPICIOUS_MOVE = YES;
  505 + CLANG_WARN_UNREACHABLE_CODE = YES;
  506 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  507 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  508 + COPY_PHASE_STRIP = YES;
  509 + ENABLE_NS_ASSERTIONS = NO;
  510 + ENABLE_STRICT_OBJC_MSGSEND = YES;
  511 + GCC_C_LANGUAGE_STANDARD = gnu99;
  512 + GCC_NO_COMMON_BLOCKS = YES;
  513 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  514 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  515 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  516 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  517 + GCC_WARN_UNUSED_FUNCTION = YES;
  518 + GCC_WARN_UNUSED_VARIABLE = YES;
  519 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  520 + SDKROOT = iphoneos;
  521 + TARGETED_DEVICE_FAMILY = "1,2";
  522 + VALIDATE_PRODUCT = YES;
  523 + };
  524 + name = Release;
  525 + };
  526 + 6003F5C0195388D20070C39A /* Debug */ = {
  527 + isa = XCBuildConfiguration;
  528 + baseConfigurationReference = 9FFDAD7DD9F92D758D8C0214 /* Pods-CNLiveBusinessTools_Example.debug.xcconfig */;
  529 + buildSettings = {
  530 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  531 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  532 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  533 + GCC_PREFIX_HEADER = "CNLiveBusinessTools/CNLiveBusinessTools-Prefix.pch";
  534 + INFOPLIST_FILE = "CNLiveBusinessTools/CNLiveBusinessTools-Info.plist";
  535 + MODULE_NAME = ExampleApp;
  536 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  537 + PRODUCT_NAME = "$(TARGET_NAME)";
  538 + WRAPPER_EXTENSION = app;
  539 + };
  540 + name = Debug;
  541 + };
  542 + 6003F5C1195388D20070C39A /* Release */ = {
  543 + isa = XCBuildConfiguration;
  544 + baseConfigurationReference = 0A26941BBE815CCD23EC53F1 /* Pods-CNLiveBusinessTools_Example.release.xcconfig */;
  545 + buildSettings = {
  546 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  547 + DEVELOPMENT_TEAM = 94X49GG3ZW;
  548 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  549 + GCC_PREFIX_HEADER = "CNLiveBusinessTools/CNLiveBusinessTools-Prefix.pch";
  550 + INFOPLIST_FILE = "CNLiveBusinessTools/CNLiveBusinessTools-Info.plist";
  551 + MODULE_NAME = ExampleApp;
  552 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  553 + PRODUCT_NAME = "$(TARGET_NAME)";
  554 + WRAPPER_EXTENSION = app;
  555 + };
  556 + name = Release;
  557 + };
  558 + 6003F5C3195388D20070C39A /* Debug */ = {
  559 + isa = XCBuildConfiguration;
  560 + baseConfigurationReference = F0FB9FD13BA329FF4C2F540C /* Pods-CNLiveBusinessTools_Tests.debug.xcconfig */;
  561 + buildSettings = {
  562 + BUNDLE_LOADER = "$(TEST_HOST)";
  563 + FRAMEWORK_SEARCH_PATHS = (
  564 + "$(SDKROOT)/Developer/Library/Frameworks",
  565 + "$(inherited)",
  566 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  567 + );
  568 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  569 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  570 + GCC_PREPROCESSOR_DEFINITIONS = (
  571 + "DEBUG=1",
  572 + "$(inherited)",
  573 + );
  574 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  575 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  576 + PRODUCT_NAME = "$(TARGET_NAME)";
  577 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveBusinessTools_Example.app/CNLiveBusinessTools_Example";
  578 + WRAPPER_EXTENSION = xctest;
  579 + };
  580 + name = Debug;
  581 + };
  582 + 6003F5C4195388D20070C39A /* Release */ = {
  583 + isa = XCBuildConfiguration;
  584 + baseConfigurationReference = 4466361D16C418EA23A8F8AF /* Pods-CNLiveBusinessTools_Tests.release.xcconfig */;
  585 + buildSettings = {
  586 + BUNDLE_LOADER = "$(TEST_HOST)";
  587 + FRAMEWORK_SEARCH_PATHS = (
  588 + "$(SDKROOT)/Developer/Library/Frameworks",
  589 + "$(inherited)",
  590 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  591 + );
  592 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  593 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  594 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  595 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  596 + PRODUCT_NAME = "$(TARGET_NAME)";
  597 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveBusinessTools_Example.app/CNLiveBusinessTools_Example";
  598 + WRAPPER_EXTENSION = xctest;
  599 + };
  600 + name = Release;
  601 + };
  602 +/* End XCBuildConfiguration section */
  603 +
  604 +/* Begin XCConfigurationList section */
  605 + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveBusinessTools" */ = {
  606 + isa = XCConfigurationList;
  607 + buildConfigurations = (
  608 + 6003F5BD195388D20070C39A /* Debug */,
  609 + 6003F5BE195388D20070C39A /* Release */,
  610 + );
  611 + defaultConfigurationIsVisible = 0;
  612 + defaultConfigurationName = Release;
  613 + };
  614 + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBusinessTools_Example" */ = {
  615 + isa = XCConfigurationList;
  616 + buildConfigurations = (
  617 + 6003F5C0195388D20070C39A /* Debug */,
  618 + 6003F5C1195388D20070C39A /* Release */,
  619 + );
  620 + defaultConfigurationIsVisible = 0;
  621 + defaultConfigurationName = Release;
  622 + };
  623 + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBusinessTools_Tests" */ = {
  624 + isa = XCConfigurationList;
  625 + buildConfigurations = (
  626 + 6003F5C3195388D20070C39A /* Debug */,
  627 + 6003F5C4195388D20070C39A /* Release */,
  628 + );
  629 + defaultConfigurationIsVisible = 0;
  630 + defaultConfigurationName = Release;
  631 + };
  632 +/* End XCConfigurationList section */
  633 + };
  634 + rootObject = 6003F582195388D10070C39A /* Project object */;
  635 +}
Example/CNLiveBusinessTools.xcodeproj/xcshareddata/xcschemes/CNLiveBusinessTools-Example.xcscheme 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools.xcodeproj/xcshareddata/xcschemes/CNLiveBusinessTools-Example.xcscheme
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Scheme
  3 + LastUpgradeVersion = "1020"
  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 = "CNLiveBusinessTools_Example.app"
  19 + BlueprintName = "CNLiveBusinessTools_Example"
  20 + ReferencedContainer = "container:CNLiveBusinessTools.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 = "CNLiveBusinessTools_Tests.xctest"
  37 + BlueprintName = "CNLiveBusinessTools_Tests"
  38 + ReferencedContainer = "container:CNLiveBusinessTools.xcodeproj">
  39 + </BuildableReference>
  40 + </TestableReference>
  41 + </Testables>
  42 + <MacroExpansion>
  43 + <BuildableReference
  44 + BuildableIdentifier = "primary"
  45 + BlueprintIdentifier = "6003F589195388D20070C39A"
  46 + BuildableName = "CNLiveBusinessTools_Example.app"
  47 + BlueprintName = "CNLiveBusinessTools_Example"
  48 + ReferencedContainer = "container:CNLiveBusinessTools.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 = "CNLiveBusinessTools_Example.app"
  70 + BlueprintName = "CNLiveBusinessTools_Example"
  71 + ReferencedContainer = "container:CNLiveBusinessTools.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 = "CNLiveBusinessTools_Example.app"
  89 + BlueprintName = "CNLiveBusinessTools_Example"
  90 + ReferencedContainer = "container:CNLiveBusinessTools.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/CNLiveBusinessTools/Base.lproj/LaunchScreen.storyboard 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/Base.lproj/LaunchScreen.storyboard
  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/CNLiveBusinessTools/Base.lproj/Main.storyboard 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/Base.lproj/Main.storyboard
  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/CNLiveBusinessTools/CNLiveAppDelegate.h 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/CNLiveAppDelegate.h
  1 +//
  2 +// CNLiveAppDelegate.h
  3 +// CNLiveBusinessTools
  4 +//
  5 +// Created by 郭瑞朋 on 05/08/2019.
  6 +// Copyright (c) 2019 郭瑞朋. 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/CNLiveBusinessTools/CNLiveAppDelegate.m 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/CNLiveAppDelegate.m
  1 +//
  2 +// CNLiveAppDelegate.m
  3 +// CNLiveBusinessTools
  4 +//
  5 +// Created by 郭瑞朋 on 05/08/2019.
  6 +// Copyright (c) 2019 郭瑞朋. 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/CNLiveBusinessTools/CNLiveBusinessTools-Info.plist 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/CNLiveBusinessTools-Info.plist
  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/CNLiveBusinessTools/CNLiveBusinessTools-Prefix.pch 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/CNLiveBusinessTools-Prefix.pch
  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/CNLiveBusinessTools/CNLiveViewController.h 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/CNLiveViewController.h
  1 +//
  2 +// CNLiveViewController.h
  3 +// CNLiveBusinessTools
  4 +//
  5 +// Created by 郭瑞朋 on 05/08/2019.
  6 +// Copyright (c) 2019 郭瑞朋. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +
  11 +@interface CNLiveViewController : UIViewController
  12 +
  13 +@end
Example/CNLiveBusinessTools/CNLiveViewController.m 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/CNLiveViewController.m
  1 +//
  2 +// CNLiveViewController.m
  3 +// CNLiveBusinessTools
  4 +//
  5 +// Created by 郭瑞朋 on 05/08/2019.
  6 +// Copyright (c) 2019 郭瑞朋. 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/CNLiveBusinessTools/Images.xcassets/AppIcon.appiconset/Contents.json 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/Images.xcassets/AppIcon.appiconset/Contents.json
  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/CNLiveBusinessTools/en.lproj/InfoPlist.strings 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/en.lproj/InfoPlist.strings
  1 +/* Localized versions of Info.plist keys */
  2 +
Example/CNLiveBusinessTools/main.m 0 → 100644
  1 +++ a/Example/CNLiveBusinessTools/main.m
  1 +//
  2 +// main.m
  3 +// CNLiveBusinessTools
  4 +//
  5 +// Created by 郭瑞朋 on 05/08/2019.
  6 +// Copyright (c) 2019 郭瑞朋. 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 +++ a/Example/Podfile
  1 +use_frameworks!
  2 +
  3 +platform :ios, '8.0'
  4 +
  5 +target 'CNLiveBusinessTools_Example' do
  6 + pod 'CNLiveBusinessTools', :path => '../'
  7 +
  8 + target 'CNLiveBusinessTools_Tests' do
  9 + inherit! :search_paths
  10 +
  11 +
  12 + end
  13 +end
Example/Tests/Tests-Info.plist 0 → 100644
  1 +++ a/Example/Tests/Tests-Info.plist
  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 +++ a/Example/Tests/Tests-Prefix.pch
  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 +++ a/Example/Tests/Tests.m
  1 +//
  2 +// CNLiveBusinessToolsTests.m
  3 +// CNLiveBusinessToolsTests
  4 +//
  5 +// Created by 郭瑞朋 on 05/08/2019.
  6 +// Copyright (c) 2019 郭瑞朋. 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 +++ a/Example/Tests/en.lproj/InfoPlist.strings
  1 +/* Localized versions of Info.plist keys */
  2 +
LICENSE 0 → 100644
  1 +++ a/LICENSE
  1 +Copyright (c) 2019 郭瑞朋 <guoruipeng@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 0 → 100644
  1 +++ a/README.md
  1 +# CNLiveBusinessTools
  2 +
  3 +[![CI Status](https://img.shields.io/travis/郭瑞朋/CNLiveBusinessTools.svg?style=flat)](https://travis-ci.org/郭瑞朋/CNLiveBusinessTools)
  4 +[![Version](https://img.shields.io/cocoapods/v/CNLiveBusinessTools.svg?style=flat)](https://cocoapods.org/pods/CNLiveBusinessTools)
  5 +[![License](https://img.shields.io/cocoapods/l/CNLiveBusinessTools.svg?style=flat)](https://cocoapods.org/pods/CNLiveBusinessTools)
  6 +[![Platform](https://img.shields.io/cocoapods/p/CNLiveBusinessTools.svg?style=flat)](https://cocoapods.org/pods/CNLiveBusinessTools)
  7 +
  8 +## Example
  9 +
  10 +To run the example project, clone the repo, and run `pod install` from the Example directory first.
  11 +
  12 +## Requirements
  13 +
  14 +## Installation
  15 +
  16 +CNLiveBusinessTools is available through [CocoaPods](https://cocoapods.org). To install
  17 +it, simply add the following line to your Podfile:
  18 +
  19 +```ruby
  20 +pod 'CNLiveBusinessTools'
  21 +```
  22 +
  23 +## Author
  24 +
  25 +郭瑞朋, guoruipeng@cnlive.com
  26 +
  27 +## License
  28 +
  29 +CNLiveBusinessTools is available under the MIT license. See the LICENSE file for more info.
_Pods.xcodeproj 0 → 120000
  1 +++ a/_Pods.xcodeproj
  1 +Example/Pods/Pods.xcodeproj
0 \ No newline at end of file 2 \ No newline at end of file