Commit 7c2363f138fb2039bd0f9d58ba21254c80984f1b

Authored by iOS-Xiaowen
1 parent 540cd22d

no message

CNLiveBEnvironment.podspec 0 → 100644
  1 +#
  2 +# Be sure to run `pod lib lint CNLiveBEnvironment.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 = 'CNLiveBEnvironment'
  11 + s.version = '0.0.1'
  12 + s.summary = 'CNLiveBEnvironment.'
  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/CNLiveBEnvironment'
  25 + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  26 + s.license = { :type => 'MIT', :file => 'LICENSE' }
  27 + s.author = { 'iOS-Xiaowen' => '153993236@qq.com' }
  28 + s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBEnvironment.git', :tag => s.version.to_s }
  29 + # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  30 +
  31 + s.ios.deployment_target = '9.0'
  32 +
  33 + s.source_files = 'CNLiveBEnvironment/Classes/**/*'
  34 +
  35 + # s.resource_bundles = {
  36 + # 'CNLiveBEnvironment' => ['CNLiveBEnvironment/Assets/*.png']
  37 + # }
  38 +
  39 + # s.public_header_files = 'Pod/Classes/**/*.h'
  40 + # s.frameworks = 'UIKit', 'MapKit'
  41 + # s.dependency 'AFNetworking', '~> 2.3'
  42 +end
CNLiveBEnvironment/Assets/.gitkeep 0 → 100644
CNLiveBEnvironment/Classes/.gitkeep 0 → 100644
CNLiveBEnvironment/Classes/CNLiveEnvironment.h 0 → 100644
  1 +//
  2 +// CNLiveEnvironment.h
  3 +// XWTest
  4 +//
  5 +// Created by CNLive-zxw on 2019/7/13.
  6 +// Copyright © 2019 CNLive. All rights reserved.
  7 +//
  8 +
  9 +#ifndef CNLiveEnvironment_h
  10 +#define CNLiveEnvironment_h
  11 +
  12 +// 接口
  13 +#import "CNLiveInterface.h"
  14 +
  15 +// 详细环境
  16 +#define EnvironmentType [CNLiveEnvironmentManager manager].environmentType
  17 +
  18 +// 是否是测试环境
  19 +#define TestEnvironment [CNLiveEnvironmentManager manager].isTestEnvironment
  20 +
  21 +// 下载Url
  22 +#define AppDownloadUrl [CNLiveEnvironmentManager manager].kAppDownloadUrl
  23 +
  24 +#define WjjH5_Host [CNLiveEnvironmentManager manager].kWjjH5_Host
  25 +#define API_Host [CNLiveEnvironmentManager manager].kAPI_Host
  26 +#define API_Contact [CNLiveEnvironmentManager manager].kAPI_Contact
  27 +#define API_Refund [CNLiveEnvironmentManager manager].kAPI_Refund
  28 +#define API_Report [CNLiveEnvironmentManager manager].kAPI_Report
  29 +#define API_OpenApi2 [CNLiveEnvironmentManager manager].kAPI_OpenApi2
  30 +#define API_Classify [CNLiveEnvironmentManager manager].kAPI_Classify
  31 +
  32 +// BundleId
  33 +#define BundleId [CNLiveEnvironmentManager manager].bundleId
  34 +
  35 +#define AppId [CNLiveEnvironmentManager manager].appId
  36 +#define APPKey [CNLiveEnvironmentManager manager].appKey
  37 +#define AppSecret [CNLiveEnvironmentManager manager].appSecret
  38 +
  39 +// 环境描述
  40 +#define EnvironmentDesc [CNLiveEnvironmentManager manager].environmentDesc
  41 +
  42 +// App展示名字
  43 +#define DisplayName [CNLiveEnvironmentManager manager].displayName
  44 +
  45 +// IM
  46 +#define IM_Cer_BusiId [CNLiveEnvironmentManager manager].kIM_Cer_BusiId
  47 +
  48 +// IM请求Token
  49 +#define TIM_GetTokenUrl [CNLiveEnvironmentManager manager].kTIM_GetTokenUrl
  50 +
  51 +// 高德地图Key
  52 +#define GDApiKey [CNLiveEnvironmentManager manager].kGDApiKey
  53 +
  54 +// 百度身份证识别
  55 +#define BDAppId [CNLiveEnvironmentManager manager].kBDAppId
  56 +#define BDAppKey [CNLiveEnvironmentManager manager].kBDAppKey
  57 +#define BDSecret [CNLiveEnvironmentManager manager].kBDSecret
  58 +
  59 +// 百度地图
  60 +#define BDMapAK [CNLiveEnvironmentManager manager].kBDMapAK
  61 +#define BDMapMCODE [CNLiveEnvironmentManager manager].kBDMapMCODE
  62 +#define BDMapServiceID [CNLiveEnvironmentManager manager].kBDMapServiceID
  63 +
  64 +// tingyun
  65 +#define TingYunAppKey [CNLiveEnvironmentManager manager].kTingYunAppKey
  66 +
  67 +// 七牛上传图片/视频
  68 +#define API_BucketName [CNLiveEnvironmentManager manager].kBucketName
  69 +#define API_PhotoUrl [CNLiveEnvironmentManager manager].kPhotoUrl
  70 +
  71 +#define MultipleCategory [CNLiveEnvironmentManager manager].kMultipleCategory
  72 +#define WitnessMultipleCategory [CNLiveEnvironmentManager manager].kWitnessMultipleCategory
  73 +
  74 +/*微信相关参数*/
  75 +#define WeiChatAppId_Share [CNLiveEnvironmentManager manager].kWeiChatAppId_Share
  76 +#define WeiChatAppSecret_Share [CNLiveEnvironmentManager manager].kWeiChatAppSecret_Share
  77 +
  78 +/*腾讯相关参数*/
  79 +#define QQShareAppId_Share [CNLiveEnvironmentManager manager].kQQShareAppId_Share
  80 +#define QQShareAppSecret_Share [CNLiveEnvironmentManager manager].kQQShareAppSecret_Share
  81 +
  82 +/*新浪相关参数*/
  83 +#define WeiBoShareAppId_Share [CNLiveEnvironmentManager manager].kWeiBoShareAppId_Share
  84 +#define WeiBoShareAppSecret_Share [CNLiveEnvironmentManager manager].kWeiBoShareAppSecret_Share
  85 +#define WeiBoShareAppKey_Share [CNLiveEnvironmentManager manager].kWeiBoShareAppKey_Share
  86 +
  87 +/*ShareSDK相关参数*/
  88 +#define ShareSDKAppId_Share [CNLiveEnvironmentManager manager].kShareSDKAppId_Share
  89 +#define ShareSDKAppSecret_Share [CNLiveEnvironmentManager manager].kShareSDKAppSecret_Share
  90 +
  91 +#define WjjShare_Iden [CNLiveEnvironmentManager manager].kWjjShare_Iden
  92 +
  93 +// IMSDK相关的配置
  94 +#define WXAccount [CNLiveEnvironmentManager manager].kWXAccount
  95 +#define SdkAppId [CNLiveEnvironmentManager manager].kSdkAppId
  96 +#define SdkAccountType [CNLiveEnvironmentManager manager].kSdkAccountType
  97 +
  98 +// 友盟AppKey
  99 +#define UMengAppKey [CNLiveEnvironmentManager manager].kUMengAppKey
  100 +
  101 +// 支付宝支付Schems
  102 +#define CNLiveNetAddUrlSchems [CNLiveEnvironmentManager manager].kNetAddUrlSchems
  103 +
  104 +// 银联支付Schems
  105 +#define CNLiveNetAddUnionPaySchems [CNLiveEnvironmentManager manager].kNetAddUnionPaySchems
  106 +
  107 +#endif /* CNLiveEnvironment_h */
CNLiveBEnvironment/Classes/CNLiveEnvironmentManager.h 0 → 100644
  1 +//
  2 +// CNLiveEnvironmentManager.h
  3 +// XWTest
  4 +//
  5 +// Created by CNLive-zxw on 2019/7/13.
  6 +// Copyright © 2019 CNLive. All rights reserved.
  7 +//
  8 +
  9 +#import <Foundation/Foundation.h>
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +typedef NS_ENUM(NSInteger, CNLiveEnvironmentType) {
  14 + CNLiveDebugInHouse = 0, //测试企业环境
  15 + CNLiveProductionInHouse = 1, //正式企业环境
  16 + CNLiveDebugAppStore = 2, //测试商店环境
  17 + CNLiveProductionAppStore = 3, //正式商店环境
  18 + CNLiveTestFlight = 4 //TestFlight环境
  19 +};
  20 +
  21 +@interface CNLiveEnvironmentManager : NSObject
  22 +@property (nonatomic, assign, readonly) CNLiveEnvironmentType environmentType; // 详细环境
  23 +@property (nonatomic, assign, readonly) BOOL isTestEnvironment; // 是否是测试环境
  24 +
  25 +@property (nonatomic, copy, readonly) NSString *kAppDownloadUrl;// 下载地址
  26 +@property (nonatomic, copy, readonly) NSString *kWjjH5_Host;
  27 +
  28 +@property (nonatomic, copy, readonly) NSString *kAPI_Host;
  29 +@property (nonatomic, copy, readonly) NSString *kAPI_Contact;
  30 +@property (nonatomic, copy, readonly) NSString *kAPI_Refund;
  31 +@property (nonatomic, copy, readonly) NSString *kAPI_Report;
  32 +@property (nonatomic, copy, readonly) NSString *kAPI_OpenApi2;
  33 +@property (nonatomic, copy, readonly) NSString *kAPI_Classify;
  34 +
  35 +@property (nonatomic, copy, readonly) NSString *environmentDesc; // 环境描述
  36 +@property (nonatomic, copy, readonly) NSString *bundleId; // BundleId
  37 +
  38 +@property (nonatomic, copy, readonly) NSString *appId; // AppID
  39 +@property (nonatomic, copy, readonly) NSString *appKey; // AppKey
  40 +@property (nonatomic, copy, readonly) NSString *appSecret; // AppSecret
  41 +
  42 +@property (nonatomic, copy, readonly) NSString *displayName; // 展示名字/App名字
  43 +
  44 +@property (nonatomic, assign, readonly) NSInteger kIM_Cer_BusiId; // IM
  45 +@property (nonatomic, copy, readonly) NSString *kTIM_GetTokenUrl; // IM请求token
  46 +
  47 +@property (nonatomic, copy, readonly) NSString *kGDApiKey; // 高德地图Key
  48 +
  49 +@property (nonatomic, copy, readonly) NSString *kBDAppId; // 百度身份证识别
  50 +@property (nonatomic, copy, readonly) NSString *kBDAppKey; // AppKey
  51 +@property (nonatomic, copy, readonly) NSString *kBDSecret; // AppSecret
  52 +
  53 +@property (nonatomic, copy, readonly) NSString *kBDMapAK; // 百度地图
  54 +@property (nonatomic, copy, readonly) NSString *kBDMapMCODE; // 百度地图
  55 +@property (nonatomic, assign, readonly) NSInteger kBDMapServiceID; // 百度地图
  56 +
  57 +@property (nonatomic, copy, readonly) NSString *kTingYunAppKey; //tingyun
  58 +
  59 +@property (nonatomic, copy, readonly) NSString *kBucketName; //七牛上传
  60 +@property (nonatomic, copy, readonly) NSString *kPhotoUrl; //七牛上传
  61 +@property (nonatomic, assign, readonly) NSInteger kMultipleCategory; //七牛上传
  62 +@property (nonatomic, assign, readonly) NSInteger kWitnessMultipleCategory; //七牛上传
  63 +
  64 +
  65 +/*微信相关参数*/
  66 +@property (nonatomic, copy, readonly) NSString *kWeiChatAppId_Share;
  67 +@property (nonatomic, copy, readonly) NSString *kWeiChatAppSecret_Share;
  68 +
  69 +/*腾讯相关参数*/
  70 +@property (nonatomic, copy, readonly) NSString *kQQShareAppId_Share;
  71 +@property (nonatomic, copy, readonly) NSString *kQQShareAppSecret_Share;
  72 +
  73 +/*新浪相关参数*/
  74 +@property (nonatomic, copy, readonly) NSString *kWeiBoShareAppId_Share;
  75 +@property (nonatomic, copy, readonly) NSString *kWeiBoShareAppSecret_Share;
  76 +@property (nonatomic, copy, readonly) NSString *kWeiBoShareAppKey_Share;
  77 +
  78 +/*ShareSDK相关参数*/
  79 +@property (nonatomic, copy, readonly) NSString *kShareSDKAppId_Share;
  80 +@property (nonatomic, copy, readonly) NSString *kShareSDKAppSecret_Share;
  81 +
  82 +//Share
  83 +@property (nonatomic, copy, readonly) NSString *kWjjShare_Iden;
  84 +
  85 +// IMSDK相关的配置
  86 +@property (nonatomic, copy, readonly) NSString *kWXAccount;
  87 +@property (nonatomic, copy, readonly) NSString *kSdkAppId;
  88 +@property (nonatomic, copy, readonly) NSString *kSdkAccountType;
  89 +
  90 +// 友盟AppKey
  91 +@property (nonatomic, copy, readonly) NSString *kUMengAppKey;
  92 +
  93 +// 支付宝支付Schems
  94 +@property (nonatomic, copy, readonly) NSString *kNetAddUrlSchems;
  95 +
  96 +// 银联支付Schems
  97 +@property (nonatomic, copy, readonly) NSString *kNetAddUnionPaySchems;
  98 +
  99 +/**
  100 + * @abstract 单例初始化
  101 + */
  102 ++ (instancetype)manager;
  103 +
  104 +/**
  105 + * @abstract 初始化配置
  106 + * @param environmentType 环境
  107 + * @warning 必传参数
  108 + * 在默认DEBUG环境下为测试商店版,建议使用如下方法初始化.
  109 + * 在 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; 方法中调用
  110 + */
  111 ++ (void)setEnvironment:(CNLiveEnvironmentType)environmentType;
  112 +
  113 +@end
  114 +
  115 +NS_ASSUME_NONNULL_END
CNLiveBEnvironment/Classes/CNLiveEnvironmentManager.m 0 → 100644
  1 +//
  2 +// CNLiveEnvironmentManager.m
  3 +// XWTest
  4 +//
  5 +// Created by CNLive-zxw on 2019/7/13.
  6 +// Copyright © 2019 CNLive. All rights reserved.
  7 +//
  8 +
  9 +#import "CNLiveEnvironmentManager.h"
  10 +
  11 +@interface CNLiveEnvironmentManager()
  12 +
  13 +@property (nonatomic, assign, readwrite) CNLiveEnvironmentType environmentType; //详细环境
  14 +@property (nonatomic, assign, readwrite) BOOL isTestEnvironment; // 是否是测试环境
  15 +
  16 +@property (nonatomic, copy, readwrite) NSString *kAppDownloadUrl;
  17 +@property (nonatomic, copy, readwrite) NSString *kWjjH5_Host;
  18 +
  19 +@property (nonatomic, copy, readwrite) NSString *kAPI_Host;
  20 +@property (nonatomic, copy, readwrite) NSString *kAPI_Contact;
  21 +@property (nonatomic, copy, readwrite) NSString *kAPI_Refund;
  22 +@property (nonatomic, copy, readwrite) NSString *kAPI_Report;
  23 +@property (nonatomic, copy, readwrite) NSString *kAPI_OpenApi2;
  24 +@property (nonatomic, copy, readwrite) NSString *kAPI_Classify;
  25 +
  26 +@property (nonatomic, copy, readwrite) NSString *environmentDesc; //环境描述
  27 +@property (nonatomic, copy, readwrite) NSString *bundleId; //BundleId
  28 +
  29 +@property (nonatomic, copy, readwrite) NSString *appId; //AppID
  30 +@property (nonatomic, copy, readwrite) NSString *appKey; //AppKey
  31 +@property (nonatomic, copy, readwrite) NSString *appSecret; //AppSecret
  32 +
  33 +@property (nonatomic, copy, readwrite) NSString *displayName; //App展示名字
  34 +
  35 +@property (nonatomic, assign, readwrite) NSInteger kIM_Cer_BusiId; // IM
  36 +@property (nonatomic, copy, readwrite) NSString *kTIM_GetTokenUrl; // IM请求token
  37 +
  38 +@property (nonatomic, copy, readwrite) NSString *kGDApiKey; // 高德地图Key
  39 +
  40 +@property (nonatomic, copy, readwrite) NSString *kBDAppId; //百度身份证识别
  41 +@property (nonatomic, copy, readwrite) NSString *kBDAppKey; //AppKey
  42 +@property (nonatomic, copy, readwrite) NSString *kBDSecret; //AppSecret
  43 +
  44 +@property (nonatomic, copy, readwrite) NSString *kBDMapAK; // 百度地图
  45 +@property (nonatomic, copy, readwrite) NSString *kBDMapMCODE; // 百度地图
  46 +@property (nonatomic, assign, readwrite) NSInteger kBDMapServiceID; // 百度地图
  47 +
  48 +@property (nonatomic, copy, readwrite) NSString *kTingYunAppKey; //tingyun
  49 +
  50 +@property (nonatomic, copy, readwrite) NSString *kBucketName; //七牛上传
  51 +@property (nonatomic, copy, readwrite) NSString *kPhotoUrl; //七牛上传
  52 +@property (nonatomic, assign, readwrite) NSInteger kMultipleCategory; //七牛上传
  53 +@property (nonatomic, assign, readwrite) NSInteger kWitnessMultipleCategory; //七牛上传
  54 +
  55 +/*微信相关参数*/
  56 +@property (nonatomic, copy, readwrite) NSString *kWeiChatAppId_Share;
  57 +@property (nonatomic, copy, readwrite) NSString *kWeiChatAppSecret_Share;
  58 +
  59 +/*腾讯相关参数*/
  60 +@property (nonatomic, copy, readwrite) NSString *kQQShareAppId_Share;
  61 +@property (nonatomic, copy, readwrite) NSString *kQQShareAppSecret_Share;
  62 +
  63 +/*新浪相关参数*/
  64 +@property (nonatomic, copy, readwrite) NSString *kWeiBoShareAppId_Share;
  65 +@property (nonatomic, copy, readwrite) NSString *kWeiBoShareAppSecret_Share;
  66 +@property (nonatomic, copy, readwrite) NSString *kWeiBoShareAppKey_Share;
  67 +
  68 +/*ShareSDK相关参数*/
  69 +@property (nonatomic, copy, readwrite) NSString *kShareSDKAppId_Share;
  70 +@property (nonatomic, copy, readwrite) NSString *kShareSDKAppSecret_Share;
  71 +
  72 +@property (nonatomic, copy, readwrite) NSString *kWjjShare_Iden;
  73 +
  74 +@property (nonatomic, copy, readwrite) NSString *kWXAccount;
  75 +@property (nonatomic, copy, readwrite) NSString *kSdkAppId;
  76 +@property (nonatomic, copy, readwrite) NSString *kSdkAccountType;
  77 +
  78 +// 友盟AppKey
  79 +@property (nonatomic, copy, readwrite) NSString *kUMengAppKey;
  80 +
  81 +// 支付宝支付Schems
  82 +@property (nonatomic, copy, readwrite) NSString *kNetAddUrlSchems;
  83 +
  84 +// 银联支付Schems
  85 +@property (nonatomic, copy, readwrite) NSString *kNetAddUnionPaySchems;
  86 +
  87 +@end
  88 +
  89 +@implementation CNLiveEnvironmentManager
  90 +static CNLiveEnvironmentManager *_instance = nil;
  91 +
  92 +/**
  93 + * 默认是测试商店版
  94 + */
  95 ++ (void)load{
  96 +#ifdef DEBUG
  97 + //测试商店版
  98 + [CNLiveEnvironmentManager setEnvironment:CNLiveDebugAppStore];
  99 +
  100 +#else
  101 + //正式商店版
  102 + [CNLiveEnvironmentManager setEnvironment:CNLiveProductionAppStore];
  103 +
  104 +#endif
  105 +
  106 +}
  107 +
  108 +/**
  109 + * @abstract 单例初始化
  110 + */
  111 ++ (instancetype)manager{
  112 + static dispatch_once_t once;
  113 + dispatch_once(&once, ^{
  114 + _instance = [[CNLiveEnvironmentManager alloc]init];
  115 + });
  116 + return _instance;
  117 +}
  118 +
  119 ++ (id)allocWithZone:(struct _NSZone *)zone{
  120 + static dispatch_once_t onceToken;
  121 + dispatch_once(&onceToken, ^{
  122 + _instance = [super allocWithZone:zone];
  123 + });
  124 + return _instance;
  125 +}
  126 +
  127 +- (nonnull id)copyWithZone:(nullable NSZone *)zone {
  128 + return _instance;
  129 +}
  130 +
  131 +- (nonnull id)mutableCopyWithZone:(nullable NSZone *)zone {
  132 + return _instance;
  133 +}
  134 +
  135 +/**
  136 + * @abstract 初始化配置
  137 + * @param environmentType 环境
  138 + * @warning 必传参数
  139 + * 此方法环境默认为测试商店版,建议使用如下方法初始化.
  140 + * 在 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; 方法中调用
  141 + */
  142 ++ (void)setEnvironment:(CNLiveEnvironmentType)environmentType{
  143 + CNLiveEnvironmentManager *manager = [CNLiveEnvironmentManager manager];
  144 + if(manager.environmentType == environmentType){
  145 + return;
  146 + }
  147 + manager.environmentType = environmentType;
  148 + switch (environmentType) {
  149 +#pragma mark - 测试企业环境
  150 + case CNLiveDebugInHouse://测试企业环境
  151 + {
  152 + manager.isTestEnvironment = YES;
  153 +
  154 + manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html";
  155 + manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com";
  156 +
  157 + manager.kAPI_Host = @"https://apiwjjtest.cnlive.com";
  158 + manager.kAPI_Contact = @"https://imtest.cnlive.com";
  159 + manager.kAPI_Refund = @"https://wjj.ys1.cnliveimg.com";
  160 + manager.kAPI_Report = @"https://mobile.cnlive.com";
  161 + manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2";
  162 + manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768";
  163 +
  164 + manager.environmentDesc = @"测试企业版";
  165 + manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse.debug";
  166 +
  167 + manager.appId = @"802_jhbqccxw08";
  168 + manager.appKey = @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f";
  169 + manager.appSecret = @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea";
  170 +
  171 + manager.displayName = @"网家家测试企业";
  172 +
  173 +#if DEBUG
  174 + manager.kIM_Cer_BusiId = 9204;
  175 +#else
  176 + manager.kIM_Cer_BusiId = 9205;
  177 +#endif
  178 + manager.kTIM_GetTokenUrl = @"https://imtest.cnlive.com/CnliveIM/notify/generateUserSign.action";
  179 +
  180 + manager.kGDApiKey = @"f4459435f1c756d2efedc6ceec12be63";
  181 + manager.kTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";
  182 +
  183 + manager.kBucketName = @"mam-wjjtest-802";
  184 + manager.kPhotoUrl = @"http://wjjtest.ys2.cnliveimg.com/";
  185 + manager.kMultipleCategory = 371;
  186 + manager.kWitnessMultipleCategory = 375;
  187 +
  188 + manager.kBDAppId = @"14435716";
  189 + manager.kBDAppKey = @"4foSD6VBILQ61olzmVAFEVGZ";
  190 + manager.kBDSecret = @"VEuz92EVrmEVrrgTZKxYo4ApUkol7Ptk";
  191 +
  192 + manager.kBDMapAK = @"Nb4bz9t32YnmTkqVKrNHtToPQAwWvjzK";
  193 + manager.kBDMapMCODE = @"com.cnlive.CNLiveNetAddInHouse.debug";
  194 + manager.kBDMapServiceID = 213511;
  195 +
  196 + manager.kWeiChatAppId_Share = @"wx9b7f9443a8ccf15a";
  197 + manager.kWeiChatAppSecret_Share = @"8d9970bf2901411d8dd2bffb344f147e";
  198 +
  199 + manager.kQQShareAppId_Share = @"1106970445";
  200 + manager.kQQShareAppSecret_Share = @"4hxuJ1HIes4i4hqT";
  201 +
  202 + manager.kWeiBoShareAppId_Share = @"1337575478";
  203 + manager.kWeiBoShareAppSecret_Share = @"1bff97cec7f760e64a37b2c6d6d7db86";
  204 + manager.kWeiBoShareAppKey_Share = @"3884700821";
  205 +
  206 + manager.kShareSDKAppId_Share = @"26192e9007048";
  207 + manager.kShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a716340363c7";
  208 +
  209 + manager.kWjjShare_Iden = @"group.com.cnlive.CNLiveNetAddInHouse.debug";
  210 +
  211 + manager.kWXAccount = @"wjj_app_test";
  212 + manager.kSdkAppId = @"1400052101";
  213 + manager.kSdkAccountType = @"27313";
  214 +
  215 + manager.kUMengAppKey = @"5d78575f0cafb255e0000672";
  216 +
  217 + manager.kNetAddUrlSchems = @"CNLiveNetAddTestUrlSchems";
  218 + manager.kNetAddUnionPaySchems = @"CNLiveNetAddTestUnionPaySchems";
  219 +
  220 + }
  221 + break;
  222 +
  223 +#pragma mark - 正式企业环境
  224 + case CNLiveProductionInHouse://正式企业环境
  225 + {
  226 + manager.isTestEnvironment = NO;
  227 +
  228 + manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html";
  229 + manager.kWjjH5_Host = @"http://wjjh5.cnlive.com";
  230 +
  231 + manager.kAPI_Host = @"https://apiwjj.cnlive.com";
  232 + manager.kAPI_Contact = @"https://wjjim.cnlive.com";
  233 + manager.kAPI_Refund = @"https://wjj.ys1.cnliveimg.com";
  234 + manager.kAPI_Report = @"https://mobile.cnlive.com";
  235 + manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2";
  236 + manager.kAPI_Classify = @"http://cms.cnlive.com:8768";
  237 +
  238 + manager.environmentDesc = @"正式企业版";
  239 + manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse";
  240 +
  241 + manager.appId = @"769_jetja50p18";
  242 + manager.appKey = @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba";
  243 + manager.appSecret = @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83";
  244 +
  245 + manager.displayName = @"网家家正式企业";
  246 +
  247 +#if DEBUG
  248 + manager.kIM_Cer_BusiId = 7346;
  249 +#else
  250 + manager.kIM_Cer_BusiId = 7347;
  251 +#endif
  252 + manager.kTIM_GetTokenUrl = @"https://wjjim.cnlive.com/CnliveIM/notify/generateUserSign.action";
  253 +
  254 + manager.kGDApiKey = @"84d765606a54635aec2648f663d4a5ed";
  255 + manager.kTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c";
  256 +
  257 + manager.kBucketName = @"mam-wjj-769";
  258 + manager.kPhotoUrl = @"http://wjj.ys2.cnliveimg.com/";
  259 + manager.kMultipleCategory = 366;
  260 + manager.kWitnessMultipleCategory = 370;
  261 +
  262 + manager.kBDAppId = @"14380872";
  263 + manager.kBDAppKey = @"ibl8vbKkPVYBw5IOvR8tVGGo";
  264 + manager.kBDSecret = @"QEd6n1qruIGG8AYkyLyqepksO2uUe0GK";
  265 +
  266 + manager.kBDMapAK = @"1249woAM397jz6uGFEfXY4MxRxfkGtIN";
  267 + manager.kBDMapMCODE = @"com.cnlive.CNLiveNetAddInHouse";
  268 + manager.kBDMapServiceID = 214690;
  269 +
  270 + manager.kWeiChatAppId_Share = @"wxed528fc749b7ee88";
  271 + manager.kWeiChatAppSecret_Share = @"729c3d3055fe336bcdef7020c2548e89";
  272 +
  273 + manager.kQQShareAppId_Share = @"1106691520";
  274 + manager.kQQShareAppSecret_Share = @"kLZ8CglGFjzrJFan";
  275 +
  276 + manager.kWeiBoShareAppId_Share = @"1337575478";
  277 + manager.kWeiBoShareAppSecret_Share = @"1bff97cec7f760e64a37b2c6d6d7db86";
  278 + manager.kWeiBoShareAppKey_Share = @"3884700821";
  279 +
  280 + manager.kShareSDKAppId_Share = @"24e4abeaa92d8";
  281 + manager.kShareSDKAppSecret_Share = @"da94a6f881d404092c9a7108e4470e8f";
  282 +
  283 + manager.kWjjShare_Iden = @"group.com.cnlive.CNLiveNetAddInHouse";
  284 +
  285 + manager.kWXAccount = @"wjj_app";
  286 + manager.kSdkAppId = @"1400051680";
  287 + manager.kSdkAccountType = @"19645";
  288 +
  289 + manager.kUMengAppKey = @"5d7856830cafb270770000b2";
  290 +
  291 + manager.kNetAddUrlSchems = @"CNLiveNetAddUrlSchems";
  292 + manager.kNetAddUnionPaySchems = @"CNLiveNetAddUnionPaySchems";
  293 +
  294 + }
  295 + break;
  296 +
  297 +#pragma mark - 测试商店环境
  298 + case CNLiveDebugAppStore://测试商店环境
  299 + {
  300 + manager.isTestEnvironment = YES;
  301 +
  302 + manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html";
  303 + manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com";
  304 +
  305 + manager.kAPI_Host = @"https://apiwjjtest.cnlive.com";
  306 + manager.kAPI_Contact = @"https://imtest.cnlive.com";
  307 + manager.kAPI_Refund = @"https://wjj.ys1.cnliveimg.com";
  308 + manager.kAPI_Report = @"https://mobile.cnlive.com";
  309 + manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2";
  310 + manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768";
  311 +
  312 + manager.environmentDesc = @"测试商店版";
  313 + manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug";
  314 +
  315 + manager.appId = @"802_jhlqbq4475";
  316 + manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4";
  317 + manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2";
  318 +
  319 + manager.displayName = @"网家家测试商店";
  320 +
  321 +#if DEBUG
  322 + manager.kIM_Cer_BusiId = 12450;
  323 +#else
  324 + manager.kIM_Cer_BusiId = 12451;
  325 +#endif
  326 + manager.kTIM_GetTokenUrl = @"https://imtest.cnlive.com/CnliveIM/notify/generateUserSign.action";
  327 +
  328 + manager.kGDApiKey = @"4b15525f4265edfed8dce1d02f08a893";
  329 + manager.kTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";
  330 +
  331 + manager.kBucketName = @"mam-wjjtest-802";
  332 + manager.kPhotoUrl = @"http://wjjtest.ys2.cnliveimg.com/";
  333 + manager.kMultipleCategory = 371;
  334 + manager.kWitnessMultipleCategory = 375;
  335 +
  336 + manager.kBDAppId = @"14435697";
  337 + manager.kBDAppKey = @"3LqIXy2AtXxrxyFM8N73QGYN";
  338 + manager.kBDSecret = @"EKZxZza8purqGHOmngkMi7awtZkm0lOW";
  339 +
  340 + manager.kBDMapAK = @"jjrZsIZYalD5IPOkjzCOOqkApKLtn8LW";
  341 + manager.kBDMapMCODE = @"com.cnlive.CNLiveNetAdd.debug";
  342 + manager.kBDMapServiceID = 213511;
  343 +
  344 + manager.kWeiChatAppId_Share = @"wx9b7f9443a8ccf15a";
  345 + manager.kWeiChatAppSecret_Share = @"8d9970bf2901411d8dd2bffb344f147e";
  346 +
  347 + manager.kQQShareAppId_Share = @"1106970445";
  348 + manager.kQQShareAppSecret_Share = @"4hxuJ1HIes4i4hqT";
  349 +
  350 + manager.kWeiBoShareAppId_Share = @"1337575478";
  351 + manager.kWeiBoShareAppSecret_Share = @"1bff97cec7f760e64a37b2c6d6d7db86";
  352 + manager.kWeiBoShareAppKey_Share = @"3884700821";
  353 +
  354 + manager.kShareSDKAppId_Share = @"26192e9007048";
  355 + manager.kShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a716340363c7";
  356 +
  357 + manager.kWjjShare_Iden = @"group.com.cnlive.CNLiveNetAdd.debug";
  358 +
  359 + manager.kWXAccount = @"wjj_app_test";
  360 + manager.kSdkAppId = @"1400052101";
  361 + manager.kSdkAccountType = @"27313";
  362 +
  363 + manager.kUMengAppKey = @"5d78575f0cafb255e0000672";
  364 +
  365 + manager.kNetAddUrlSchems = @"CNLiveNetAddTestUrlSchems";
  366 + manager.kNetAddUnionPaySchems = @"CNLiveNetAddTestUnionPaySchems";
  367 +
  368 + }
  369 + break;
  370 +
  371 +#pragma mark - 正式商店环境
  372 + case CNLiveProductionAppStore://正式商店环境
  373 + {
  374 + manager.isTestEnvironment = NO;
  375 +
  376 + manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html";
  377 + manager.kWjjH5_Host = @"http://wjjh5.cnlive.com";
  378 +
  379 + manager.kAPI_Host = @"https://apiwjj.cnlive.com";
  380 + manager.kAPI_Contact = @"https://wjjim.cnlive.com";
  381 + manager.kAPI_Refund = @"https://wjj.ys1.cnliveimg.com";
  382 + manager.kAPI_Report = @"https://mobile.cnlive.com";
  383 + manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2";
  384 + manager.kAPI_Classify = @"http://cms.cnlive.com:8768";
  385 +
  386 + manager.environmentDesc = @"正式商店版";
  387 + manager.bundleId = @"com.cnlive.CNLiveNetPlusBusiness";
  388 +
  389 + manager.appId = @"769_k8gs8gpx47";
  390 + manager.appKey = @"f9e5d72ab7a2d0ce3117430d2136f7d10903cf16ffec1b";
  391 + manager.appSecret = @"077390a19a4420e8da0207cd81d671e90db1da4a033d76";
  392 +
  393 + manager.displayName = @"网家家企业版";
  394 +#if DEBUG
  395 + manager.kIM_Cer_BusiId = 0;
  396 +#else
  397 + manager.kIM_Cer_BusiId = 0;
  398 +#endif
  399 + manager.kTIM_GetTokenUrl = @"https://wjjim.cnlive.com/CnliveIM/notify/generateUserSign.action";
  400 +
  401 + manager.kGDApiKey = @"bccce54fd74d7d7cd68a0461e0f36d08";
  402 + manager.kTingYunAppKey = @"37c9ea3f439145269e5cffe095466b17";
  403 +
  404 + manager.kBucketName = @"";
  405 + manager.kPhotoUrl = @"";
  406 + manager.kMultipleCategory = 0;
  407 + manager.kWitnessMultipleCategory = 0;
  408 +
  409 + manager.kBDAppId = @"19317110";
  410 + manager.kBDAppKey = @"E1jCy58Kd3YMrlvMuAGenLOB";
  411 + manager.kBDSecret = @"burluT6ni0j26maR1eVqn1zxIxpWtYbG";
  412 +
  413 + manager.kBDMapAK = @"Kxosk9Ru3zB8q63gVD2o8IU2k3U6oPwk";
  414 + manager.kBDMapMCODE = @"com.cnlive.CNLiveNetPlusBusiness";
  415 + manager.kBDMapServiceID = 220356;
  416 +
  417 + manager.kWeiChatAppId_Share = @"wxa57640b08f40e839";
  418 + manager.kWeiChatAppSecret_Share = @"9ae355b968a898c95994941c5426440a";
  419 +
  420 + manager.kQQShareAppId_Share = @"1110384608";
  421 + manager.kQQShareAppSecret_Share = @"OPihIGifIFkdBRFM";
  422 +
  423 + manager.kWeiBoShareAppId_Share = @"1505450158";
  424 + manager.kWeiBoShareAppSecret_Share = @"271fc3e6cdfb0faec3e22c6d6abfb0a7";
  425 + manager.kWeiBoShareAppKey_Share = @"296702781";
  426 +
  427 + manager.kShareSDKAppId_Share = @"2ece172c330c7";
  428 + manager.kShareSDKAppSecret_Share = @"a46853617a952a99fc5bfc167cacf1d1";
  429 +
  430 + manager.kWjjShare_Iden = @"group.com.cnlive.CNLiveNetPlusBusiness";
  431 +
  432 + manager.kWXAccount = @"wjj_app";
  433 + manager.kSdkAppId = @"1400352107";
  434 + manager.kSdkAccountType = @"";
  435 +
  436 + manager.kUMengAppKey = @"5e952cda0cafb27396000073";
  437 +
  438 + manager.kNetAddUrlSchems = @"CNLiveNetPlusBusinessSchems";
  439 + manager.kNetAddUnionPaySchems = @"CNLiveNetPlusBusinessUnionPaySchems";
  440 +
  441 + }
  442 + break;
  443 +
  444 +#pragma mark - TestFlight环境
  445 + case CNLiveTestFlight://TestFlight环境
  446 + {
  447 + manager.isTestEnvironment = YES;
  448 +
  449 + manager.kAppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html";
  450 + manager.kWjjH5_Host = @"http://wjjh5test.cnlive.com";
  451 +
  452 + manager.kAPI_Host = @"https://apiwjjtest.cnlive.com";
  453 + manager.kAPI_Contact = @"https://imtest.cnlive.com";
  454 + manager.kAPI_Refund = @"https://wjj.ys1.cnliveimg.com";
  455 + manager.kAPI_Report = @"https://mobile.cnlive.com";
  456 + manager.kAPI_OpenApi2 = @"https://api.cnlive.com/open/api2";
  457 + manager.kAPI_Classify = @"http://cmstest.cnlive.com:8768";
  458 +
  459 + manager.environmentDesc = @"测试TestFlight版";
  460 + manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug";
  461 +
  462 + manager.appId = @"802_jhlqbq4475";
  463 + manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4";
  464 + manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2";
  465 +
  466 + manager.displayName = @"网家家TestFlight";
  467 +
  468 +#if DEBUG
  469 + manager.kIM_Cer_BusiId = 12450;
  470 +#else
  471 + manager.kIM_Cer_BusiId = 12451;
  472 +#endif
  473 + manager.kTIM_GetTokenUrl = @"https://imtest.cnlive.com/CnliveIM/notify/generateUserSign.action";
  474 +
  475 + manager.kGDApiKey = @"4b15525f4265edfed8dce1d02f08a893";
  476 + manager.kTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";
  477 +
  478 + manager.kBucketName = @"mam-wjjtest-802";
  479 + manager.kPhotoUrl = @"http://wjjtest.ys2.cnliveimg.com/";
  480 + manager.kMultipleCategory = 371;
  481 + manager.kWitnessMultipleCategory = 375;
  482 +
  483 + manager.kBDAppId = @"14435697";
  484 + manager.kBDAppKey = @"3LqIXy2AtXxrxyFM8N73QGYN";
  485 + manager.kBDSecret = @"EKZxZza8purqGHOmngkMi7awtZkm0lOW";
  486 +
  487 + manager.kBDMapAK = @"KbQoyL7KebOF1CvHWHqKa61pf8nMhUL4";
  488 + manager.kBDMapMCODE = @"com.cnlive.CNLiveNetAdd";
  489 + manager.kBDMapServiceID = 214690;
  490 +
  491 + manager.kWeiChatAppId_Share = @"wxed528fc749b7ee88";
  492 + manager.kWeiChatAppSecret_Share = @"729c3d3055fe336bcdef7020c2548e89";
  493 +
  494 + manager.kQQShareAppId_Share = @"1106691520";
  495 + manager.kQQShareAppSecret_Share = @"kLZ8CglGFjzrJFan";
  496 +
  497 + manager.kWeiBoShareAppId_Share = @"1337575478";
  498 + manager.kWeiBoShareAppSecret_Share = @"1bff97cec7f760e64a37b2c6d6d7db86";
  499 + manager.kWeiBoShareAppKey_Share = @"3884700821";
  500 +
  501 + manager.kShareSDKAppId_Share = @"24e4abeaa92d8";
  502 + manager.kShareSDKAppSecret_Share = @"da94a6f881d404092c9a7108e4470e8f";
  503 +
  504 + manager.kWjjShare_Iden = @"group.com.cnlive.CNLiveNetAdd.debug";
  505 +
  506 + manager.kWXAccount = @"wjj_app_test";
  507 + manager.kSdkAppId = @"1400052101";
  508 + manager.kSdkAccountType = @"27313";
  509 +
  510 + manager.kUMengAppKey = @"5d78575f0cafb255e0000672";
  511 +
  512 + manager.kNetAddUrlSchems = @"CNLiveNetAddTestUrlSchems";
  513 + manager.kNetAddUnionPaySchems = @"CNLiveNetAddTestUnionPaySchems";
  514 +
  515 + }
  516 + break;
  517 + default:
  518 + break;
  519 +
  520 + }
  521 +
  522 +}
  523 +
  524 +@end
CNLiveBEnvironment/Classes/CNLiveInterface.h 0 → 100644
  1 +//
  2 +// CNLiveInterface.h
  3 +// XWTest
  4 +//
  5 +// Created by CNLive-zxw on 2019/7/13.
  6 +// Copyright © 2019 CNLive. All rights reserved.
  7 +//
  8 +
  9 +#ifndef CNLiveInterface_h
  10 +#define CNLiveInterface_h
  11 +#import "CNLiveEnvironmentManager.h"
  12 +
  13 +#define cn_WjjH5_Host(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kWjjH5_Host,url]
  14 +#define cn_API_Host(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Host,url]
  15 +#define cn_API_Contact(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Contact,url]
  16 +#define cn_API_Refund(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Refund,url]
  17 +#define cn_API_Report(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Report,url]
  18 +#define cn_API_OpenApi2(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_OpenApi2,url]
  19 +#define cn_API_Classify(url) [NSString stringWithFormat:@"%@%@",[CNLiveEnvironmentManager manager].kAPI_Classify,url]
  20 +
  21 +// 分享使用到的logo图片
  22 +#define NetAddShareImgUrl cn_WjjH5_Host(@"/static/logo.png")
  23 +
  24 +// 网家家H5压缩后短连接
  25 +#define WjjH5Short_Host @"http://dwz.cnlive.com"
  26 +
  27 +//我的-投诉
  28 +#define WjjH5_Complaint cn_WjjH5_Host(@"/cnComplaint.html")
  29 +
  30 +// 网++默认头像地址
  31 +#define CNLiveNetAddDefaultHead cn_API_Refund(@"/admin/test/head.png")
  32 +
  33 +
  34 +#define iUploadContacts cn_API_Contact(@"/CnliveIM/notify/uploadContacts.action")
  35 +//其他投诉
  36 +#define CNLiveCNReporthtml cn_WjjH5_Host(@"/cnReport.html")
  37 +
  38 +//特色群活动必要说明
  39 +#define CNActivityManageUrl cn_API_Refund(@"/term/ActivityManagement.html")
  40 +
  41 +//特色群投票必要说明
  42 +#define CNVoteManageUrl cn_API_Refund(@"/term/VoteManagement.html")
  43 +
  44 +//订阅号特色群活动必要说明
  45 +#define CNActivityManageSPUrl cn_WjjH5_Host(@"/cnGroupDescription.html?type=hdgl")
  46 +
  47 +//订阅号特色群投票必要说明
  48 +#define CNVoteManageSPUrl cn_WjjH5_Host(@"/cnGroupDescription.html?type=tp")
  49 +
  50 +//获取生活号列表
  51 +#define CNGetLifeSubsUrl cn_API_Host(@"/Daren/sub/getLifeSubs.action")
  52 +
  53 +//获取达人号列表
  54 +#define CNGetDarenSubsUrl cn_API_Host(@"/Daren/sub/getDarenSubs.action")
  55 +
  56 +//达人号列表删除某达人
  57 +#define CNDarenSubsDeleteDarenUrl cn_API_Host(@"/Daren/sub/deleteDarenSubs.action")
  58 +
  59 +//添加某个收藏
  60 +#define CNDarenSubsCollectionUrl cn_API_Host(@"/Daren/stock/collection.action")
  61 +
  62 +//收藏界面删除某个收藏
  63 +#define CNDarenSubsDeleteCollectionUrl cn_API_Host(@"/Daren/stock/deleteCollection.action")
  64 +
  65 +//达人主页
  66 +#define CNDarenHomeUrl cn_API_Host(@"/Daren/sub/getDarenHome.action")
  67 +
  68 +//获取收藏结果详情
  69 +#define CNDarenCollectListDataSourceUrl cn_API_Host(@"/Daren/stock/getCollectionList.action")
  70 +
  71 +//生活号主页
  72 +#define CNLifeHomeUrl cn_API_Host(@"/Daren/sub/getLifeHome.action")
  73 +
  74 +//删除生活号
  75 +#define CNLiveLifeDeleteUrl cn_API_Host(@"/Daren/sub/deleteLifeSubs.action")
  76 +
  77 +//通过手机号查找好友
  78 +#define CNSearchByPhoneNumUrl cn_API_Contact(@"/CnliveIM/notify/searchByPhoneNumber.action")
  79 +
  80 +
  81 +//获取已关注的达人列表
  82 +#define CNGetDarensUrl cn_API_Host(@"/Daren/sub/getDarens.action")
  83 +
  84 +//获取达人的粉丝列表
  85 +#define CNGetFansUrl cn_API_Host(@"/Daren/sub/getFans.action")
  86 +
  87 +//评价列表
  88 +#define CNGetDarenCommentUrl cn_API_Host(@"/Daren/hudong/getDarenComment.action")
  89 +
  90 +//获取达人相关信息
  91 +#define CNGetDarenByIdUrl cn_API_Host(@"/Daren/member/getDarenById.action")
  92 +
  93 +#pragma mark - 定义消息
  94 +//获取子群组
  95 +#define CNGetGroupChildren cn_API_Classify(@"/contentApi/getGroupChildren")
  96 +// 退群群
  97 +#define CNDeleteGroupMember cn_API_Host(@"/Daren/groupManagement/deleteGroupMember.action")
  98 +
  99 +//发送自定义消息
  100 +#define CNFriendshipVerifyUrl cn_API_Contact(@"/CnliveIM/notify/custMsgPush.action")
  101 +//音视频自定义消息
  102 +#define CNVideoOrAudioUrl cn_API_Contact(@"/CnliveIM/notify/custMsgPush.action")
  103 +
  104 +//音视频取得房间号
  105 +#define CNVideoOrAudioGetRoomID cn_API_Host(@"/Daren/common/getRoomId.action")
  106 +
  107 +//发送文本消息
  108 +#define CNTextMsgPushUrl cn_API_Contact(@"/CnliveIM/notify/textMsgPush.action")
  109 +
  110 +//生成二维码
  111 +#define CNGenOrResetCodeUrl cn_API_Host(@"/Daren/qrcode/genOrResetQrCode.action")
  112 +//撤回消息
  113 +#define CNRevokebatchsendmsg cn_API_Contact(@"/CnliveIM/notify/revokeBatchSendMsg.action")
  114 +//检验二维码
  115 +#define CNCheckOrNewCodeUrl cn_API_Host(@"/Daren/qrcode/checkQrCode.action")
  116 +//扫码支付生成订单
  117 +#define CNCheckAddOrderForDarenUrl cn_API_Host(@"/Daren/order/addOrder.action")
  118 +//目击者
  119 +#define CNChecksigninfoDarenUrl cn_API_Host(@"/Daren/sign/checkSignInfo.action")
  120 +//扫码返回活动地址
  121 +#define CNCheckQrActivityDarenUrl cn_API_Host(@"/Daren/sign/checkQrActivity.action")
  122 +
  123 +//获取Gif表情包列表
  124 +#define CNGifFaceShopListUrl cn_API_Host(@"/Daren/section/getSectionList.action")
  125 +//获取一个表情包信息
  126 +#define CNGetGifFacePackageUrl cn_API_Host(@"/Daren/section/getSectionDetail.action")
  127 +
  128 +#pragma mark - 地址管理相关
  129 +//添加联系人
  130 +#define CNAddContactUrl cn_API_Host(@"/Daren/contact/addContact.action")
  131 +
  132 +//查询联系人
  133 +#define CNReadContacstUrl cn_API_Host(@"/Daren/contact/readContacts.action")
  134 +
  135 +//删除联系人
  136 +#define CNDeleteContacstUrl cn_API_Host(@"/Daren/contact/deleteContact.action")
  137 +
  138 +//更新联系人
  139 +#define CNUpdateContacstUrl cn_API_Host(@"/Daren/contact/updateContact.action")
  140 +
  141 +
  142 +#pragma mark - 订单相关
  143 +//取消订单
  144 +#define CNOrderCancelUrl cn_API_Host(@"/Daren/order/cancelOrder.action")
  145 +
  146 +//订单有误
  147 +#define CNOrderErrorUrl cn_API_Host(@"/Daren/order/correctOrder.action")
  148 +
  149 +//查看订单
  150 +#define CNOrderCheckUrl cn_API_Host(@"/Daren/order/getOrderItem.action")
  151 +
  152 +//生成订单
  153 +#define CNOrderCreateUrl cn_API_Host(@"/Daren/order/createOrder.action")
  154 +
  155 +//修改订单
  156 +#define CNOrderModifyUrl cn_API_Host(@"/Daren/order/modifyOrder.action")
  157 +
  158 +//确认订单
  159 +#define CNOrderConfirmUrl cn_API_Host(@"/Daren/order/confirmOrder.action")
  160 +
  161 +//获取订单详情
  162 +#define CNGetOrderDetailUrl cn_API_Host(@"/Daren/order/getOrderItem.action")
  163 +
  164 +//根据订单状态获取订单列表
  165 +#define CNGetOrderListUrl cn_API_Host(@"/Daren/order/getOrdersByStatus.action")
  166 +
  167 +//申请退款
  168 +#define CNApplyRefundUrl cn_API_Host(@"/Daren/order/applyRefund.action")
  169 +
  170 +//删除订单
  171 +#define CNDeleteOrderUrl cn_API_Host(@"/Daren/order/deleteOrder.action")
  172 +
  173 +//催单
  174 +#define CNRemindOrderUrl cn_API_Contact(@"/CnliveIM/notify/remind.action")
  175 +
  176 +//确认收货
  177 +#define CNConfirmRecvUrl cn_API_Host(@"/Daren/order/confirmRecv.action")
  178 +
  179 +//评价
  180 +#define CNCommentDarenUrl cn_API_Host(@"/Daren/hudong/commentDaren.action")
  181 +
  182 +//退款原因
  183 +#define CNRefunfReasonUrl cn_API_Refund(@"/json/refundReason.json")
  184 +
  185 +
  186 +#pragma mark - 发布
  187 +//发布视频 短视频接入点播云接口
  188 +#define CNPublishVideoUrl cn_API_OpenApi2(@"/vod_epg/svInputMamForAPP")
  189 +
  190 +//发布视频 短视频上传获取bucket接口(七牛)
  191 +#define CNUploadGetBucketUrl cn_API_OpenApi2(@"/storage/getStorageInfo")
  192 +
  193 +//发布图片,上传鉴权接口(七牛)
  194 +#define CNUploadAuthForApp cn_API_OpenApi2(@"/vod_epg/getUploadAuthForApp")
  195 +
  196 +//上传视频成功的回调url
  197 +#define CNStockDarenVideoCallBackUrl cn_API_Host(@"/Daren/stock/stockDarenVideo.action")
  198 +
  199 +//发布获取上冰雪banner url
  200 +#define CNPublishGetSnowBannerUrl cn_API_Host(@"/Daren/snow/getSnowBanner.action")
  201 +
  202 +
  203 +#pragma mark - 检验群公告敏感词
  204 +#define CNCheckFeaturedGroup cn_API_Host(@"/Daren/announcementCheck/checkFeaturedGroup.action")
  205 +
  206 +#pragma mark - 特色群组活动管理
  207 +//获取群组活动收费记录
  208 +#define CNActiveGroupFundsRecordsUrl cn_API_Host(@"/Daren/groupManagement/groupFundsRecords.action")
  209 +
  210 +//获取投票详情
  211 +#define CNGetVoteMsgSourceUrl cn_API_Host(@"/Daren/vote/getVoteMsg.action")
  212 +
  213 +//获取收费详情
  214 +#define CNQueryActivityFeeSourceUrl cn_API_Host(@"/Daren/groupManagement/queryActivityFee.action")
  215 +
  216 +//历任群主列表
  217 +#define CNGetSuccessiveGroupListUrl cn_API_Host(@"/Daren/groupManagement/getSuccessiveGroupList.action")
  218 +
  219 +//获取投票记录的列表
  220 +#define CNGetVotesSourceListUrl cn_API_Host(@"/Daren/vote/getVotes.action")
  221 +
  222 +//拉起支付并做定点预处理
  223 +#define CNPayByGroupMembersUrl cn_API_Host(@"/Daren/groupManagement/payByGroupMembers.action")
  224 +
  225 +//获取支付状态
  226 +#define CNCheckPaymentSourceUrl cn_API_Host(@"/Daren/groupManagement/checkPayment.action")
  227 +
  228 +//投票
  229 +#define CNGroupVoteSourceUrl cn_API_Host(@"/Daren/vote/groupVote.action")
  230 +
  231 +//删除投票
  232 +#define CNStopVoteSourceUrl cn_API_Host(@"/Daren/vote/stopVote.action")
  233 +
  234 +//获取提现的秘钥获取
  235 +#define CNGetCurrentKeySourceUrl cn_API_Host(@"/Daren/groupManagement/getCurrentKey.action")
  236 +
  237 +//验证秘钥的发送
  238 +#define CNSendSecretKeySourceUrl cn_API_Host(@"/Daren/groupManagement/sendSecretKey.action")
  239 +
  240 +//秘钥的验证
  241 +#define CNGroupManagementCheckKeyUrl cn_API_Host(@"/Daren/groupManagement/checkKey.action")
  242 +
  243 +//网++支付的预支付订单生成 & 网++ 余额支付
  244 +#define CNGroupWjjPayWjjPrePaySourceUrl cn_API_Host(@"/Daren/wjjPay/unifiedOrder.action")
  245 +
  246 +//网++ 余额支付
  247 +#define CNGroupWjjPayWjjSourceUrl cn_API_Host(@"/Daren/wjjPay/unifiedPay.action")
  248 +
  249 +//返回公钥&随机AESKey
  250 +#define CNGroupReturnEncryptKeyUrl cn_API_Host(@"/Daren/wjjPay/getKey.action")
  251 +
  252 +//获取分享下载的地址
  253 +#define CNShareDownloadSourceUrl cn_API_Host(@"/Daren/common/appDownLoadUrl.action")
  254 +
  255 +//获取分享达人主页的地址
  256 +#define CNShareDarenHomeSourceUrl cn_API_Host(@"/Daren/common/shareDarenHomePage.action")
  257 +
  258 +//扫码获取棉花糖信息
  259 +#define CNOrderMHTSourceUrl cn_API_Host(@"/Daren/order/addOrderMHT.action")
  260 +
  261 +//订阅号特色群群组转账状态查询
  262 +#define CNQueryTransferUrl cn_API_Host(@"/Daren/groupManagement/getQueryTransfer.action")
  263 +
  264 +//获取群成员
  265 +#define CNGroupMember cn_API_Contact(@"/CnliveIM/notify/groupMemberRole.action")
  266 +
  267 +//获取所有圈子
  268 +#define CNGetAllHomepage cn_API_Classify(@"/contentApi/getAllHomepage")
  269 +
  270 +#pragma mark - 朋友圈
  271 +//发布上冰雪图文
  272 +#define CNPublishSnowUrl cn_API_Host(@"/Daren/snow/releaseSnow.action")
  273 +
  274 +//发布朋友圈
  275 +#define CNPublishFriendsCircleUrl cn_API_Host(@"/Daren/moment/releaseMoment.action")
  276 +// 选择圈子
  277 +#define CNGetPublishTypeListUrl cn_API_Host(@"/Daren/publishType/getPublishTypeList.action")
  278 +
  279 +//目击者发布朋友圈
  280 +#define CNPublishWintessCircleUrl cn_API_Host(@"/Daren/witness/releaseWitness.action")
  281 +//获取朋友圈内容
  282 +#define CNGetFriendsCircleContentUrl cn_API_Host(@"/Daren/moment/friendMoment.action")
  283 +
  284 +//获取我的朋友圈内容(我的发布记录)
  285 +#define CNGetMyCircleContentUrl cn_API_Host(@"/Daren/moment/myMoment.action")
  286 +
  287 +//朋友圈评论或回复
  288 +#define CNFirendsCircleCommentReplyUrl cn_API_Host(@"/Daren/hudong/commentMoment.action")
  289 +
  290 +//删除朋友圈评论
  291 +#define CNFirendsCircleCommentDeleteUrl cn_API_OpenApi2(@"/commentServices/services/commentForChat/delete")
  292 +
  293 +//删除好友时,调用接口
  294 +#define CNDeleteFriendUrl cn_API_Host(@"/Daren/sub/deleteFriend.action")
  295 +
  296 +//删除我的朋友圈某条内容
  297 +#define CNDeleteMyMomentItemUrl cn_API_Host(@"/Daren/moment/deleteMyMoment.action")
  298 +
  299 +//删除我的相关收藏
  300 +#define CNDeleteMyCollectionItemUrl cn_API_Host(@"/Daren/stock/collection.action")
  301 +
  302 +//读取朋友圈某条动态的评论(含回复)
  303 +#define CNGetMomentAllCommontUrl cn_API_OpenApi2(@"/commentServices/services/commentForChat/readAll")
  304 +
  305 +//读取朋友圈某条动态的点赞列表
  306 +#define CNGetMomentAllFavoriteUrl cn_API_OpenApi2(@"/support/readAll")
  307 +
  308 +//读取朋友圈某条动态的点赞列表(新接口)
  309 +#define CNGetMomentAllNEWFavoriteUrl cn_API_OpenApi2(@"/support/loadSupport")
  310 +
  311 +//朋友圈某条动态点赞
  312 +#define CNFavoriteMomentUrl cn_API_Host(@"/Daren/moment/praiseMoment.action")
  313 +
  314 +////获取朋友圈新消息数量
  315 +//#define CNGetMomentNewMsgCountUrl cn_API_Host(@"/Daren/moment/getNewMsg.action")
  316 +
  317 +//获取朋友圈新消息详细
  318 +#define CNGetMomentNewMsgListUrl cn_API_Host(@"/Daren/moment/getNewMsgList.action")
  319 +
  320 +//获取朋友圈记录详情
  321 +#define CNGetMomentDetailUrl cn_API_Host(@"/Daren/moment/getMomentDetail.action")
  322 +
  323 +//清空新消息
  324 +#define CNDeleteNewMsgUrl cn_API_Host(@"/Daren/moment/deleteNewMsg.action")
  325 +
  326 +//个人资料相册
  327 +#define CNLookUpMyMsgCommontUrl cn_API_Host(@"/Daren/moment/lookUpMyMsg.action")
  328 +
  329 +#pragma mark - 分类
  330 +//获取分类资讯page内容
  331 +#define CNGetClassifyPageUrl cn_API_Classify(@"/contentApi/getPage")
  332 +//分类频道搜索
  333 +#define CNClassifySearchUrl cn_API_Classify(@"/contentApi/search")
  334 +
  335 +//分类频道(旧)
  336 +//#define CNCategoryGetChannelUrl cn_API_Host(@"/Daren/center/getChannel.action")
  337 +//分类频道(新)
  338 +#define CNCategoryGetChannelUrl cn_API_Classify(@"/contentApi/app")
  339 +//分类首页(旧 18.5.28)
  340 +//#define CNCategoryCenterPageUrl cn_API_Host(@"/Daren/center/getCenterPage.action")
  341 +//分类首页(新)
  342 +#define CNCategoryCenterPageUrl cn_API_Host(@"/Daren/classify/getNewCenterPage.action")
  343 +
  344 +//分类次级页面-达人列表
  345 +#define CNGetDarensByCategoryUrl cn_API_Host(@"/Daren/classify/getNewDarensByCategory.action")
  346 +//#define CNGetDarensByCategoryUrl cn_API_Host(@"/Daren/center/getDarensByCategory.action")
  347 +
  348 +//分类次级页面-已关注达人列表
  349 +#define CNGetDarensAlreadyUrl cn_API_Host(@"/Daren/classify/getDarenList.action")
  350 +//分类次级页面-未关注达人列表
  351 +#define CNGetDarensNeverUrl cn_API_Host(@"/Daren/classify/getUnFansOrDarenBean.action")
  352 +// 关注达人
  353 +#define CNAddDarenSubUrl cn_API_Host(@"/Daren/sub/addDarenSub.action")
  354 +// 取消关注
  355 +#define CNCancelDarenSubUrl cn_API_Host(@"/Daren/sub/cancelDarenSub.action")
  356 +//分类-搜索
  357 +#define CNCategorySearchDarenUrl cn_API_Host(@"/Daren/search/searchDaren.action")
  358 +//点播-获取评论列表
  359 +#define CNGetCommentListUrl cn_API_OpenApi2(@"/commentServices/services/commentForHdBySpId/loadComment")
  360 +//点播-评论一条节目
  361 +#define CNCommentProgrammaUrl cn_API_OpenApi2(@"/commentServices/commentForHdBySpId/insertComment")
  362 +//点播-点赞一条节目
  363 +#define CNPraiseProgrammaUrl cn_API_OpenApi2(@"/commentServices/commentForHdBySpId/praiseComment")
  364 +
  365 +#pragma mark - 听见中国
  366 +//获取音频播放详情
  367 +#define CNAudioPlayerDetailUrl cn_API_Classify(@"/playApi/play")
  368 +//获取音频播放列表
  369 +#define CNAlbumAudioListUrl cn_API_Classify(@"/contentApi/albumAudioList")
  370 +//播放进度回调
  371 +#define CNAudioRecordScheduleUrl cn_API_Classify(@"/recordApi/end")
  372 +//历史记录列表
  373 +#define CNAudioPastRecordsUrl cn_API_Classify(@"/recordApi/getRecords")
  374 +//删除历史记录列表
  375 +#define CNAudioDeletePastRecordsUrl cn_API_Classify(@"/recordApi/delete")
  376 +// 简介列表
  377 +#define CNAlbumMsgUrl cn_API_Classify(@"/contentApi/getAlbumMsg")
  378 +//节目列表
  379 +#define CNAlbumListUrl cn_API_Classify(@"/contentApi/albumAudioList")
  380 +//获取听见中国音频已购列表
  381 +#define CNGetAudioAlreadyBuyList cn_API_Classify(@"/recordApi/getOrdersList")
  382 +//积分付费购买音频
  383 +#define CNPayWithPointsUrl cn_API_OpenApi2(@"/pom/orderVideoByPoint")
  384 +//鉴权音频
  385 +#define CNPayAudioAuthUrl cn_API_OpenApi2(@"/lic/checkVideoLic")
  386 +//内购回调
  387 +#define CNApplePayCallbackUrl @"http://apps.pay.cnlive.com/upappnotify/notify/orderForVideo"
  388 +
  389 +#pragma mark - 文化中国
  390 +//文化中国获取合集列表
  391 +#define CNGetCultureChinaAlbumVideoList cn_API_Classify(@"/contentApi/albumVideoList")
  392 +
  393 +
  394 +#pragma mark - 体育中国
  395 +//体育中国-约跑路线
  396 +#define CNSportsChinaRunningRouteUrl cn_API_Host(@"/Daren/event/getEventList.action")
  397 +//体育中国-我的活动
  398 +#define CNSportsChinaMyActivitiesUrl cn_API_Host(@"/Daren/event/getMySportActivity.action")
  399 +//体育中国-我的记录
  400 +#define CNSportsChinaMyRecordUrl cn_API_Host(@"/Daren/event/getRouteRecordList.action")
  401 +//体育中国-活动成绩
  402 +#define CNSportsChinaActivitiyGradeUrl cn_API_Host(@"/Daren/event/getByEventGetRecord.action")
  403 +
  404 +//体育中国-详情
  405 +#define CNSportsChinaDetailUrl cn_API_Host(@"/Daren/event/getEventDetails.action")
  406 +//体育中国-详情-已参与人员
  407 +#define CNSportsChinaParticipantsUrl cn_API_Host(@"/Daren/event/getSignUpList.action")
  408 +//体育中国-详情-报名
  409 +#define CNSportsChinaSignUpUrl cn_API_Host(@"/Daren/event/signUp.action")
  410 +//体育中国-比赛-保存
  411 +#define CNSportsChinaSaveRecordUrl cn_API_Host(@"/Daren/event/routeRecord.action")
  412 +//踩点轨迹列表
  413 +#define CNSportsChinaShoeLineListUrl cn_API_Host(@"/Daren/event/getShoeLineList.action")
  414 +//绑定轨迹
  415 +#define CNSportsChinaBindingShoeLineUrl cn_API_Host(@"/Daren/event/bindingShoeLine.action")
  416 +//删除轨迹
  417 +#define CNSportsChinaDeleteShoeLineUrl cn_API_Host(@"/Daren/event/deleteShoeLine.action")
  418 +//检查轨迹
  419 +#define CNSportsChinaCheckShoeLineUrl cn_API_Host(@"/Daren/event/checkShoeLine.action")
  420 +//上传轨迹url
  421 +#define CNSportsChinaSaveShoeLineUrl cn_API_Host(@"/Daren/event/saveShoeLine.action")
  422 +
  423 +#pragma mark - 美食中国
  424 +//获取美食中国订阅号内容
  425 +#define CNGetSpListUrl cn_API_Classify(@"/contentApi/getList")
  426 +
  427 +#pragma mark - 目击者
  428 +//新版目击者
  429 +//获取新目击者界面数据
  430 +#define CNGetWitnessMsgContent cn_API_Host(@"/Daren/witness/getWitnessMsg.action")
  431 +//获取作品,动态数据
  432 +#define CNGetWitnessListContent cn_API_Host(@"/Daren/witness/getWitnessList.action")
  433 +//获取作品,动态数据
  434 +#define CNGetWitnessCollectionListContent cn_API_Host(@"/Daren/witness/getWitnessCollectionList.action")
  435 +//获取作品,动态数据
  436 +#define CNGetWitnessFollowsContent cn_API_Host(@"/Daren/witness/witnessFollows.action")
  437 +//收藏目击者动态
  438 +#define CNGetWitnessCancelCollection cn_API_Host(@"/Daren/witness/witnessCollectionType.action")
  439 +//对目击者的动态进行点赞
  440 +#define CNGetWitnessFavoriteMomentUrl cn_API_OpenApi2(@"/support/supportBySpIdForRank/insert")
  441 +//对目击者的粉丝列表数据获取
  442 +#define CNGetWitnessFollowsMomentUrl cn_API_Host(@"/Daren/witness/getWitnessFollowsList.action")
  443 +//获取目击者广场视频列表
  444 +#define CNGetWitnessAllListUrl cn_API_Classify(@"/contentApi/witnessNewList")
  445 +//目击者添加关注和取消关注
  446 +#define CNGetWitnessFollowsUrl cn_API_Host(@"/Daren/witness/witnessFollows.action")
  447 +//目击者获取评论列表
  448 +#define CNGetWitnessCommentLoadUrl cn_API_OpenApi2(@"/commentServices/services/commentForHdBySpId/loadComment")
  449 +//目击者添加评论
  450 +#define CNGetWitnessInsertCommentUrl cn_API_OpenApi2(@"/commentServices/commentForHdBySpId/insertComment")
  451 +//目击者获取相关推荐列表
  452 +#define CNGetWitnessRecommendListUrl cn_API_Classify(@"/playApi/moreList")
  453 +//目击者获取目击者视频列表
  454 +#define CNGetWittnessVideoListUrl cn_API_Classify(@"/contentApi/getWitness")
  455 +
  456 +
  457 +
  458 +#pragma mark - 点播
  459 +//视频点播
  460 +#define CNVideoDemandUrl cn_API_Classify(@"/playApi/play")
  461 +//查看全部
  462 +#define CNLookAtAllUrl cn_API_Classify(@"/playApi/moreList")
  463 +
  464 +#define CNCommentsListUrl cn_API_OpenApi2(@"/commentServices/services/commentForChat/loadComment")
  465 +#define CNCommentsAddUrl cn_API_OpenApi2(@"/commentServices/services/commentForChat/insert")
  466 +#define CNCommentsDeleteUrl cn_API_OpenApi2(@"/commentServices/services/commentForChat/delete")
  467 +
  468 +//获取点播302地址
  469 +#define CNGetVodUrl cn_API_OpenApi2(@"/vod_ips/vodplayByAPP")
  470 +
  471 +//帮助与反馈上传反馈信息&图片
  472 +#define CNUpdateFeedbackUrl cn_API_Host(@"/Daren/feedback/collectFeedback.action")
  473 +//检查扫描结果是否有效
  474 +#define CNCheckQrCodeUrl cn_API_Host(@"/Daren/qrcode/checkQrCodeUrl.action")
  475 +
  476 +// Native 分类
  477 +// 获取所有频道列表
  478 +#define CNAllChannelList @"http://intertv.cnlive.com/zgw/api/channellist"
  479 +//App配置信息
  480 +#define AppStart @"http://intertv.cnlive.com/zgw/api/appstart"
  481 +
  482 +#pragma mark - 申请目击者
  483 +// 目击者身份信息申请
  484 +#define CNApplyWitnessUrl cn_API_Host(@"/Daren/witness/applyWitness.action")
  485 +// 目击者身份校验
  486 +#define CNCheckWitnessUrl cn_API_Host(@"/Daren/witness/checkWitness.action")
  487 +//获取订阅号主页内容
  488 +#define CNGetSpHomePageInfoUrl cn_API_Classify(@"/contentApi/getSpInfo")
  489 +//获取订阅号分页内容
  490 +#define CNGetSpContentListUrl cn_API_Classify(@"/contentApi/getSpContentList")
  491 +//关注订阅号
  492 +#define CNGetSpAddFollowsUrl cn_API_Host(@"/Daren/group/addFollows.action")
  493 +//取消关注订阅号
  494 +#define CNGetSpUserCancelFollowUrl cn_API_Host(@"/Daren/group/userCancelFollow.action")
  495 +//加入群聊
  496 +#define CNGetSpUserAddGroupUrl cn_API_Host(@"/Daren/group/userAddGroup.action")
  497 +//获取全部粉丝
  498 +#define CNGetSPAllFansUrl cn_API_Host(@"/Daren/group/getFans.action")
  499 +//订阅号加入群聊
  500 +#define CNGetUserAddGroupUrl cn_API_Host(@"/Daren/group/userAddGroup.action")
  501 +
  502 +#pragma mark - 我的
  503 +// 用户uid检测达人状态
  504 +#define CNCheckDarenUrl cn_API_Host(@"/Daren/member/checkDaren.action")
  505 +// 获取我的余额
  506 +#define CNGetBalanceUrl cn_API_Host(@"/Daren/member/getBalance.action")
  507 +// 获取交易记录
  508 +#define CNGetTradingRecordUrl cn_API_Host(@"/Daren/transaction/getTransactionRecord.action")
  509 +// 获取与商户的交易记录
  510 +#define CNViewTransferRecordUrl cn_API_Host(@"/Daren/groupManagement/viewTransferRecord.action")
  511 +// 交易记录详情
  512 +#define CNGetRecordSourceMsgUrl cn_API_Host(@"/Daren/transaction/getRecordSourceDetail.action")
  513 +// 是否有支付密码
  514 +#define CNPasswordIsExistingUrl cn_API_Host(@"/Daren/wjjPay/passwordIsExisting.action")
  515 +// 设置支付密码
  516 +#define CNSetPasswordUrl cn_API_Host(@"/Daren/wjjPay/setPassword.action")
  517 +// 更改密码时发送验证码
  518 +#define CNSendSMSSetPasswordUrl cn_API_Host(@"/Daren/sms/sendSMS.action")
  519 +// 更改密码时验证验证码
  520 +#define CNCheckVerifyCodeSetPasswordUrl cn_API_Host(@"/Daren/sms/checkVerifyCode.action")
  521 +// 查看是否允许好友查看生活圈的状态
  522 +#define CNIsAllowFindStrangerSwitchUrl cn_API_Host(@"/Daren/moment/findStrangerSwitch.action")
  523 +// 切换是否允许好友查看生活圈
  524 +#define CNSwitchAllowStrangerUrl cn_API_Host(@"/Daren/moment/strangerSwitch.action")
  525 +
  526 +#pragma mark - 积分
  527 +#define CNIntegralGetTasksUrl cn_API_Host(@"/Daren/integral/getTasks.action")//任务列表
  528 +#define CNIntegralAddUrl cn_API_Host(@"/Daren/integral/addTask.action")//增加积分
  529 +#define CNIntegralDetailsUrl cn_API_Host(@"/Daren/integral/integralRecord.action")//积分明细
  530 +#define CNIntegralSignInUrl cn_API_Host(@"/Daren/integral/checkIn.action")//签到
  531 +#define CNCancellationUrl cn_API_Host(@"/Daren/common/cancellationAccount.action")//注销账号
  532 +
  533 +#pragma mark - 隐私
  534 +#define CNPrivacyNoLetHimSeeListUrl cn_API_Host(@"/Daren/moment/getDoNotletFsids.action")//不让他看列表
  535 +#define CNPrivacyNoSeeHimListUrl cn_API_Host(@"/Daren/moment/getNoLookFsids.action")//不看他列表
  536 +#define CNPrivacyNoLetHimSeeAddUrl cn_API_Host(@"/Daren/moment/addDoNotletFsids.action")//不让他看增加
  537 +#define CNPrivacyNoSeeHimAddUrl cn_API_Host(@"/Daren/moment/addNoLookFsids.action")//不看他增加
  538 +
  539 +#pragma mark - 订阅号
  540 +//选择你感兴趣的内容
  541 +#define CNInterestedContentUrl cn_API_Host(@"/Daren/group/getSpTags.action")
  542 +//推荐订阅号
  543 +#define CNRecommendedSubscribeUrl cn_API_Host(@"/Daren/group/getSubscriptionNumbers.action")
  544 +//推荐订阅号完成
  545 +#define CNRecommendedSubscribeFinishUrl cn_API_Host(@"/Daren/group/userFollowAddGroup.action")
  546 +//全部订阅号(不传sid)
  547 +#define CNAllSubscribeUrl cn_API_Host(@"/Daren/group/getMoreSubscriptionNumbers.action")
  548 +//全部订阅号(传sid)
  549 +#define CNAllSubscribeSidUrl cn_API_Host(@"/Daren/group/getCategorySubscriptionNumbers.action")
  550 +//关注订阅号
  551 +#define CNAddAttentionSubscribeUrl cn_API_Host(@"/Daren/group/addFollows.action")
  552 +//取消关注订阅号
  553 +#define CNCancelAttentionSubscribeUrl cn_API_Host(@"/Daren/group/userCancelFollow.action")
  554 +//加入群聊订阅号
  555 +#define CNJumpGroupSubscribeUrl cn_API_Host(@"/Daren/group/userAddGroup.action")
  556 +//设置默认订阅号
  557 +#define CNSubscribeDefaultAddFollowsUrl cn_API_Host(@"/Daren/group/defaultAddFollows.action")
  558 +//获取推荐的订阅号推荐内容
  559 +#define CNLiveSubscribeMsgUrl cn_API_Host(@"/Daren/group/subscribeMsg.action")
  560 +//获取已关注的订阅号列表
  561 +#define CNLiveOfficialAccountUrl cn_API_Host(@"/Daren/group/officialAccount.action")
  562 +//订阅号获取预约列表
  563 +#define CNLiveContentApiLiveListUrl cn_API_Classify(@"/contentApi/getLiveList")
  564 +//预约订阅号直播
  565 +#define CNLiveContentApiLiveAppointUrl cn_API_Classify(@"/contentApi/liveAppoint")
  566 +//订阅号热推
  567 +#define CNSubscribeHotPushUrl cn_API_Classify(@"/contentApi/getHotContent")
  568 +//一键关注
  569 +#define CNSubscribeOneKeyConcernUrl cn_API_Host(@"/Daren/group/oneKeyConcern.action")
  570 +
  571 +#pragma mark - App配置信息
  572 +// 获取最新版本信息
  573 +#define CNGetNewestVersionUrl cn_API_Host(@"/Daren/common/getNewestVersion.action")
  574 +// 获取App配置信息(统一)
  575 +#define CNGetCommonMsgUrl cn_API_Host(@"/Daren/common/getCommonMsg.action")
  576 +
  577 +#pragma mark 活动投票
  578 +//创建活动收费
  579 +#define CNAddGroupCharge cn_API_Host(@"/Daren/groupManagement/addGroupCharge.action")
  580 +//邀请加群
  581 +#define CNInvitationAddgroup cn_API_Host(@"/Daren/groupManagement/invitationAddGroup.action")
  582 +//获取通知列表
  583 +#define CNGetnoticesubs cn_API_Host(@"/Daren/sub/getNoticeSubs.action")
  584 +// 同意加入群
  585 +#define CNAgreeAddgroup cn_API_Contact(@"/CnliveIM/notify/addGroup.action") //@"https://wjjim.cnlive.com/CnliveIM/notify/addGroup.action")
  586 +// 创建投票
  587 +#define CNAddvote cn_API_Host(@"/Daren/vote/addVote.action")
  588 +//储存历任群主,再特色群创建和转让群主的时候创建
  589 +#define CNSavesuccessivegroup cn_API_Host(@"/Daren/groupManagement/saveSuccessiveGroup.action")
  590 +
  591 +#define CNGetAgreementH5Url cn_API_Refund(@"/json/wjj_user_terms.json")
  592 +
  593 +#define CNWeChatPayUrl cn_API_Host(@"/Daren/pay/notifyWeChatPay.action")
  594 +
  595 +#define CNAliPayUrl cn_API_Host(@"/Daren/pay/notifyAliPay.action")
  596 +
  597 +#define CNUnionPayUrl cn_API_Host(@"/Daren/pay/notifyUnionPay.action")
  598 +
  599 +#define CNJSFYNotifyUrl cn_API_Host(@"/Daren/pay/jsfyPayCallback.action")
  600 +
  601 +//获取特色群限制人数
  602 +#define CNGroupMemberLimit @"https://wjj.ys1.cnliveimg.com/json/GroupMemberLimit.json"
  603 +
  604 +#pragma mark - 获取观察者相关
  605 +//获取观察者相关数据
  606 +#define CNWitnessPublishContent cn_API_Host(@"/Daren/witness/getWitnessPublishContent.action")
  607 +
  608 +//删除观察者相关数据
  609 +#define CNDeleteOrUpdateWitnessURL cn_API_Host(@"/Daren/witness/deleteOrUpdateWitnessPublish.action")
  610 +
  611 +#pragma mark - 直播
  612 +
  613 +//取得相关视频
  614 +#define CNPlayerBackOrRelatedUrl cn_API_Classify(@"/contentApi/playList")
  615 +
  616 +//取得直播数据
  617 +#define CNPlayerDetailUrl cn_API_Classify(@"/playApi/play")
  618 +
  619 +//预约
  620 +#define CNPlayerOrderUrl cn_API_Classify(@"/contentApi/liveAppoint")
  621 +
  622 +//获取直播活动播放信息4App
  623 +#define CNLiveActivityPlayInfo4App cn_API_OpenApi2(@"/live_epg/getLiveActivityPlayInfo4App")
  624 +//获取直播间详情
  625 +#define CNLiveRoomInfo cn_API_Classify(@"/playApi/play")
  626 +
  627 +#define CNNewLiveInfoWeb cn_API_Classify(@"/contentApi/")
  628 +
  629 +//获取点播播放信息
  630 +#define CNLiveGetVodRates cn_API_OpenApi2(@"/vod_epg/getRates")
  631 +
  632 +//活动举报
  633 +#define CNLiveActivityReportContent cn_API_Report(@"/CnliveMobile/json/report.action")
  634 +
  635 +//订阅号关注
  636 +#define CNLiveSPAddFollow cn_API_Host(@"/Daren/group/addFollows.action")
  637 +
  638 +//取消订阅号关注
  639 +#define CNLiveSPCancelFollow cn_API_Host(@"/Daren/group/userCancelFollow.action")
  640 +
  641 +//订阅号取消管制
  642 +
  643 +//视频下载地址
  644 +#define CNLiveVideoDownloadUrl cn_API_OpenApi2(@"/vod_ips/vodplayByAPP")
  645 +
  646 +#pragma mark - 黑名单
  647 +//校验黑名单
  648 +#define CNCheckBlackUser cn_API_Contact(@"/CnliveIM/notify/checkBlackList.action")
  649 +//添加黑名单
  650 +#define CNBlackListAdd cn_API_Host(@"/Daren/blackList/blackListAdd.action")
  651 +//删除黑名单
  652 +#define CNBlackListDelete cn_API_Host(@"/Daren/blackList/blackListDelete.action")
  653 +//黑名单列表
  654 +#define CNBlackList cn_API_Host(@"/Daren/blackList/blackListGet.action")
  655 +
  656 +#pragma mark - 好友生活圈观看权限设置
  657 +//增加不让他人看
  658 +#define CNAdddonotletfsids cn_API_Host(@"/Daren/moment/addDoNotletFsids.action")
  659 +//取消不让他人看
  660 +#define CNDeldonotletfsids cn_API_Host(@"/Daren/moment/delDoNotletFsids.action")
  661 +//不让他看人列表
  662 +#define CNGetdonotletfsids cn_API_Host(@"/Daren/moment/getDoNotletFsids.action")
  663 +
  664 +//增加不看他的
  665 +#define CNAddnolookfsids cn_API_Host(@"/Daren/moment/addNoLookFsids.action")
  666 +//取消不看他的
  667 +#define CNDelnolookfsids cn_API_Host(@"/Daren/moment/delNoLookFsids.action")
  668 +//不看他的列表
  669 +#define CNGetnolookfsids cn_API_Host(@"/Daren/moment/getNoLookFsids.action")
  670 +
  671 +#pragma mark - 小家音响
  672 +//获取家庭ID
  673 +#define CNBoxGetFamilyIDAndDetailUrl cn_API_Host(@"/Daren/sound/getFamilyList.action")
  674 +
  675 +//获取家庭ID
  676 +#define CNBoxGetNetworkResultUrl cn_API_Host(@"/Daren/sound/getNetworkResult.action")
  677 +
  678 +//获取家庭身份列表
  679 +#define CNBoxGetFamilyRoletUrl cn_API_Host(@"/Daren/sound/getFamilyRole.action")
  680 +
  681 +//设备远程控制开关
  682 +#define CNBoxRemoteControlDeviceUrl cn_API_Host(@"/Daren/sound/remoteControlStatus.action")
  683 +//获取设备在线状态
  684 +#define CNBOXGetBackOnlineTypeUrl cn_API_Host(@"/Daren/sound/getRemoteControlStatus.action")
  685 +//获取设备详情信息
  686 +#define CNBOXGetDeviceDetailMsgUrl cn_API_Host(@"/Daren/sound/getDeviceDetailMsg.action")
  687 +
  688 +//修改设备名称
  689 +#define CNBOXUpdateDeviceNameUrl cn_API_Host(@"/Daren/sound/updateDeviceName.action")
  690 +//切换接入WIFI接口
  691 +#define CNBOXChangeWIFIUrl cn_API_Host(@"/Daren/sound/changeWiFi.action")
  692 +
  693 +//获取家庭成员列表(用于校验通讯录)
  694 +#define CNBOXGetFamilyMemberUrl cn_API_Host(@"/Daren/sound/getFamilyMember.action")
  695 +
  696 +//获取设置角色列表
  697 +#define CNBOXGetSetRoleListUrl cn_API_Host(@"/Daren/sound/getSetRoleList.action")
  698 +
  699 +//音箱家庭邀请成员
  700 +#define CNBOXFamilyGroupInviteYDUrl cn_API_Host(@"/Daren/sound/familyGroupInviteYD.action")
  701 +
  702 +//修改或移出家庭成员身份(删除)
  703 +#define CNBOXUpdateFamilyMemberRoleUrl cn_API_Host(@"/Daren/sound/updateFamilyMemberRole.action")
  704 +
  705 +//音箱设备暂停播放
  706 +#define CNBOXStopPlaybackDeviceUrl cn_API_Host(@"/Daren/sound/stopPlaybackDevice.action")
  707 +
  708 +//移动播放接口
  709 +#define CNBOXPlaybackDeviceUrl cn_API_Host(@"/Daren/sound/playbackDevice.action")
  710 +
  711 +//解绑设备
  712 +#define CNBOXDeleteDeviceUrl cn_API_Host(@"/Daren/sound/deleteDevice.action")
  713 +
  714 +#pragma mark - 登录
  715 +//添加三方登录
  716 +#define CNLoginIn3rdForWJJUrl cn_API_OpenApi2(@"/user/loginIn3rdForWJJ")
  717 +
  718 +//添加三方绑定并绑定手机号
  719 +#define CNLoginIn3rdAndMobileForWJJUrl cn_API_OpenApi2(@"/user/loginIn3rdAndMobileForWJJ")
  720 +
  721 +//添加三方绑定
  722 +#define CNLoginBind3rdUrl cn_API_OpenApi2(@"/user/bind3rd")
  723 +
  724 +//解除三方绑定
  725 +#define CNLoginUnBind3rdUrl cn_API_OpenApi2(@"/user/unBind3rd")
  726 +
  727 +#pragma mark - 明星号
  728 +//获取明星号主页
  729 +#define CNGetStarHomePageInfoUrl cn_API_Classify(@"/contentApi/getHomepageInfo")
  730 +
  731 +//获取明星号瀑布流
  732 +#define CNGetHomeContentListUrl cn_API_Classify(@"/contentApi/getHomeContentList")
  733 +
  734 +//明星号关注动作上交
  735 +#define CNStarAddStarFollowsUrl cn_API_Host(@"/Daren/group/addStarFollows.action")
  736 +
  737 +//明星号粉丝数据获取
  738 +#define CNGetAllFansListFollowsUrl cn_API_Host(@"/Daren/group/getStarFans.action")
  739 +
  740 +
  741 +// 获取评论列表
  742 +#define CNLiveTopicLoadCommentUrl cn_API_OpenApi2(@"/commentServices/commentForTopic/loadComments")
  743 +// 获取点赞用户列表
  744 +#define CNLiveTopicLoadLikeListUrl cn_API_OpenApi2(@"/support/readNewSupport")
  745 +//获取用户头视图数据
  746 +#define CNLiveTopicHeaderSourceUrl cn_API_Classify(@"/contentApi/getTopicInfo")
  747 +//关注话题详情页
  748 +#define CNLiveTopicFocusActionUrl cn_API_Host(@"/Daren/group/addStarFollows.action")
  749 +//对话题喜欢接口
  750 +#define CNLiveTopicLikeActionUrl cn_API_OpenApi2(@"/support/supportBySpId/insert")
  751 +//对话题进行评论
  752 +#define CNLiveTopicForCommentActionUrl cn_API_OpenApi2(@"/commentServices/commentForTopic/insertComment")
  753 +//对评论进行回复
  754 +#define CNLiveTopicForReplyActionUrl cn_API_OpenApi2(@"/commentServices/commentForTopic/insertReply")
  755 +//获取全部话题
  756 +#define CNLiveTopicForListAllUrl cn_API_Classify(@"/contentApi/getAllTopic")
  757 +
  758 +
  759 +//请求全部回复列表
  760 +#define CNTopicAllReplyDataUrl cn_API_OpenApi2(@"/commentServices/commentForTopic/loadReplys")
  761 +//删除一条评论
  762 +#define CNTopicDeleteCommentUrl cn_API_OpenApi2(@"/commentServices/commentForTopic/deleteComment")
  763 + //删除一条回复
  764 +#define CNTopicDeleteReplyUrl cn_API_OpenApi2(@"/commentServices/commentForTopic/deleteReply")
  765 +
  766 +#define CNAudioLikeUrl cn_API_OpenApi2(@"/support/supportBySpId/insert")
  767 +
  768 +#define CNLoadNotifyCommentsUrl cn_API_OpenApi2(@"/commentServices/commentForTopic/loadNotifyComments")
  769 +
  770 +
  771 +#endif /* CNLiveInterface_h */
Example/CNLiveBEnvironment.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 + 0DA192325EF16C669789BE71 /* Pods_CNLiveBEnvironment_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 849FE07AD94DB2873EC21FFD /* Pods_CNLiveBEnvironment_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 + 737C095263EDEE55F6F21B89 /* Pods_CNLiveBEnvironment_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3553AA278D0D8F4D6A4A470E /* Pods_CNLiveBEnvironment_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 = CNLiveBEnvironment;
  36 + };
  37 +/* End PBXContainerItemProxy section */
  38 +
  39 +/* Begin PBXFileReference section */
  40 + 0B9642B639336203308A740C /* Pods-CNLiveBEnvironment_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBEnvironment_Example.release.xcconfig"; path = "Target Support Files/Pods-CNLiveBEnvironment_Example/Pods-CNLiveBEnvironment_Example.release.xcconfig"; sourceTree = "<group>"; };
  41 + 3114CCD8455542BD4A993952 /* Pods-CNLiveBEnvironment_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBEnvironment_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveBEnvironment_Tests/Pods-CNLiveBEnvironment_Tests.debug.xcconfig"; sourceTree = "<group>"; };
  42 + 3553AA278D0D8F4D6A4A470E /* Pods_CNLiveBEnvironment_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveBEnvironment_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  43 + 5F90A945F651AD6EB6B1228A /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
  44 + 6003F58A195388D20070C39A /* CNLiveBEnvironment_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveBEnvironment_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 /* CNLiveBEnvironment-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveBEnvironment-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 /* CNLiveBEnvironment-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveBEnvironment-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 /* CNLiveBEnvironment_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveBEnvironment_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 + 6A9169BF5BBCC3448A37DF71 /* Pods-CNLiveBEnvironment_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBEnvironment_Example.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveBEnvironment_Example/Pods-CNLiveBEnvironment_Example.debug.xcconfig"; sourceTree = "<group>"; };
  64 + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
  65 + 849FE07AD94DB2873EC21FFD /* Pods_CNLiveBEnvironment_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveBEnvironment_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  66 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
  67 + AD3F0B09D5F92CBC95D1B085 /* CNLiveBEnvironment.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveBEnvironment.podspec; path = ../CNLiveBEnvironment.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  68 + D5E6B4A15CC0A0E4EBC6E37D /* Pods-CNLiveBEnvironment_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveBEnvironment_Tests.release.xcconfig"; path = "Target Support Files/Pods-CNLiveBEnvironment_Tests/Pods-CNLiveBEnvironment_Tests.release.xcconfig"; sourceTree = "<group>"; };
  69 + E1945B6A528FD09B324B8BDD /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
  70 +/* End PBXFileReference section */
  71 +
  72 +/* Begin PBXFrameworksBuildPhase section */
  73 + 6003F587195388D20070C39A /* Frameworks */ = {
  74 + isa = PBXFrameworksBuildPhase;
  75 + buildActionMask = 2147483647;
  76 + files = (
  77 + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */,
  78 + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */,
  79 + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */,
  80 + 0DA192325EF16C669789BE71 /* Pods_CNLiveBEnvironment_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 + 737C095263EDEE55F6F21B89 /* Pods_CNLiveBEnvironment_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 CNLiveBEnvironment */,
  103 + 6003F5B5195388D20070C39A /* Tests */,
  104 + 6003F58C195388D20070C39A /* Frameworks */,
  105 + 6003F58B195388D20070C39A /* Products */,
  106 + CEF29C395578A7D71682B328 /* Pods */,
  107 + );
  108 + sourceTree = "<group>";
  109 + };
  110 + 6003F58B195388D20070C39A /* Products */ = {
  111 + isa = PBXGroup;
  112 + children = (
  113 + 6003F58A195388D20070C39A /* CNLiveBEnvironment_Example.app */,
  114 + 6003F5AE195388D20070C39A /* CNLiveBEnvironment_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 + 849FE07AD94DB2873EC21FFD /* Pods_CNLiveBEnvironment_Example.framework */,
  127 + 3553AA278D0D8F4D6A4A470E /* Pods_CNLiveBEnvironment_Tests.framework */,
  128 + );
  129 + name = Frameworks;
  130 + sourceTree = "<group>";
  131 + };
  132 + 6003F593195388D20070C39A /* Example for CNLiveBEnvironment */ = {
  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 CNLiveBEnvironment";
  145 + path = CNLiveBEnvironment;
  146 + sourceTree = "<group>";
  147 + };
  148 + 6003F594195388D20070C39A /* Supporting Files */ = {
  149 + isa = PBXGroup;
  150 + children = (
  151 + 6003F595195388D20070C39A /* CNLiveBEnvironment-Info.plist */,
  152 + 6003F596195388D20070C39A /* InfoPlist.strings */,
  153 + 6003F599195388D20070C39A /* main.m */,
  154 + 6003F59B195388D20070C39A /* CNLiveBEnvironment-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 + AD3F0B09D5F92CBC95D1B085 /* CNLiveBEnvironment.podspec */,
  182 + 5F90A945F651AD6EB6B1228A /* README.md */,
  183 + E1945B6A528FD09B324B8BDD /* LICENSE */,
  184 + );
  185 + name = "Podspec Metadata";
  186 + sourceTree = "<group>";
  187 + };
  188 + CEF29C395578A7D71682B328 /* Pods */ = {
  189 + isa = PBXGroup;
  190 + children = (
  191 + 6A9169BF5BBCC3448A37DF71 /* Pods-CNLiveBEnvironment_Example.debug.xcconfig */,
  192 + 0B9642B639336203308A740C /* Pods-CNLiveBEnvironment_Example.release.xcconfig */,
  193 + 3114CCD8455542BD4A993952 /* Pods-CNLiveBEnvironment_Tests.debug.xcconfig */,
  194 + D5E6B4A15CC0A0E4EBC6E37D /* Pods-CNLiveBEnvironment_Tests.release.xcconfig */,
  195 + );
  196 + path = Pods;
  197 + sourceTree = "<group>";
  198 + };
  199 +/* End PBXGroup section */
  200 +
  201 +/* Begin PBXNativeTarget section */
  202 + 6003F589195388D20070C39A /* CNLiveBEnvironment_Example */ = {
  203 + isa = PBXNativeTarget;
  204 + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBEnvironment_Example" */;
  205 + buildPhases = (
  206 + D3C09345AEB97CF53AF25471 /* [CP] Check Pods Manifest.lock */,
  207 + 6003F586195388D20070C39A /* Sources */,
  208 + 6003F587195388D20070C39A /* Frameworks */,
  209 + 6003F588195388D20070C39A /* Resources */,
  210 + AB2010637C9F4D52F72E9EBA /* [CP] Embed Pods Frameworks */,
  211 + );
  212 + buildRules = (
  213 + );
  214 + dependencies = (
  215 + );
  216 + name = CNLiveBEnvironment_Example;
  217 + productName = CNLiveBEnvironment;
  218 + productReference = 6003F58A195388D20070C39A /* CNLiveBEnvironment_Example.app */;
  219 + productType = "com.apple.product-type.application";
  220 + };
  221 + 6003F5AD195388D20070C39A /* CNLiveBEnvironment_Tests */ = {
  222 + isa = PBXNativeTarget;
  223 + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBEnvironment_Tests" */;
  224 + buildPhases = (
  225 + BBABD865EB105518C9903839 /* [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 = CNLiveBEnvironment_Tests;
  236 + productName = CNLiveBEnvironmentTests;
  237 + productReference = 6003F5AE195388D20070C39A /* CNLiveBEnvironment_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 = "iOS-Xiaowen";
  249 + TargetAttributes = {
  250 + 6003F5AD195388D20070C39A = {
  251 + TestTargetID = 6003F589195388D20070C39A;
  252 + };
  253 + };
  254 + };
  255 + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveBEnvironment" */;
  256 + compatibilityVersion = "Xcode 3.2";
  257 + developmentRegion = English;
  258 + hasScannedForEncodings = 0;
  259 + knownRegions = (
  260 + English,
  261 + en,
  262 + Base,
  263 + );
  264 + mainGroup = 6003F581195388D10070C39A;
  265 + productRefGroup = 6003F58B195388D20070C39A /* Products */;
  266 + projectDirPath = "";
  267 + projectRoot = "";
  268 + targets = (
  269 + 6003F589195388D20070C39A /* CNLiveBEnvironment_Example */,
  270 + 6003F5AD195388D20070C39A /* CNLiveBEnvironment_Tests */,
  271 + );
  272 + };
  273 +/* End PBXProject section */
  274 +
  275 +/* Begin PBXResourcesBuildPhase section */
  276 + 6003F588195388D20070C39A /* Resources */ = {
  277 + isa = PBXResourcesBuildPhase;
  278 + buildActionMask = 2147483647;
  279 + files = (
  280 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */,
  281 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */,
  282 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */,
  283 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */,
  284 + );
  285 + runOnlyForDeploymentPostprocessing = 0;
  286 + };
  287 + 6003F5AC195388D20070C39A /* Resources */ = {
  288 + isa = PBXResourcesBuildPhase;
  289 + buildActionMask = 2147483647;
  290 + files = (
  291 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */,
  292 + );
  293 + runOnlyForDeploymentPostprocessing = 0;
  294 + };
  295 +/* End PBXResourcesBuildPhase section */
  296 +
  297 +/* Begin PBXShellScriptBuildPhase section */
  298 + AB2010637C9F4D52F72E9EBA /* [CP] Embed Pods Frameworks */ = {
  299 + isa = PBXShellScriptBuildPhase;
  300 + buildActionMask = 2147483647;
  301 + files = (
  302 + );
  303 + inputPaths = (
  304 + "${PODS_ROOT}/Target Support Files/Pods-CNLiveBEnvironment_Example/Pods-CNLiveBEnvironment_Example-frameworks.sh",
  305 + "${BUILT_PRODUCTS_DIR}/CNLiveBEnvironment/CNLiveBEnvironment.framework",
  306 + );
  307 + name = "[CP] Embed Pods Frameworks";
  308 + outputPaths = (
  309 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBEnvironment.framework",
  310 + );
  311 + runOnlyForDeploymentPostprocessing = 0;
  312 + shellPath = /bin/sh;
  313 + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveBEnvironment_Example/Pods-CNLiveBEnvironment_Example-frameworks.sh\"\n";
  314 + showEnvVarsInLog = 0;
  315 + };
  316 + BBABD865EB105518C9903839 /* [CP] Check Pods Manifest.lock */ = {
  317 + isa = PBXShellScriptBuildPhase;
  318 + buildActionMask = 2147483647;
  319 + files = (
  320 + );
  321 + inputFileListPaths = (
  322 + );
  323 + inputPaths = (
  324 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  325 + "${PODS_ROOT}/Manifest.lock",
  326 + );
  327 + name = "[CP] Check Pods Manifest.lock";
  328 + outputFileListPaths = (
  329 + );
  330 + outputPaths = (
  331 + "$(DERIVED_FILE_DIR)/Pods-CNLiveBEnvironment_Tests-checkManifestLockResult.txt",
  332 + );
  333 + runOnlyForDeploymentPostprocessing = 0;
  334 + shellPath = /bin/sh;
  335 + 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";
  336 + showEnvVarsInLog = 0;
  337 + };
  338 + D3C09345AEB97CF53AF25471 /* [CP] Check Pods Manifest.lock */ = {
  339 + isa = PBXShellScriptBuildPhase;
  340 + buildActionMask = 2147483647;
  341 + files = (
  342 + );
  343 + inputFileListPaths = (
  344 + );
  345 + inputPaths = (
  346 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  347 + "${PODS_ROOT}/Manifest.lock",
  348 + );
  349 + name = "[CP] Check Pods Manifest.lock";
  350 + outputFileListPaths = (
  351 + );
  352 + outputPaths = (
  353 + "$(DERIVED_FILE_DIR)/Pods-CNLiveBEnvironment_Example-checkManifestLockResult.txt",
  354 + );
  355 + runOnlyForDeploymentPostprocessing = 0;
  356 + shellPath = /bin/sh;
  357 + 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";
  358 + showEnvVarsInLog = 0;
  359 + };
  360 +/* End PBXShellScriptBuildPhase section */
  361 +
  362 +/* Begin PBXSourcesBuildPhase section */
  363 + 6003F586195388D20070C39A /* Sources */ = {
  364 + isa = PBXSourcesBuildPhase;
  365 + buildActionMask = 2147483647;
  366 + files = (
  367 + 6003F59E195388D20070C39A /* CNLIVEAppDelegate.m in Sources */,
  368 + 6003F5A7195388D20070C39A /* CNLIVEViewController.m in Sources */,
  369 + 6003F59A195388D20070C39A /* main.m in Sources */,
  370 + );
  371 + runOnlyForDeploymentPostprocessing = 0;
  372 + };
  373 + 6003F5AA195388D20070C39A /* Sources */ = {
  374 + isa = PBXSourcesBuildPhase;
  375 + buildActionMask = 2147483647;
  376 + files = (
  377 + 6003F5BC195388D20070C39A /* Tests.m in Sources */,
  378 + );
  379 + runOnlyForDeploymentPostprocessing = 0;
  380 + };
  381 +/* End PBXSourcesBuildPhase section */
  382 +
  383 +/* Begin PBXTargetDependency section */
  384 + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = {
  385 + isa = PBXTargetDependency;
  386 + target = 6003F589195388D20070C39A /* CNLiveBEnvironment_Example */;
  387 + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */;
  388 + };
  389 +/* End PBXTargetDependency section */
  390 +
  391 +/* Begin PBXVariantGroup section */
  392 + 6003F596195388D20070C39A /* InfoPlist.strings */ = {
  393 + isa = PBXVariantGroup;
  394 + children = (
  395 + 6003F597195388D20070C39A /* en */,
  396 + );
  397 + name = InfoPlist.strings;
  398 + sourceTree = "<group>";
  399 + };
  400 + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = {
  401 + isa = PBXVariantGroup;
  402 + children = (
  403 + 6003F5B9195388D20070C39A /* en */,
  404 + );
  405 + name = InfoPlist.strings;
  406 + sourceTree = "<group>";
  407 + };
  408 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = {
  409 + isa = PBXVariantGroup;
  410 + children = (
  411 + 71719F9E1E33DC2100824A3D /* Base */,
  412 + );
  413 + name = LaunchScreen.storyboard;
  414 + sourceTree = "<group>";
  415 + };
  416 +/* End PBXVariantGroup section */
  417 +
  418 +/* Begin XCBuildConfiguration section */
  419 + 6003F5BD195388D20070C39A /* Debug */ = {
  420 + isa = XCBuildConfiguration;
  421 + buildSettings = {
  422 + ALWAYS_SEARCH_USER_PATHS = NO;
  423 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  424 + CLANG_CXX_LIBRARY = "libc++";
  425 + CLANG_ENABLE_MODULES = YES;
  426 + CLANG_ENABLE_OBJC_ARC = YES;
  427 + CLANG_WARN_BOOL_CONVERSION = YES;
  428 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  429 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  430 + CLANG_WARN_EMPTY_BODY = YES;
  431 + CLANG_WARN_ENUM_CONVERSION = YES;
  432 + CLANG_WARN_INT_CONVERSION = YES;
  433 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  434 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  435 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  436 + COPY_PHASE_STRIP = NO;
  437 + ENABLE_TESTABILITY = YES;
  438 + GCC_C_LANGUAGE_STANDARD = gnu99;
  439 + GCC_DYNAMIC_NO_PIC = NO;
  440 + GCC_OPTIMIZATION_LEVEL = 0;
  441 + GCC_PREPROCESSOR_DEFINITIONS = (
  442 + "DEBUG=1",
  443 + "$(inherited)",
  444 + );
  445 + GCC_SYMBOLS_PRIVATE_EXTERN = NO;
  446 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  447 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  448 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  449 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  450 + GCC_WARN_UNUSED_FUNCTION = YES;
  451 + GCC_WARN_UNUSED_VARIABLE = YES;
  452 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  453 + ONLY_ACTIVE_ARCH = YES;
  454 + SDKROOT = iphoneos;
  455 + TARGETED_DEVICE_FAMILY = "1,2";
  456 + };
  457 + name = Debug;
  458 + };
  459 + 6003F5BE195388D20070C39A /* Release */ = {
  460 + isa = XCBuildConfiguration;
  461 + buildSettings = {
  462 + ALWAYS_SEARCH_USER_PATHS = NO;
  463 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  464 + CLANG_CXX_LIBRARY = "libc++";
  465 + CLANG_ENABLE_MODULES = YES;
  466 + CLANG_ENABLE_OBJC_ARC = YES;
  467 + CLANG_WARN_BOOL_CONVERSION = YES;
  468 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  469 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  470 + CLANG_WARN_EMPTY_BODY = YES;
  471 + CLANG_WARN_ENUM_CONVERSION = YES;
  472 + CLANG_WARN_INT_CONVERSION = YES;
  473 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  474 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  475 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  476 + COPY_PHASE_STRIP = YES;
  477 + ENABLE_NS_ASSERTIONS = NO;
  478 + GCC_C_LANGUAGE_STANDARD = gnu99;
  479 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  480 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  481 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  482 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  483 + GCC_WARN_UNUSED_FUNCTION = YES;
  484 + GCC_WARN_UNUSED_VARIABLE = YES;
  485 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  486 + SDKROOT = iphoneos;
  487 + TARGETED_DEVICE_FAMILY = "1,2";
  488 + VALIDATE_PRODUCT = YES;
  489 + };
  490 + name = Release;
  491 + };
  492 + 6003F5C0195388D20070C39A /* Debug */ = {
  493 + isa = XCBuildConfiguration;
  494 + baseConfigurationReference = 6A9169BF5BBCC3448A37DF71 /* Pods-CNLiveBEnvironment_Example.debug.xcconfig */;
  495 + buildSettings = {
  496 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  497 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  498 + GCC_PREFIX_HEADER = "CNLiveBEnvironment/CNLiveBEnvironment-Prefix.pch";
  499 + INFOPLIST_FILE = "CNLiveBEnvironment/CNLiveBEnvironment-Info.plist";
  500 + MODULE_NAME = ExampleApp;
  501 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  502 + PRODUCT_NAME = "$(TARGET_NAME)";
  503 + SWIFT_VERSION = 4.0;
  504 + WRAPPER_EXTENSION = app;
  505 + };
  506 + name = Debug;
  507 + };
  508 + 6003F5C1195388D20070C39A /* Release */ = {
  509 + isa = XCBuildConfiguration;
  510 + baseConfigurationReference = 0B9642B639336203308A740C /* Pods-CNLiveBEnvironment_Example.release.xcconfig */;
  511 + buildSettings = {
  512 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  513 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  514 + GCC_PREFIX_HEADER = "CNLiveBEnvironment/CNLiveBEnvironment-Prefix.pch";
  515 + INFOPLIST_FILE = "CNLiveBEnvironment/CNLiveBEnvironment-Info.plist";
  516 + MODULE_NAME = ExampleApp;
  517 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  518 + PRODUCT_NAME = "$(TARGET_NAME)";
  519 + SWIFT_VERSION = 4.0;
  520 + WRAPPER_EXTENSION = app;
  521 + };
  522 + name = Release;
  523 + };
  524 + 6003F5C3195388D20070C39A /* Debug */ = {
  525 + isa = XCBuildConfiguration;
  526 + baseConfigurationReference = 3114CCD8455542BD4A993952 /* Pods-CNLiveBEnvironment_Tests.debug.xcconfig */;
  527 + buildSettings = {
  528 + BUNDLE_LOADER = "$(TEST_HOST)";
  529 + FRAMEWORK_SEARCH_PATHS = (
  530 + "$(PLATFORM_DIR)/Developer/Library/Frameworks",
  531 + "$(inherited)",
  532 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  533 + );
  534 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  535 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  536 + GCC_PREPROCESSOR_DEFINITIONS = (
  537 + "DEBUG=1",
  538 + "$(inherited)",
  539 + );
  540 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  541 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  542 + PRODUCT_NAME = "$(TARGET_NAME)";
  543 + SWIFT_VERSION = 4.0;
  544 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveBEnvironment_Example.app/CNLiveBEnvironment_Example";
  545 + WRAPPER_EXTENSION = xctest;
  546 + };
  547 + name = Debug;
  548 + };
  549 + 6003F5C4195388D20070C39A /* Release */ = {
  550 + isa = XCBuildConfiguration;
  551 + baseConfigurationReference = D5E6B4A15CC0A0E4EBC6E37D /* Pods-CNLiveBEnvironment_Tests.release.xcconfig */;
  552 + buildSettings = {
  553 + BUNDLE_LOADER = "$(TEST_HOST)";
  554 + FRAMEWORK_SEARCH_PATHS = (
  555 + "$(PLATFORM_DIR)/Developer/Library/Frameworks",
  556 + "$(inherited)",
  557 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  558 + );
  559 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  560 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  561 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  562 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  563 + PRODUCT_NAME = "$(TARGET_NAME)";
  564 + SWIFT_VERSION = 4.0;
  565 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveBEnvironment_Example.app/CNLiveBEnvironment_Example";
  566 + WRAPPER_EXTENSION = xctest;
  567 + };
  568 + name = Release;
  569 + };
  570 +/* End XCBuildConfiguration section */
  571 +
  572 +/* Begin XCConfigurationList section */
  573 + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveBEnvironment" */ = {
  574 + isa = XCConfigurationList;
  575 + buildConfigurations = (
  576 + 6003F5BD195388D20070C39A /* Debug */,
  577 + 6003F5BE195388D20070C39A /* Release */,
  578 + );
  579 + defaultConfigurationIsVisible = 0;
  580 + defaultConfigurationName = Release;
  581 + };
  582 + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBEnvironment_Example" */ = {
  583 + isa = XCConfigurationList;
  584 + buildConfigurations = (
  585 + 6003F5C0195388D20070C39A /* Debug */,
  586 + 6003F5C1195388D20070C39A /* Release */,
  587 + );
  588 + defaultConfigurationIsVisible = 0;
  589 + defaultConfigurationName = Release;
  590 + };
  591 + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveBEnvironment_Tests" */ = {
  592 + isa = XCConfigurationList;
  593 + buildConfigurations = (
  594 + 6003F5C3195388D20070C39A /* Debug */,
  595 + 6003F5C4195388D20070C39A /* Release */,
  596 + );
  597 + defaultConfigurationIsVisible = 0;
  598 + defaultConfigurationName = Release;
  599 + };
  600 +/* End XCConfigurationList section */
  601 + };
  602 + rootObject = 6003F582195388D10070C39A /* Project object */;
  603 +}
Example/CNLiveBEnvironment.xcodeproj/xcshareddata/xcschemes/CNLiveBEnvironment-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 = "CNLiveBEnvironment_Example.app"
  19 + BlueprintName = "CNLiveBEnvironment_Example"
  20 + ReferencedContainer = "container:CNLiveBEnvironment.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 = "CNLiveBEnvironment_Tests.xctest"
  37 + BlueprintName = "CNLiveBEnvironment_Tests"
  38 + ReferencedContainer = "container:CNLiveBEnvironment.xcodeproj">
  39 + </BuildableReference>
  40 + </TestableReference>
  41 + </Testables>
  42 + <MacroExpansion>
  43 + <BuildableReference
  44 + BuildableIdentifier = "primary"
  45 + BlueprintIdentifier = "6003F589195388D20070C39A"
  46 + BuildableName = "CNLiveBEnvironment_Example.app"
  47 + BlueprintName = "CNLiveBEnvironment_Example"
  48 + ReferencedContainer = "container:CNLiveBEnvironment.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 = "CNLiveBEnvironment_Example.app"
  70 + BlueprintName = "CNLiveBEnvironment_Example"
  71 + ReferencedContainer = "container:CNLiveBEnvironment.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 = "CNLiveBEnvironment_Example.app"
  89 + BlueprintName = "CNLiveBEnvironment_Example"
  90 + ReferencedContainer = "container:CNLiveBEnvironment.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/CNLiveBEnvironment/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/CNLiveBEnvironment/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/CNLiveBEnvironment/CNLIVEAppDelegate.h 0 → 100644
  1 +//
  2 +// CNLIVEAppDelegate.h
  3 +// CNLiveBEnvironment
  4 +//
  5 +// Created by iOS-Xiaowen on 04/14/2020.
  6 +// Copyright (c) 2020 iOS-Xiaowen. 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/CNLiveBEnvironment/CNLIVEAppDelegate.m 0 → 100644
  1 +//
  2 +// CNLIVEAppDelegate.m
  3 +// CNLiveBEnvironment
  4 +//
  5 +// Created by iOS-Xiaowen on 04/14/2020.
  6 +// Copyright (c) 2020 iOS-Xiaowen. 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/CNLiveBEnvironment/CNLIVEViewController.h 0 → 100644
  1 +//
  2 +// CNLIVEViewController.h
  3 +// CNLiveBEnvironment
  4 +//
  5 +// Created by iOS-Xiaowen on 04/14/2020.
  6 +// Copyright (c) 2020 iOS-Xiaowen. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +
  11 +@interface CNLIVEViewController : UIViewController
  12 +
  13 +@end
Example/CNLiveBEnvironment/CNLIVEViewController.m 0 → 100644
  1 +//
  2 +// CNLIVEViewController.m
  3 +// CNLiveBEnvironment
  4 +//
  5 +// Created by iOS-Xiaowen on 04/14/2020.
  6 +// Copyright (c) 2020 iOS-Xiaowen. 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/CNLiveBEnvironment/CNLiveBEnvironment-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/CNLiveBEnvironment/CNLiveBEnvironment-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/CNLiveBEnvironment/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/CNLiveBEnvironment/en.lproj/InfoPlist.strings 0 → 100644
  1 +/* Localized versions of Info.plist keys */
  2 +
Example/CNLiveBEnvironment/main.m 0 → 100644
  1 +//
  2 +// main.m
  3 +// CNLiveBEnvironment
  4 +//
  5 +// Created by iOS-Xiaowen on 04/14/2020.
  6 +// Copyright (c) 2020 iOS-Xiaowen. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +#import "CNLIVEAppDelegate.h"
  11 +
  12 +int main(int argc, char * argv[])
  13 +{
  14 + @autoreleasepool {
  15 + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLIVEAppDelegate class]));
  16 + }
  17 +}
Example/Podfile 0 → 100644
  1 +use_frameworks!
  2 +source 'https://github.com/CocoaPods/Specs.git'
  3 +source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git'
  4 +platform :ios, '9.0'
  5 +
  6 +target 'CNLiveBEnvironment_Example' do
  7 + pod 'CNLiveBEnvironment', :path => '../'
  8 +
  9 + target 'CNLiveBEnvironment_Tests' do
  10 + inherit! :search_paths
  11 +
  12 +
  13 + end
  14 +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 +// CNLiveBEnvironmentTests.m
  3 +// CNLiveBEnvironmentTests
  4 +//
  5 +// Created by iOS-Xiaowen on 04/14/2020.
  6 +// Copyright (c) 2020 iOS-Xiaowen. All rights reserved.
  7 +//
  8 +
  9 +@import XCTest;
  10 +
  11 +@interface Tests : XCTestCase
  12 +
  13 +@end
  14 +
  15 +@implementation Tests
  16 +
  17 +- (void)setUp
  18 +{
  19 + [super setUp];
  20 + // Put setup code here. This method is called before the invocation of each test method in the class.
  21 +}
  22 +
  23 +- (void)tearDown
  24 +{
  25 + // Put teardown code here. This method is called after the invocation of each test method in the class.
  26 + [super tearDown];
  27 +}
  28 +
  29 +- (void)testExample
  30 +{
  31 + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__);
  32 +}
  33 +
  34 +@end
  35 +
Example/Tests/en.lproj/InfoPlist.strings 0 → 100644
  1 +/* Localized versions of Info.plist keys */
  2 +
  1 +Copyright (c) 2020 iOS-Xiaowen <153993236@qq.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 -CNLiveBEnvironment  
2 \ No newline at end of file 1 \ No newline at end of file
  2 +# CNLiveBEnvironment
  3 +
  4 +[![CI Status](https://img.shields.io/travis/iOS-Xiaowen/CNLiveBEnvironment.svg?style=flat)](https://travis-ci.org/iOS-Xiaowen/CNLiveBEnvironment)
  5 +[![Version](https://img.shields.io/cocoapods/v/CNLiveBEnvironment.svg?style=flat)](https://cocoapods.org/pods/CNLiveBEnvironment)
  6 +[![License](https://img.shields.io/cocoapods/l/CNLiveBEnvironment.svg?style=flat)](https://cocoapods.org/pods/CNLiveBEnvironment)
  7 +[![Platform](https://img.shields.io/cocoapods/p/CNLiveBEnvironment.svg?style=flat)](https://cocoapods.org/pods/CNLiveBEnvironment)
  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 +CNLiveBEnvironment is available through [CocoaPods](https://cocoapods.org). To install
  18 +it, simply add the following line to your Podfile:
  19 +
  20 +```ruby
  21 +pod 'CNLiveBEnvironment'
  22 +```
  23 +
  24 +## Author
  25 +
  26 +iOS-Xiaowen, 153993236@qq.com
  27 +
  28 +## License
  29 +
  30 +CNLiveBEnvironment 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