Commit 0caac56996fd52f13b7afeb48d943027b057f36a

Authored by 梁星国
1 parent db652ea5

提交更改

Showing 36 changed files with 1311 additions and 200 deletions
.gitignore 0 → 100644
  1 +# OS X
  2 +.DS_Store
  3 +
  4 +# Xcode
  5 +build/
  6 +Products/
  7 +*.pbxuser
  8 +!default.pbxuser
  9 +*.mode1v3
  10 +!default.mode1v3
  11 +*.mode2v3
  12 +!default.mode2v3
  13 +*.perspectivev3
  14 +!default.perspectivev3
  15 +xcuserdata/
  16 +*.xccheckout
  17 +profile
  18 +*.moved-aside
  19 +DerivedData
  20 +*.hmap
  21 +*.ipa
  22 +
  23 +# Bundler
  24 +.bundle
  25 +
  26 +# Add this line if you want to avoid checking in source code from Carthage dependencies.
  27 +# Carthage/Checkouts
  28 +
  29 +Carthage/Build
  30 +
  31 +# We recommend against adding the Pods directory to your .gitignore. However
  32 +# you should judge for yourself, the pros and cons are mentioned at:
  33 +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
  34 +#
  35 +# Note: if you ignore the Pods directory, make sure to uncomment
  36 +# `pod install` in .travis.yml
  37 +#
  38 +# Pods/
0 39 \ No newline at end of file
... ...
CNLiveICloudPicker.podspec
1 1 #
2   -# Be sure to run `pod spec lint CNLiveICloudPicker.podspec' to ensure this is a
3   -# valid spec and to remove all comments including this before submitting the spec.
  2 +# Be sure to run `pod lib lint CNLiveICloudPicker.podspec' to ensure this is a
  3 +# valid spec before submitting.
4 4 #
5   -# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
6   -# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
  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 7 #
8 8  
9 9 Pod::Spec.new do |s|
10   -
11   - # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
12   - #
13   - # These will help people to find your library, and whilst it
14   - # can feel like a chore to fill in it's definitely to your advantage. The
15   - # summary should be tweet-length, and the description more in depth.
16   - #
17   -
18   - s.name = "CNLiveICloudPicker" # 项目名称
19   - s.version = "0.0.4" # 版本号 与 你仓库的 标签号 对应
20   - s.summary = "iCloud选择器" # 项目简介
21   -
22   - # This description is used to generate tags and improve search results.
23   - # * Think: What does it do? Why did you write it? What is the focus?
24   - # * Try to keep it short, snappy and to the point.
25   - # * Write the description between the DESC delimiters below.
26   - # * Finally, don't worry about the indent, CocoaPods strips it!
27   - s.description = <<-DESC
28   - 用于iCloud管理库:
29   - 1.文件管理
30   - 2.iCloud验证
31   - 3.iCloud文件下载到本地
32   - 4.TODO:iCloud写入
33   -
34   - DESC
35   -
36   - s.homepage = "http://bj.gitlab.cnlive.com/ios-team/CNLiveICloudPicker" # 仓库的主页
37   - # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
38   -
39   -
40   - # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
41   - #
42   - # Licensing your code is important. See http://choosealicense.com for more info.
43   - # CocoaPods will detect a license file if there is a named LICENSE*
44   - # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
45   - #
46   -
47   - s.license = "MIT"
48   - # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
49   -
50   -
51   - # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
52   - #
53   - # Specify the authors of the library, with email addresses. Email addresses
54   - # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
55   - # accepts just a name if you'd rather not provide an email address.
56   - #
57   - # Specify a social_media_url where others can refer to, for example a twitter
58   - # profile URL.
59   - #
60   -
61   - s.author = { "梁星国" => "liangxinguo@cnlive.com" }
62   - # Or just: s.author = "梁星国"
63   - # s.authors = { "梁星国" => "jyyjkt@qq.com" }
64   - # s.social_media_url = "http://twitter.com/梁星国"
65   -
66   - # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
67   - #
68   - # If this Pod runs only on iOS or OS X, then specify the platform and
69   - # the deployment target. You can optionally include the target after the platform.
70   - #
71   -
72   - # s.platform = :ios
73   - s.platform = :ios, "9.0"
74   -
75   - # When using multiple platforms
76   - # s.ios.deployment_target = "5.0"
77   - # s.osx.deployment_target = "10.7"
78   - # s.watchos.deployment_target = "2.0"
79   - # s.tvos.deployment_target = "9.0"
80   -
81   -
82   - # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
83   - #
84   - # Specify the location from where the source should be retrieved.
85   - # Supports git, hg, bzr, svn and HTTP.
86   - #
87   -
88   - s.source = { :git => "http://bj.gitlab.cnlive.com/ios-team/CNLiveICloudPicker.git", :tag => "#{s.version}" }
89   -
90   -
91   - # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
92   - #
93   - # CocoaPods is smart about how it includes source code. For source files
94   - # giving a folder will include any swift, h, m, mm, c & cpp files.
95   - # For header files it will include any header in the folder.
96   - # Not including the public_header_files will make all headers public.
97   - #
98   -
99   - s.source_files = "CNLiveICloudPicker/*" # 文件位置
100   - #s.exclude_files = "Classes/Exclude"
101   -
102   - # s.public_header_files = "Classes/**/*.h"
103   -
104   -
105   - # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
106   - #
107   - # A list of resources included with the Pod. These are copied into the
108   - # target bundle with a build phase script. Anything else will be cleaned.
109   - # You can preserve files from being cleaned, please don't preserve
110   - # non-essential files like tests, examples and documentation.
111   - #
112   -
113   - # s.resource = "icon.png"
114   - # s.resources = "Resources/*.png"
115   -
116   - # s.preserve_paths = "FilesToSave", "MoreFilesToSave"
117   -
118   -
119   - # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
120   - #
121   - # Link your library with frameworks, or libraries. Libraries do not include
122   - # the lib prefix of their name.
123   - #
124   -
125   - # s.framework = "SomeFramework"
126   - s.frameworks = "UIKit", "Foundation" #􏱼􏱽􏱌􏲀􏲁
127   -
128   - # s.library = "iconv"
129   - # s.libraries = "iconv", "xml2"
130   -
131   -
132   - # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
133   - #
134   - # If your library depends on compiler flags you can set them in the xcconfig hash
135   - # where they will only apply to your library. If you depend on other Podspecs
136   - # you can include multiple dependencies to ensure it works.
137   -
138   - s.requires_arc = true
139   -
140   - # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
141   - # s.dependency "JSONKit", "~> 1.4"
142   -
  10 + s.name = 'CNLiveICloudPicker'
  11 + s.version = '0.0.4'
  12 + s.summary = 'iCloud取得文件'
  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 + 取得iCloud同步的文件
  22 + DESC
  23 +
  24 + s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveICloudPicker.git'
  25 + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  26 + s.license = { :type => 'MIT', :file => 'LICENSE' }
  27 + s.author = { '梁星国' => 'liangxingguo@cnlive.com' }
  28 + s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveICloudPicker.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 = 'CNLiveICloudPicker/Classes/**/*'
  34 +
  35 + # s.resource_bundles = {
  36 + # 'CNLiveICloudPicker' => ['CNLiveICloudPicker/Assets/*.png']
  37 + # }
  38 +
  39 + # s.public_header_files = 'Pod/Classes/**/*.h'
  40 + s.frameworks = 'UIKit', 'Foundation'
  41 + # s.dependency 'AFNetworking', '~> 2.3'
143 42 end
... ...
CNLiveICloudPicker/Assets/.gitkeep 0 → 100644
CNLiveICloudPicker/Classes/.gitkeep 0 → 100644
CNLiveICloudPicker/CNICloudDocumentModel.h renamed to CNLiveICloudPicker/Classes/CNICloudDocumentModel.h
CNLiveICloudPicker/CNICloudDocumentModel.m renamed to CNLiveICloudPicker/Classes/CNICloudDocumentModel.m
CNLiveICloudPicker/CNICloudDocumentPickerController.h renamed to CNLiveICloudPicker/Classes/CNICloudDocumentPickerController.h
... ... @@ -15,6 +15,9 @@ NS_ASSUME_NONNULL_BEGIN
15 15 /** 主题颜色 */
16 16 @property (strong, nonatomic) UIColor *themeColor;
17 17  
  18 +
  19 +
  20 +
18 21 @end
19 22  
20 23 NS_ASSUME_NONNULL_END
... ...
CNLiveICloudPicker/CNICloudDocumentPickerController.m renamed to CNLiveICloudPicker/Classes/CNICloudDocumentPickerController.m
... ... @@ -37,6 +37,7 @@
37 37 if (_defultColor) {
38 38 [self configuraThemeColor:_defultColor];
39 39 }
  40 +
40 41 }
41 42  
42 43 /** 设置主题颜色 */
... ...
CNLiveICloudPicker/Classes/CNICloudDocumentPickerManager.h 0 → 100644
  1 +//
  2 +// CNICloudDocumentPickerManager.h
  3 +// iCloud_测试
  4 +//
  5 +// Created by 梁星国 on 2018/10/12.
  6 +// Copyright © 2018年 梁星国. All rights reserved.
  7 +//
  8 +
  9 +#import <Foundation/Foundation.h>
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +@interface CNICloudDocumentPickerManager : NSObject
  14 +
  15 +@end
  16 +
  17 +NS_ASSUME_NONNULL_END
... ...
CNLiveICloudPicker/Classes/CNICloudDocumentPickerManager.m 0 → 100644
  1 +//
  2 +// CNICloudDocumentPickerManager.m
  3 +// iCloud_测试
  4 +//
  5 +// Created by 梁星国 on 2018/10/12.
  6 +// Copyright © 2018年 梁星国. All rights reserved.
  7 +//
  8 +
  9 +#import "CNICloudDocumentPickerManager.h"
  10 +
  11 +@implementation CNICloudDocumentPickerManager
  12 +
  13 +
  14 +@end
... ...
CNLiveICloudPicker/CNICloudFileHelper.h renamed to CNLiveICloudPicker/Classes/CNICloudFileHelper.h
CNLiveICloudPicker/CNICloudFileHelper.m renamed to CNLiveICloudPicker/Classes/CNICloudFileHelper.m
... ... @@ -99,9 +99,10 @@
99 99 for (NSString *subPath in subpaths) {
100 100 NSString *fileAbsoluePath = [NSString stringWithFormat:@"%@/%@",path,subPath];
101 101 if ([CNICloudFileHelper isDirectoryAtPath:fileAbsoluePath]) {
102   - fileSize += [self fileSizeAtPath:fileAbsoluePath];
103   - } else {
104 102 fileSize += 0.0;
  103 + } else {
  104 + fileSize += [self fileSizeAtPath:fileAbsoluePath];
  105 +
105 106 }
106 107 }
107 108 return fileSize;
... ...
CNLiveICloudPicker/CNICloudManager.h renamed to CNLiveICloudPicker/Classes/CNICloudManager.h
... ... @@ -34,20 +34,19 @@ NS_ASSUME_NONNULL_BEGIN
34 34 保存文件到本地 /Documents/iCloudBox 下
35 35  
36 36 @param url 文件路径
37   - @param outputPath 导出路径
38 37 @param maxSize 保存的最大尺寸 为 nil 忽略
  38 + @param conversationId 群聊为群 ID, 单聊为好友ID (即 会话ID)
39 39 @param callBackContent 保存h的路径 url,是否保存成功,保存失败的描述
40 40 */
41   -+ (void)saveWithDocumentURL:(NSURL *)url outputPath:(NSString *)outputPath maxSize:(float)maxSize callBackContent:(void(^)(CNICloudDocumentModel *model, BOOL success, NSString * msg, NSInteger code))callBackContent;
  41 ++ (void)saveWithDocumentURL:(NSURL *)url maxSize:(float)maxSize conversationId:(NSString *)conversationId callBackContent:(void(^)(CNICloudDocumentModel *model, BOOL success, NSString * msg,NSInteger code))callBackContent;
42 42  
43 43 /**
44   - 文件是否在指定filePath存在 否则是否在iCloudBox存在
  44 + 文件是否在 iCloudBox 存在
45 45  
46 46 @param fileName 文件名(fileUrl.lastPathComponent) eg. doc.text
47   - @param filePath 指定路径
48 47 @return 文件路径
49 48 */
50   -+ (NSURL *)documentIsExistsWithFileName:(NSString *)fileName filePath:(NSString *)filePath;
  49 ++ (NSURL *)documentIsExistsWithFileName:(NSString *)fileName;
51 50  
52 51 /**
53 52 清楚本地缓存
... ... @@ -55,15 +54,14 @@ NS_ASSUME_NONNULL_BEGIN
55 54 @param filePath filePath 为空 清除所有缓存
56 55 @return 是否成功
57 56 */
58   -+ (BOOL)clearICloudBoxCacheWhithFilePath:(NSString *)filePath;
  57 ++ (BOOL)clearICloudBoxCacheWhithFilePath:(NSURL *)filePath;
59 58  
60 59 /**
61 60 异步获取iCloudBox 缓存大小
62 61  
63   - @param filePath 路径
64 62 @param callBack 返回大小
65 63 */
66   -+ (void)asynciCloudBoxSizeWithFilePath:(NSString *)filePath CallBack:(void(^)(float size))callBack;
  64 ++ (void)asynciCloudBoxSizeCallBack:(void(^)(float size))callBack;
67 65  
68 66 @end
69 67  
... ...
CNLiveICloudPicker/CNICloudManager.m renamed to CNLiveICloudPicker/Classes/CNICloudManager.m
... ... @@ -15,7 +15,7 @@
15 15 #define kICloudBoxPath [NSString stringWithFormat:@"%@%@",NSHomeDirectory(),@"/Documents/iCloudBox/Doc/"]
16 16  
17 17 /** 存放下载路径 */
18   -#define kICloudBoxDownLoadPath [NSString stringWithFormat:@"%@%@",NSHomeDirectory(),@"/Documents/iCloudBox/Doc/Download/"]
  18 +#define kICloudBoxDownLoadPath [NSString stringWithFormat:@"%@%@",NSHomeDirectory(),@"/Documents/iCloudBox/Download/"]
19 19  
20 20 #define code100 100 //写入文件成功
21 21 #define code101 101 //没有开启权限
... ... @@ -24,6 +24,7 @@
24 24 #define code104 104 //文件夹无文件
25 25 #define code105 105 //文件写入失败
26 26 #define code106 106 //无数据
  27 +#define code107 107 //文件大小为0KB
27 28 @implementation NSString (CNICloudManager)
28 29  
29 30 + (BOOL)isEmpty:(NSString *)string
... ... @@ -79,14 +80,15 @@
79 80  
80 81  
81 82 /**
82   - 保存文件到本地指定路径 默认/Documents/iCloudBox 下
  83 + 保存文件到本地 /Documents/iCloudBox 下
83 84  
84 85 @param url 文件路径
85 86 @param maxSize 保存的最大尺寸 为 nil 忽略
  87 + @param conversationId 群聊为群 ID, 单聊为好友ID (即 会话ID)
86 88 @param callBackContent 保存h的路径 url,是否保存成功,保存失败的描述
87 89 */
88 90  
89   -+ (void)saveWithDocumentURL:(NSURL *)url outputPath:(NSString *)outputPath maxSize:(float)maxSize callBackContent:(void(^)(CNICloudDocumentModel *model, BOOL success, NSString * msg, NSInteger code))callBackContent {
  91 ++ (void)saveWithDocumentURL:(NSURL *)url maxSize:(float)maxSize conversationId:(NSString *)conversationId callBackContent:(void(^)(CNICloudDocumentModel *model, BOOL success, NSString * msg, NSInteger code))callBackContent {
90 92  
91 93 if (![CNICloudManager iCloudEnable]) {
92 94 callBackContent(nil, false, @"请在设置->AppleID、iCloud->iCloud中打开访问权限",code101);
... ... @@ -96,10 +98,6 @@
96 98 NSArray *array = [[url absoluteString] componentsSeparatedByString:@"/"];
97 99 NSString *fileName = [array lastObject];
98 100 fileName = [fileName stringByRemovingPercentEncoding];
99   - if (!fileName) {
100   - callBackContent(nil, false, @"请在设置->AppleID、iCloud->iCloud中打开访问权限",code104);
101   - return;
102   - }
103 101  
104 102 [CNICloudManager downloadWithDocumentURL:url callBack:^(bool success ,NSData *data, float size) {
105 103  
... ... @@ -117,22 +115,19 @@
117 115 callBackContent(nil,false,[NSString stringWithFormat:@"文件夹无文件"],code104);
118 116 return;
119 117 }
  118 +
  119 + if (size == 0) {
  120 + callBackContent(nil,false,[NSString stringWithFormat:@"文件大小为0KB"],code107);
  121 + return;
  122 + }
120 123  
121 124 if (data) {
  125 +
122 126  
123   - NSString *dataPath = [NSString string];
124   - if ([NSString isEmpty:outputPath]) {
125   - dataPath = kICloudBoxPath;
126   - }else {
127   - dataPath = outputPath;
128   - }
  127 + NSString *dataPath = [[CNTools getChatFilesPathByUserId:conversationId] stringByAppendingPathComponent:fileName];
  128 + NSURL *writeUrl = [[NSURL alloc]initFileURLWithPath:dataPath];
  129 + [CNICloudFileHelper createDirectoryAtPath:kICloudBoxPath];
129 130  
130   - BOOL isCreate = [CNICloudFileHelper createDirectoryAtPath:dataPath];
131   - if (!isCreate) {
132   - callBackContent(nil,YES,@"文件创建失败",code104);
133   - return;
134   - }
135   - NSURL *writeUrl = [[NSURL alloc]initFileURLWithPath:[dataPath stringByAppendingString:fileName]];
136 131 BOOL isWrite = [data writeToURL:writeUrl options:NSDataWritingAtomic error:nil];
137 132  
138 133 if (isWrite) {
... ... @@ -151,31 +146,25 @@
151 146  
152 147  
153 148 /**
154   - 文件是否在指定filePath存在 否则是否在iCloudBox存在
  149 + 文件是否在 iCloudBox 存在
155 150  
156 151 @param fileName 文件名(fileUrl.lastPathComponent) eg. doc.text
157 152 @return 文件路径
158 153 */
159   -+ (NSURL *)documentIsExistsWithFileName:(NSString *)fileName filePath:(NSString *)filePath{
  154 ++ (NSURL *)documentIsExistsWithFileName:(NSString *)fileName {
160 155  
161 156 NSFileManager *fileManager = [NSFileManager defaultManager];
162   - NSString *tempPath = [NSString string];
163   - if ([NSString isEmpty:filePath]) {
164   - tempPath = kICloudBoxDownLoadPath;
165   - }else {
166   - tempPath = filePath;
167   - }
168   - NSArray *childFilePaths = [fileManager subpathsAtPath:tempPath];
  157 + NSArray *childFilePaths = [fileManager subpathsAtPath:kICloudBoxDownLoadPath];
169 158 if (childFilePaths.count <= 0) {
170 159 return nil;
171 160 }
172 161  
173   - for (NSString *path in childFilePaths) {
  162 + for (NSURL *path in childFilePaths) {
174 163 //读取文件名
175   - NSString *checkPath = [NSString stringWithFormat:@"%@%@",tempPath,path];
176   - NSURL *checkUrl = [[NSURL alloc]initFileURLWithPath:checkPath];
177   - if ([fileName isEqualToString:checkUrl.lastPathComponent]) {
178   - return checkUrl;
  164 + NSString *filePath = [NSString stringWithFormat:@"%@%@",kICloudBoxDownLoadPath,path];
  165 + NSURL *fileUrl = [[NSURL alloc]initFileURLWithPath:filePath];
  166 + if ([fileName isEqualToString:fileUrl.lastPathComponent]) {
  167 + return fileUrl;
179 168 }
180 169 }
181 170  
... ... @@ -185,18 +174,18 @@
185 174  
186 175  
187 176 /**
188   - 清本地缓存
  177 + 清本地缓存
189 178  
190 179 @param filePath filePath 为空 清除所有缓存
191 180 @return 是否成功
192 181 */
193   -+ (BOOL)clearICloudBoxCacheWhithFilePath:(NSString *)filePath {
  182 ++ (BOOL)clearICloudBoxCacheWhithFilePath:(NSURL *)filePath {
194 183 NSFileManager *fileManager = [NSFileManager defaultManager];
195 184 if (!filePath) {
196 185 NSURL *defultUrl = [NSURL fileURLWithPath:kICloudBoxPath];
197 186 return [fileManager removeItemAtURL:defultUrl error:nil];
198 187 }
199   - BOOL isRemove = [fileManager removeItemAtURL:[NSURL fileURLWithPath:filePath] error:nil];
  188 + BOOL isRemove = [fileManager removeItemAtURL:filePath error:nil];
200 189 return isRemove;
201 190 }
202 191  
... ... @@ -204,21 +193,14 @@
204 193  
205 194 /**
206 195 异步获取iCloudBox 缓存大小
207   -
208   - @param filePath 路径
  196 +
209 197 @param callBack 返回大小
210 198 */
211   -+ (void)asynciCloudBoxSizeWithFilePath:(NSString *)filePath CallBack:(void(^)(float size))callBack {
  199 ++ (void)asynciCloudBoxSizeCallBack:(void(^)(float size))callBack {
212 200  
213 201 dispatch_queue_t global = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
214 202 dispatch_async(global, ^{
215   - NSString *dataPath = [NSString string];
216   - if ([NSString isEmpty:filePath]) {
217   - dataPath = kICloudBoxPath;
218   - }else {
219   - dataPath = filePath;
220   - }
221   - float dataSize = [CNICloudFileHelper forderSizeAtPath:dataPath];
  203 + float dataSize = [CNICloudFileHelper forderSizeAtPath:kICloudBoxPath];
222 204 callBack(dataSize);
223 205 });
224 206  
... ...
CNLiveICloudPicker/CNICoudHeader.h renamed to CNLiveICloudPicker/Classes/CNICoudHeader.h
... ... @@ -11,6 +11,7 @@
11 11  
12 12 #import "CNICloudManager.h"
13 13 #import "CNICloudDocumentModel.h"
  14 +#import "CNICloudDocumentPickerManager.h"
14 15 #import "CNICloudDocumentPickerController.h"
15 16 #import "CNICloudFileHelper.h"
16 17  
... ...
Example/CNLiveICloudPicker.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 + 46DF3825983CC71F495A577E /* Pods_CNLiveICloudPicker_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D62E0A5A5F65033E9CAC3C89 /* Pods_CNLiveICloudPicker_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 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; };
  26 + DCC1D2FFC7EF7207C7748D20 /* Pods_CNLiveICloudPicker_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE2490F1706A689C9E1C8925 /* Pods_CNLiveICloudPicker_Tests.framework */; };
  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 = CNLiveICloudPicker;
  36 + };
  37 +/* End PBXContainerItemProxy section */
  38 +
  39 +/* Begin PBXFileReference section */
  40 + 014C2767E1FD402CCFDCA77E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
  41 + 302FAA62724BA58FBDAFAB1E /* Pods-CNLiveICloudPicker_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveICloudPicker_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveICloudPicker_Tests/Pods-CNLiveICloudPicker_Tests.release.xcconfig"; sourceTree = "<group>"; };
  42 + 44EF11549099F9444C7E25B6 /* Pods-CNLiveICloudPicker_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveICloudPicker_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveICloudPicker_Example/Pods-CNLiveICloudPicker_Example.release.xcconfig"; sourceTree = "<group>"; };
  43 + 502C1949FFE5300F7943929E /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
  44 + 6003F58A195388D20070C39A /* CNLiveICloudPicker_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveICloudPicker_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 /* CNLiveICloudPicker-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveICloudPicker-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 /* CNLiveICloudPicker-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveICloudPicker-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 /* CNLiveICloudPicker_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveICloudPicker_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
  58 + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
  59 + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; };
  60 + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  61 + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; };
  62 + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; };
  63 + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
  64 + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
  65 + 90A769D4BA0EAF9F88D9D1DB /* Pods-CNLiveICloudPicker_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveICloudPicker_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveICloudPicker_Tests/Pods-CNLiveICloudPicker_Tests.debug.xcconfig"; sourceTree = "<group>"; };
  66 + D62E0A5A5F65033E9CAC3C89 /* Pods_CNLiveICloudPicker_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveICloudPicker_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  67 + EBFA4D5477CA93907EFF7629 /* CNLiveICloudPicker.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveICloudPicker.podspec; path = ../CNLiveICloudPicker.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  68 + EE2490F1706A689C9E1C8925 /* Pods_CNLiveICloudPicker_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveICloudPicker_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  69 + F694DA87FF836C34F6E0F397 /* Pods-CNLiveICloudPicker_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveICloudPicker_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveICloudPicker_Example/Pods-CNLiveICloudPicker_Example.debug.xcconfig"; sourceTree = "<group>"; };
  70 +/* End PBXFileReference section */
  71 +
  72 +/* Begin PBXFrameworksBuildPhase section */
  73 + 6003F587195388D20070C39A /* Frameworks */ = {
  74 + isa = PBXFrameworksBuildPhase;
  75 + buildActionMask = 2147483647;
  76 + files = (
  77 + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */,
  78 + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */,
  79 + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */,
  80 + 46DF3825983CC71F495A577E /* Pods_CNLiveICloudPicker_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 + DCC1D2FFC7EF7207C7748D20 /* Pods_CNLiveICloudPicker_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 CNLiveICloudPicker */,
  103 + 6003F5B5195388D20070C39A /* Tests */,
  104 + 6003F58C195388D20070C39A /* Frameworks */,
  105 + 6003F58B195388D20070C39A /* Products */,
  106 + F1F8438CD451487744D2E0D2 /* Pods */,
  107 + );
  108 + sourceTree = "<group>";
  109 + };
  110 + 6003F58B195388D20070C39A /* Products */ = {
  111 + isa = PBXGroup;
  112 + children = (
  113 + 6003F58A195388D20070C39A /* CNLiveICloudPicker_Example.app */,
  114 + 6003F5AE195388D20070C39A /* CNLiveICloudPicker_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 + D62E0A5A5F65033E9CAC3C89 /* Pods_CNLiveICloudPicker_Example.framework */,
  127 + EE2490F1706A689C9E1C8925 /* Pods_CNLiveICloudPicker_Tests.framework */,
  128 + );
  129 + name = Frameworks;
  130 + sourceTree = "<group>";
  131 + };
  132 + 6003F593195388D20070C39A /* Example for CNLiveICloudPicker */ = {
  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 CNLiveICloudPicker";
  145 + path = CNLiveICloudPicker;
  146 + sourceTree = "<group>";
  147 + };
  148 + 6003F594195388D20070C39A /* Supporting Files */ = {
  149 + isa = PBXGroup;
  150 + children = (
  151 + 6003F595195388D20070C39A /* CNLiveICloudPicker-Info.plist */,
  152 + 6003F596195388D20070C39A /* InfoPlist.strings */,
  153 + 6003F599195388D20070C39A /* main.m */,
  154 + 6003F59B195388D20070C39A /* CNLiveICloudPicker-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 + EBFA4D5477CA93907EFF7629 /* CNLiveICloudPicker.podspec */,
  182 + 014C2767E1FD402CCFDCA77E /* README.md */,
  183 + 502C1949FFE5300F7943929E /* LICENSE */,
  184 + );
  185 + name = "Podspec Metadata";
  186 + sourceTree = "<group>";
  187 + };
  188 + F1F8438CD451487744D2E0D2 /* Pods */ = {
  189 + isa = PBXGroup;
  190 + children = (
  191 + F694DA87FF836C34F6E0F397 /* Pods-CNLiveICloudPicker_Example.debug.xcconfig */,
  192 + 44EF11549099F9444C7E25B6 /* Pods-CNLiveICloudPicker_Example.release.xcconfig */,
  193 + 90A769D4BA0EAF9F88D9D1DB /* Pods-CNLiveICloudPicker_Tests.debug.xcconfig */,
  194 + 302FAA62724BA58FBDAFAB1E /* Pods-CNLiveICloudPicker_Tests.release.xcconfig */,
  195 + );
  196 + name = Pods;
  197 + sourceTree = "<group>";
  198 + };
  199 +/* End PBXGroup section */
  200 +
  201 +/* Begin PBXNativeTarget section */
  202 + 6003F589195388D20070C39A /* CNLiveICloudPicker_Example */ = {
  203 + isa = PBXNativeTarget;
  204 + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveICloudPicker_Example" */;
  205 + buildPhases = (
  206 + B95E58BDE4490A3F4784AE19 /* [CP] Check Pods Manifest.lock */,
  207 + 6003F586195388D20070C39A /* Sources */,
  208 + 6003F587195388D20070C39A /* Frameworks */,
  209 + 6003F588195388D20070C39A /* Resources */,
  210 + 17F07668FFF9CBE0D43484D3 /* [CP] Embed Pods Frameworks */,
  211 + );
  212 + buildRules = (
  213 + );
  214 + dependencies = (
  215 + );
  216 + name = CNLiveICloudPicker_Example;
  217 + productName = CNLiveICloudPicker;
  218 + productReference = 6003F58A195388D20070C39A /* CNLiveICloudPicker_Example.app */;
  219 + productType = "com.apple.product-type.application";
  220 + };
  221 + 6003F5AD195388D20070C39A /* CNLiveICloudPicker_Tests */ = {
  222 + isa = PBXNativeTarget;
  223 + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveICloudPicker_Tests" */;
  224 + buildPhases = (
  225 + 835993B6CF527B9510AD725D /* [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 = CNLiveICloudPicker_Tests;
  236 + productName = CNLiveICloudPickerTests;
  237 + productReference = 6003F5AE195388D20070C39A /* CNLiveICloudPicker_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 = jyyjkt;
  249 + TargetAttributes = {
  250 + 6003F5AD195388D20070C39A = {
  251 + TestTargetID = 6003F589195388D20070C39A;
  252 + };
  253 + };
  254 + };
  255 + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveICloudPicker" */;
  256 + compatibilityVersion = "Xcode 3.2";
  257 + developmentRegion = English;
  258 + hasScannedForEncodings = 0;
  259 + knownRegions = (
  260 + en,
  261 + Base,
  262 + );
  263 + mainGroup = 6003F581195388D10070C39A;
  264 + productRefGroup = 6003F58B195388D20070C39A /* Products */;
  265 + projectDirPath = "";
  266 + projectRoot = "";
  267 + targets = (
  268 + 6003F589195388D20070C39A /* CNLiveICloudPicker_Example */,
  269 + 6003F5AD195388D20070C39A /* CNLiveICloudPicker_Tests */,
  270 + );
  271 + };
  272 +/* End PBXProject section */
  273 +
  274 +/* Begin PBXResourcesBuildPhase section */
  275 + 6003F588195388D20070C39A /* Resources */ = {
  276 + isa = PBXResourcesBuildPhase;
  277 + buildActionMask = 2147483647;
  278 + files = (
  279 + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */,
  280 + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */,
  281 + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */,
  282 + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */,
  283 + );
  284 + runOnlyForDeploymentPostprocessing = 0;
  285 + };
  286 + 6003F5AC195388D20070C39A /* Resources */ = {
  287 + isa = PBXResourcesBuildPhase;
  288 + buildActionMask = 2147483647;
  289 + files = (
  290 + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */,
  291 + );
  292 + runOnlyForDeploymentPostprocessing = 0;
  293 + };
  294 +/* End PBXResourcesBuildPhase section */
  295 +
  296 +/* Begin PBXShellScriptBuildPhase section */
  297 + 17F07668FFF9CBE0D43484D3 /* [CP] Embed Pods Frameworks */ = {
  298 + isa = PBXShellScriptBuildPhase;
  299 + buildActionMask = 2147483647;
  300 + files = (
  301 + );
  302 + inputFileListPaths = (
  303 + );
  304 + inputPaths = (
  305 + "${SRCROOT}/Pods/Target Support Files/Pods-CNLiveICloudPicker_Example/Pods-CNLiveICloudPicker_Example-frameworks.sh",
  306 + "${BUILT_PRODUCTS_DIR}/CNLiveICloudPicker/CNLiveICloudPicker.framework",
  307 + );
  308 + name = "[CP] Embed Pods Frameworks";
  309 + outputFileListPaths = (
  310 + );
  311 + outputPaths = (
  312 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveICloudPicker.framework",
  313 + );
  314 + runOnlyForDeploymentPostprocessing = 0;
  315 + shellPath = /bin/sh;
  316 + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CNLiveICloudPicker_Example/Pods-CNLiveICloudPicker_Example-frameworks.sh\"\n";
  317 + showEnvVarsInLog = 0;
  318 + };
  319 + 835993B6CF527B9510AD725D /* [CP] Check Pods Manifest.lock */ = {
  320 + isa = PBXShellScriptBuildPhase;
  321 + buildActionMask = 2147483647;
  322 + files = (
  323 + );
  324 + inputFileListPaths = (
  325 + );
  326 + inputPaths = (
  327 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  328 + "${PODS_ROOT}/Manifest.lock",
  329 + );
  330 + name = "[CP] Check Pods Manifest.lock";
  331 + outputFileListPaths = (
  332 + );
  333 + outputPaths = (
  334 + "$(DERIVED_FILE_DIR)/Pods-CNLiveICloudPicker_Tests-checkManifestLockResult.txt",
  335 + );
  336 + runOnlyForDeploymentPostprocessing = 0;
  337 + shellPath = /bin/sh;
  338 + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
  339 + showEnvVarsInLog = 0;
  340 + };
  341 + B95E58BDE4490A3F4784AE19 /* [CP] Check Pods Manifest.lock */ = {
  342 + isa = PBXShellScriptBuildPhase;
  343 + buildActionMask = 2147483647;
  344 + files = (
  345 + );
  346 + inputFileListPaths = (
  347 + );
  348 + inputPaths = (
  349 + "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
  350 + "${PODS_ROOT}/Manifest.lock",
  351 + );
  352 + name = "[CP] Check Pods Manifest.lock";
  353 + outputFileListPaths = (
  354 + );
  355 + outputPaths = (
  356 + "$(DERIVED_FILE_DIR)/Pods-CNLiveICloudPicker_Example-checkManifestLockResult.txt",
  357 + );
  358 + runOnlyForDeploymentPostprocessing = 0;
  359 + shellPath = /bin/sh;
  360 + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
  361 + showEnvVarsInLog = 0;
  362 + };
  363 +/* End PBXShellScriptBuildPhase section */
  364 +
  365 +/* Begin PBXSourcesBuildPhase section */
  366 + 6003F586195388D20070C39A /* Sources */ = {
  367 + isa = PBXSourcesBuildPhase;
  368 + buildActionMask = 2147483647;
  369 + files = (
  370 + 6003F59E195388D20070C39A /* CNLiveAppDelegate.m in Sources */,
  371 + 6003F5A7195388D20070C39A /* CNLiveViewController.m in Sources */,
  372 + 6003F59A195388D20070C39A /* main.m in Sources */,
  373 + );
  374 + runOnlyForDeploymentPostprocessing = 0;
  375 + };
  376 + 6003F5AA195388D20070C39A /* Sources */ = {
  377 + isa = PBXSourcesBuildPhase;
  378 + buildActionMask = 2147483647;
  379 + files = (
  380 + 6003F5BC195388D20070C39A /* Tests.m in Sources */,
  381 + );
  382 + runOnlyForDeploymentPostprocessing = 0;
  383 + };
  384 +/* End PBXSourcesBuildPhase section */
  385 +
  386 +/* Begin PBXTargetDependency section */
  387 + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = {
  388 + isa = PBXTargetDependency;
  389 + target = 6003F589195388D20070C39A /* CNLiveICloudPicker_Example */;
  390 + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */;
  391 + };
  392 +/* End PBXTargetDependency section */
  393 +
  394 +/* Begin PBXVariantGroup section */
  395 + 6003F596195388D20070C39A /* InfoPlist.strings */ = {
  396 + isa = PBXVariantGroup;
  397 + children = (
  398 + 6003F597195388D20070C39A /* en */,
  399 + );
  400 + name = InfoPlist.strings;
  401 + sourceTree = "<group>";
  402 + };
  403 + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = {
  404 + isa = PBXVariantGroup;
  405 + children = (
  406 + 6003F5B9195388D20070C39A /* en */,
  407 + );
  408 + name = InfoPlist.strings;
  409 + sourceTree = "<group>";
  410 + };
  411 + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = {
  412 + isa = PBXVariantGroup;
  413 + children = (
  414 + 71719F9E1E33DC2100824A3D /* Base */,
  415 + );
  416 + name = LaunchScreen.storyboard;
  417 + sourceTree = "<group>";
  418 + };
  419 +/* End PBXVariantGroup section */
  420 +
  421 +/* Begin XCBuildConfiguration section */
  422 + 6003F5BD195388D20070C39A /* Debug */ = {
  423 + isa = XCBuildConfiguration;
  424 + buildSettings = {
  425 + ALWAYS_SEARCH_USER_PATHS = NO;
  426 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  427 + CLANG_CXX_LIBRARY = "libc++";
  428 + CLANG_ENABLE_MODULES = YES;
  429 + CLANG_ENABLE_OBJC_ARC = YES;
  430 + CLANG_WARN_BOOL_CONVERSION = YES;
  431 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  432 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  433 + CLANG_WARN_EMPTY_BODY = YES;
  434 + CLANG_WARN_ENUM_CONVERSION = YES;
  435 + CLANG_WARN_INT_CONVERSION = YES;
  436 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  437 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  438 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  439 + COPY_PHASE_STRIP = NO;
  440 + ENABLE_TESTABILITY = YES;
  441 + GCC_C_LANGUAGE_STANDARD = gnu99;
  442 + GCC_DYNAMIC_NO_PIC = NO;
  443 + GCC_OPTIMIZATION_LEVEL = 0;
  444 + GCC_PREPROCESSOR_DEFINITIONS = (
  445 + "DEBUG=1",
  446 + "$(inherited)",
  447 + );
  448 + GCC_SYMBOLS_PRIVATE_EXTERN = NO;
  449 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  450 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  451 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  452 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  453 + GCC_WARN_UNUSED_FUNCTION = YES;
  454 + GCC_WARN_UNUSED_VARIABLE = YES;
  455 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  456 + ONLY_ACTIVE_ARCH = YES;
  457 + SDKROOT = iphoneos;
  458 + TARGETED_DEVICE_FAMILY = "1,2";
  459 + };
  460 + name = Debug;
  461 + };
  462 + 6003F5BE195388D20070C39A /* Release */ = {
  463 + isa = XCBuildConfiguration;
  464 + buildSettings = {
  465 + ALWAYS_SEARCH_USER_PATHS = NO;
  466 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  467 + CLANG_CXX_LIBRARY = "libc++";
  468 + CLANG_ENABLE_MODULES = YES;
  469 + CLANG_ENABLE_OBJC_ARC = YES;
  470 + CLANG_WARN_BOOL_CONVERSION = YES;
  471 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  472 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  473 + CLANG_WARN_EMPTY_BODY = YES;
  474 + CLANG_WARN_ENUM_CONVERSION = YES;
  475 + CLANG_WARN_INT_CONVERSION = YES;
  476 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  477 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  478 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  479 + COPY_PHASE_STRIP = YES;
  480 + ENABLE_NS_ASSERTIONS = NO;
  481 + GCC_C_LANGUAGE_STANDARD = gnu99;
  482 + GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
  483 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  484 + GCC_WARN_UNDECLARED_SELECTOR = YES;
  485 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  486 + GCC_WARN_UNUSED_FUNCTION = YES;
  487 + GCC_WARN_UNUSED_VARIABLE = YES;
  488 + IPHONEOS_DEPLOYMENT_TARGET = 9.3;
  489 + SDKROOT = iphoneos;
  490 + TARGETED_DEVICE_FAMILY = "1,2";
  491 + VALIDATE_PRODUCT = YES;
  492 + };
  493 + name = Release;
  494 + };
  495 + 6003F5C0195388D20070C39A /* Debug */ = {
  496 + isa = XCBuildConfiguration;
  497 + baseConfigurationReference = F694DA87FF836C34F6E0F397 /* Pods-CNLiveICloudPicker_Example.debug.xcconfig */;
  498 + buildSettings = {
  499 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  500 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  501 + GCC_PREFIX_HEADER = "CNLiveICloudPicker/CNLiveICloudPicker-Prefix.pch";
  502 + INFOPLIST_FILE = "CNLiveICloudPicker/CNLiveICloudPicker-Info.plist";
  503 + MODULE_NAME = ExampleApp;
  504 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  505 + PRODUCT_NAME = "$(TARGET_NAME)";
  506 + WRAPPER_EXTENSION = app;
  507 + };
  508 + name = Debug;
  509 + };
  510 + 6003F5C1195388D20070C39A /* Release */ = {
  511 + isa = XCBuildConfiguration;
  512 + baseConfigurationReference = 44EF11549099F9444C7E25B6 /* Pods-CNLiveICloudPicker_Example.release.xcconfig */;
  513 + buildSettings = {
  514 + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
  515 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  516 + GCC_PREFIX_HEADER = "CNLiveICloudPicker/CNLiveICloudPicker-Prefix.pch";
  517 + INFOPLIST_FILE = "CNLiveICloudPicker/CNLiveICloudPicker-Info.plist";
  518 + MODULE_NAME = ExampleApp;
  519 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  520 + PRODUCT_NAME = "$(TARGET_NAME)";
  521 + WRAPPER_EXTENSION = app;
  522 + };
  523 + name = Release;
  524 + };
  525 + 6003F5C3195388D20070C39A /* Debug */ = {
  526 + isa = XCBuildConfiguration;
  527 + baseConfigurationReference = 90A769D4BA0EAF9F88D9D1DB /* Pods-CNLiveICloudPicker_Tests.debug.xcconfig */;
  528 + buildSettings = {
  529 + BUNDLE_LOADER = "$(TEST_HOST)";
  530 + FRAMEWORK_SEARCH_PATHS = (
  531 + "$(SDKROOT)/Developer/Library/Frameworks",
  532 + "$(inherited)",
  533 + "$(DEVELOPER_FRAMEWORKS_DIR)",
  534 + );
  535 + GCC_PRECOMPILE_PREFIX_HEADER = YES;
  536 + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch";
  537 + GCC_PREPROCESSOR_DEFINITIONS = (
  538 + "DEBUG=1",
  539 + "$(inherited)",
  540 + );
  541 + INFOPLIST_FILE = "Tests/Tests-Info.plist";
  542 + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
  543 + PRODUCT_NAME = "$(TARGET_NAME)";
  544 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveICloudPicker_Example.app/CNLiveICloudPicker_Example";
  545 + WRAPPER_EXTENSION = xctest;
  546 + };
  547 + name = Debug;
  548 + };
  549 + 6003F5C4195388D20070C39A /* Release */ = {
  550 + isa = XCBuildConfiguration;
  551 + baseConfigurationReference = 302FAA62724BA58FBDAFAB1E /* Pods-CNLiveICloudPicker_Tests.release.xcconfig */;
  552 + buildSettings = {
  553 + BUNDLE_LOADER = "$(TEST_HOST)";
  554 + FRAMEWORK_SEARCH_PATHS = (
  555 + "$(SDKROOT)/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 + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveICloudPicker_Example.app/CNLiveICloudPicker_Example";
  565 + WRAPPER_EXTENSION = xctest;
  566 + };
  567 + name = Release;
  568 + };
  569 +/* End XCBuildConfiguration section */
  570 +
  571 +/* Begin XCConfigurationList section */
  572 + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveICloudPicker" */ = {
  573 + isa = XCConfigurationList;
  574 + buildConfigurations = (
  575 + 6003F5BD195388D20070C39A /* Debug */,
  576 + 6003F5BE195388D20070C39A /* Release */,
  577 + );
  578 + defaultConfigurationIsVisible = 0;
  579 + defaultConfigurationName = Release;
  580 + };
  581 + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveICloudPicker_Example" */ = {
  582 + isa = XCConfigurationList;
  583 + buildConfigurations = (
  584 + 6003F5C0195388D20070C39A /* Debug */,
  585 + 6003F5C1195388D20070C39A /* Release */,
  586 + );
  587 + defaultConfigurationIsVisible = 0;
  588 + defaultConfigurationName = Release;
  589 + };
  590 + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveICloudPicker_Tests" */ = {
  591 + isa = XCConfigurationList;
  592 + buildConfigurations = (
  593 + 6003F5C3195388D20070C39A /* Debug */,
  594 + 6003F5C4195388D20070C39A /* Release */,
  595 + );
  596 + defaultConfigurationIsVisible = 0;
  597 + defaultConfigurationName = Release;
  598 + };
  599 +/* End XCConfigurationList section */
  600 + };
  601 + rootObject = 6003F582195388D10070C39A /* Project object */;
  602 +}
... ...
Example/CNLiveICloudPicker.xcodeproj/xcshareddata/xcschemes/CNLiveICloudPicker-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 = "CNLiveICloudPicker_Example.app"
  19 + BlueprintName = "CNLiveICloudPicker_Example"
  20 + ReferencedContainer = "container:CNLiveICloudPicker.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 = "CNLiveICloudPicker_Tests.xctest"
  37 + BlueprintName = "CNLiveICloudPicker_Tests"
  38 + ReferencedContainer = "container:CNLiveICloudPicker.xcodeproj">
  39 + </BuildableReference>
  40 + </TestableReference>
  41 + </Testables>
  42 + <MacroExpansion>
  43 + <BuildableReference
  44 + BuildableIdentifier = "primary"
  45 + BlueprintIdentifier = "6003F589195388D20070C39A"
  46 + BuildableName = "CNLiveICloudPicker_Example.app"
  47 + BlueprintName = "CNLiveICloudPicker_Example"
  48 + ReferencedContainer = "container:CNLiveICloudPicker.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 = "CNLiveICloudPicker_Example.app"
  70 + BlueprintName = "CNLiveICloudPicker_Example"
  71 + ReferencedContainer = "container:CNLiveICloudPicker.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 = "CNLiveICloudPicker_Example.app"
  89 + BlueprintName = "CNLiveICloudPicker_Example"
  90 + ReferencedContainer = "container:CNLiveICloudPicker.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/CNLiveICloudPicker/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/CNLiveICloudPicker/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/CNLiveICloudPicker/CNLiveAppDelegate.h 0 → 100644
  1 +//
  2 +// CNLiveAppDelegate.h
  3 +// CNLiveICloudPicker
  4 +//
  5 +// Created by jyyjkt on 04/29/2019.
  6 +// Copyright (c) 2019 jyyjkt. 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/CNLiveICloudPicker/CNLiveAppDelegate.m 0 → 100644
  1 +//
  2 +// CNLiveAppDelegate.m
  3 +// CNLiveICloudPicker
  4 +//
  5 +// Created by jyyjkt on 04/29/2019.
  6 +// Copyright (c) 2019 jyyjkt. 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/CNLiveICloudPicker/CNLiveICloudPicker-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/CNLiveICloudPicker/CNLiveICloudPicker-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/CNLiveICloudPicker/CNLiveViewController.h 0 → 100644
  1 +//
  2 +// CNLiveViewController.h
  3 +// CNLiveICloudPicker
  4 +//
  5 +// Created by jyyjkt on 04/29/2019.
  6 +// Copyright (c) 2019 jyyjkt. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +
  11 +@interface CNLiveViewController : UIViewController
  12 +
  13 +@end
... ...
Example/CNLiveICloudPicker/CNLiveViewController.m 0 → 100644
  1 +//
  2 +// CNLiveViewController.m
  3 +// CNLiveICloudPicker
  4 +//
  5 +// Created by jyyjkt on 04/29/2019.
  6 +// Copyright (c) 2019 jyyjkt. 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/CNLiveICloudPicker/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/CNLiveICloudPicker/en.lproj/InfoPlist.strings 0 → 100644
  1 +/* Localized versions of Info.plist keys */
  2 +
... ...
Example/CNLiveICloudPicker/main.m 0 → 100644
  1 +//
  2 +// main.m
  3 +// CNLiveICloudPicker
  4 +//
  5 +// Created by jyyjkt on 04/29/2019.
  6 +// Copyright (c) 2019 jyyjkt. All rights reserved.
  7 +//
  8 +
  9 +@import UIKit;
  10 +#import "CNLiveAppDelegate.h"
  11 +
  12 +int main(int argc, char * argv[])
  13 +{
  14 + @autoreleasepool {
  15 + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLiveAppDelegate class]));
  16 + }
  17 +}
... ...
Example/Podfile 0 → 100644
  1 +use_frameworks!
  2 +
  3 +platform :ios, '8.0'
  4 +
  5 +target 'CNLiveICloudPicker_Example' do
  6 + pod 'CNLiveICloudPicker', :path => '../'
  7 +
  8 + target 'CNLiveICloudPicker_Tests' do
  9 + inherit! :search_paths
  10 +
  11 +
  12 + end
  13 +end
... ...
Example/Tests/Tests-Info.plist 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>CFBundleDevelopmentRegion</key>
  6 + <string>en</string>
  7 + <key>CFBundleExecutable</key>
  8 + <string>${EXECUTABLE_NAME}</string>
  9 + <key>CFBundleIdentifier</key>
  10 + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
  11 + <key>CFBundleInfoDictionaryVersion</key>
  12 + <string>6.0</string>
  13 + <key>CFBundlePackageType</key>
  14 + <string>BNDL</string>
  15 + <key>CFBundleShortVersionString</key>
  16 + <string>1.0</string>
  17 + <key>CFBundleSignature</key>
  18 + <string>????</string>
  19 + <key>CFBundleVersion</key>
  20 + <string>1</string>
  21 +</dict>
  22 +</plist>
... ...
Example/Tests/Tests-Prefix.pch 0 → 100644
  1 +// The contents of this file are implicitly included at the beginning of every test case source file.
  2 +
  3 +#ifdef __OBJC__
  4 +
  5 +
  6 +
  7 +#endif
... ...
Example/Tests/Tests.m 0 → 100644
  1 +//
  2 +// CNLiveICloudPickerTests.m
  3 +// CNLiveICloudPickerTests
  4 +//
  5 +// Created by jyyjkt on 04/29/2019.
  6 +// Copyright (c) 2019 jyyjkt. 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   -MIT License
2   -
3   -Copyright (c) 2018 cnlive
  1 +Copyright (c) 2019 jyyjkt <jyyjkt@qq.com>
4 2  
5 3 Permission is hereby granted, free of charge, to any person obtaining a copy
6 4 of this software and associated documentation files (the "Software"), to deal
... ... @@ -9,13 +7,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 7 copies of the Software, and to permit persons to whom the Software is
10 8 furnished to do so, subject to the following conditions:
11 9  
12   -The above copyright notice and this permission notice shall be included in all
13   -copies or substantial portions of the Software.
  10 +The above copyright notice and this permission notice shall be included in
  11 +all copies or substantial portions of the Software.
14 12  
15 13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 14 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 15 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 16 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 17 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20   -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21   -SOFTWARE.
22 18 \ No newline at end of file
  19 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20 +THE SOFTWARE.
... ...
README.md
  1 +# CNLiveICloudPicker
  2 +
  3 +[![CI Status](https://img.shields.io/travis/jyyjkt/CNLiveICloudPicker.svg?style=flat)](https://travis-ci.org/jyyjkt/CNLiveICloudPicker)
  4 +[![Version](https://img.shields.io/cocoapods/v/CNLiveICloudPicker.svg?style=flat)](https://cocoapods.org/pods/CNLiveICloudPicker)
  5 +[![License](https://img.shields.io/cocoapods/l/CNLiveICloudPicker.svg?style=flat)](https://cocoapods.org/pods/CNLiveICloudPicker)
  6 +[![Platform](https://img.shields.io/cocoapods/p/CNLiveICloudPicker.svg?style=flat)](https://cocoapods.org/pods/CNLiveICloudPicker)
  7 +
  8 +## Example
  9 +
  10 +To run the example project, clone the repo, and run `pod install` from the Example directory first.
  11 +
  12 +## Requirements
  13 +
  14 +## Installation
  15 +
  16 +CNLiveICloudPicker is available through [CocoaPods](https://cocoapods.org). To install
  17 +it, simply add the following line to your Podfile:
  18 +
  19 +```ruby
  20 +pod 'CNLiveICloudPicker'
  21 +```
  22 +
  23 +## Author
  24 +
  25 +jyyjkt, jyyjkt@qq.com
  26 +
  27 +## License
  28 +
  29 +CNLiveICloudPicker is available under the MIT license. See the LICENSE file for more info.
... ...
_Pods.xcodeproj 0 → 120000
  1 +Example/Pods/Pods.xcodeproj
0 2 \ No newline at end of file
... ...