Commit 606c5b19cfc203930024566972d42f9721d2c64d

Authored by yinqiaojuan
1 parent 534b960e

0.0.2

CNLiveCycleScrollView/Classes/CNCycleScrollView.m
... ... @@ -82,8 +82,8 @@ static NSString *const cellID = @"cellID";
82 82 -(void)initialization
83 83 {
84 84 //初始化
85   -// _infiniteLoop = YES;
86   -// _autoScroll = YES;
  85 + _infiniteLoop = YES;
  86 + _autoScroll = YES;
87 87 _isZoom = NO;
88 88 _itemWidth = self.bounds.size.width;
89 89 _itemSpace = 0;
... ... @@ -101,7 +101,7 @@ static NSString *const cellID = @"cellID";
101 101 [super layoutSubviews];
102 102  
103 103 self.collectionView.frame = self.bounds;
104   - self.pageControl.frame = CGRectMake(0, self.bounds.size.height - 20, self.bounds.size.width, 10);
  104 + self.pageControl.frame = CGRectMake(0, self.bounds.size.height - 30, self.bounds.size.width, 30);
105 105 self.flowLayout.itemSize = CGSizeMake(_itemWidth, self.bounds.size.height);
106 106 self.flowLayout.minimumLineSpacing = self.itemSpace;
107 107  
... ... @@ -349,8 +349,7 @@ static NSString *const cellID = @"cellID";
349 349 }
350 350 -(void)setAutoScroll:(BOOL)autoScroll
351 351 {
352   - if(self.imgArr.count > 1)
353   - {
  352 +
354 353 _autoScroll = autoScroll;
355 354 //创建之前,停止定时器
356 355 [self invalidateTimer];
... ... @@ -358,11 +357,6 @@ static NSString *const cellID = @"cellID";
358 357 if (_autoScroll) {
359 358 [self setupTimer];
360 359 }
361   - }else
362   - {
363   - _autoScroll = NO;
364   - }
365   -
366 360 }
367 361 -(UICollectionView *)collectionView
368 362 {
... ...
Example/CNLiveCycleScrollView.xcodeproj/project.pbxproj
... ... @@ -208,6 +208,7 @@
208 208 6003F587195388D20070C39A /* Frameworks */,
209 209 6003F588195388D20070C39A /* Resources */,
210 210 31C903597A8C327826265FB9 /* [CP] Embed Pods Frameworks */,
  211 + 4E54F65F21BF8E7000147A02 /* ShellScript */,
211 212 );
212 213 buildRules = (
213 214 );
... ... @@ -322,6 +323,23 @@
322 323 shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CNLiveCycleScrollView_Example/Pods-CNLiveCycleScrollView_Example-frameworks.sh\"\n";
323 324 showEnvVarsInLog = 0;
324 325 };
  326 + 4E54F65F21BF8E7000147A02 /* ShellScript */ = {
  327 + isa = PBXShellScriptBuildPhase;
  328 + buildActionMask = 2147483647;
  329 + files = (
  330 + );
  331 + inputFileListPaths = (
  332 + );
  333 + inputPaths = (
  334 + );
  335 + outputFileListPaths = (
  336 + );
  337 + outputPaths = (
  338 + );
  339 + runOnlyForDeploymentPostprocessing = 0;
  340 + shellPath = /bin/sh;
  341 + shellScript = "if [ \"${ACTION}\" = \"build\" ]\nthen\nINSTALL_DIR=${SRCROOT}/Products/${PROJECT_NAME}.framework\n\nDEVICE_DIR=${SRCROOT}/\"build\"/Debug-iphoneos/${PROJECT_NAME}/${PROJECT_NAME}.framework\n\nSIMULATOR_DIR=${SRCROOT}/\"build\"/Debug-iphonesimulator/${PROJECT_NAME}/${PROJECT_NAME}.framework\n\nif [ -d \"${INSTALL_DIR}\" ]\nthen\nrm -rf \"${INSTALL_DIR}\"\nfi\n\nmkdir -p \"${INSTALL_DIR}\"\n\ncp -R \"${DEVICE_DIR}/\" \"${INSTALL_DIR}/\"\n\nlipo -create \"${DEVICE_DIR}/${PROJECT_NAME}\" \"${SIMULATOR_DIR}/${PROJECT_NAME}\" -output \"${INSTALL_DIR}/${PROJECT_NAME}\"\n\nopen \"${SRCROOT}/Products\"\nfi\n";
  342 + };
325 343 B8AB8D1A7B44A0FA5C919FCA /* [CP] Embed Pods Frameworks */ = {
326 344 isa = PBXShellScriptBuildPhase;
327 345 buildActionMask = 2147483647;
... ... @@ -529,6 +547,7 @@
529 547 GCC_PRECOMPILE_PREFIX_HEADER = YES;
530 548 GCC_PREFIX_HEADER = "CNLiveCycleScrollView/CNLiveCycleScrollView-Prefix.pch";
531 549 INFOPLIST_FILE = "CNLiveCycleScrollView/CNLiveCycleScrollView-Info.plist";
  550 + IPHONEOS_DEPLOYMENT_TARGET = 9.0;
532 551 MODULE_NAME = ExampleApp;
533 552 PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
534 553 PRODUCT_NAME = "$(TARGET_NAME)";
... ... @@ -545,6 +564,7 @@
545 564 GCC_PRECOMPILE_PREFIX_HEADER = YES;
546 565 GCC_PREFIX_HEADER = "CNLiveCycleScrollView/CNLiveCycleScrollView-Prefix.pch";
547 566 INFOPLIST_FILE = "CNLiveCycleScrollView/CNLiveCycleScrollView-Info.plist";
  567 + IPHONEOS_DEPLOYMENT_TARGET = 9.0;
548 568 MODULE_NAME = ExampleApp;
549 569 PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}";
550 570 PRODUCT_NAME = "$(TARGET_NAME)";
... ...
Example/Pods/Pods.xcodeproj/project.pbxproj
... ... @@ -8,7 +8,7 @@
8 8  
9 9 /* Begin PBXBuildFile section */
10 10 01707BE89ACE5A8FC42C875B3141359E /* SDImageLoader.h in Headers */ = {isa = PBXBuildFile; fileRef = B8A2774AE23EF5A3ED5EF1838485E0EC /* SDImageLoader.h */; settings = {ATTRIBUTES = (Public, ); }; };
11   - 0A531194FCC41108187477E35DCD0BEF /* CNCycleScrollViewFlowLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = EC21AC28C765B57EA70E2B2C47B66EF8 /* CNCycleScrollViewFlowLayout.h */; settings = {ATTRIBUTES = (Public, ); }; };
  11 + 0A531194FCC41108187477E35DCD0BEF /* CNCycleScrollViewFlowLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = EC21AC28C765B57EA70E2B2C47B66EF8 /* CNCycleScrollViewFlowLayout.h */; };
12 12 0EA8EE0298C845E976FDC330D8E254E0 /* CNCycleScrollViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 21EF71E33E087B148C03D291BCC5CCBA /* CNCycleScrollViewCell.m */; };
13 13 0EAC7D723312416C1D039ADF4FC0F4A1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0C4DD8F9856C9D17828941D39C59185F /* Foundation.framework */; };
14 14 10B62E1C38D737BF805CC9231977BED1 /* SDWebImageTransition.h in Headers */ = {isa = PBXBuildFile; fileRef = 5500884A618DB976441C4792ED977CC3 /* SDWebImageTransition.h */; settings = {ATTRIBUTES = (Public, ); }; };
... ... @@ -83,7 +83,7 @@
83 83 A8868894FA611B5C64431EE98420F0DA /* NSButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = B4E5ABAFFF9D9DC6F77D3CFBEEC6A92B /* NSButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
84 84 A9396805B1B050BAA7D97DB27178B533 /* UIImage+ForceDecode.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A7C0C644855A98C5DA8D72F8A036482 /* UIImage+ForceDecode.h */; settings = {ATTRIBUTES = (Public, ); }; };
85 85 A99EA390A45E26C030FBA05D11DB5DE3 /* SDImageTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BB6428C6EE0717C1C34AFB637F33CF7 /* SDImageTransformer.m */; };
86   - AC8B9AB7ADE5E8F0C687A988AC1F45B8 /* CNCycleScrollViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 0D175722A2A82D89DD02391C9F5E2B47 /* CNCycleScrollViewCell.h */; settings = {ATTRIBUTES = (Public, ); }; };
  86 + AC8B9AB7ADE5E8F0C687A988AC1F45B8 /* CNCycleScrollViewCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 0D175722A2A82D89DD02391C9F5E2B47 /* CNCycleScrollViewCell.h */; };
87 87 ACE4FA4A16C55986AAF05828123E69D6 /* Pods-CNLiveCycleScrollView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8F9FC57828643DE3282A5A3F71239921 /* Pods-CNLiveCycleScrollView_Example-dummy.m */; };
88 88 AD027F9509EA5C3239378736F798621A /* SDImageFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A172CFEEC59514C62865122ACBD5D45 /* SDImageFrame.h */; settings = {ATTRIBUTES = (Public, ); }; };
89 89 B28DABDCDCEBB7013C81F5E62B2E8B16 /* SDMemoryCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 9EFCEBCC8648D07CB6FBD4CB58D45603 /* SDMemoryCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
... ... @@ -98,7 +98,7 @@
98 98 C545A21539E122C083C5B7D7D108D593 /* SDImageCachesManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A06990F9BF90C59C3A8F732B9BC61A1 /* SDImageCachesManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
99 99 C596BD904BE630FD09E202EA83C97F3A /* NSImage+Compatibility.m in Sources */ = {isa = PBXBuildFile; fileRef = 81A57602A313881C335A0794FD04A7AC /* NSImage+Compatibility.m */; };
100 100 C79A70F433850D1CA4EAF2E6C8DE0B64 /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 4113868B35FD534A0392484A8C4BDB03 /* UIImage+MultiFormat.m */; };
101   - C9DD69CD0A07ACC4356486833484F247 /* CNLiveCycleScrollView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 94F98BD62F6C4B0ABD0EC1A53DD77C2B /* CNLiveCycleScrollView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
  101 + C9DD69CD0A07ACC4356486833484F247 /* CNLiveCycleScrollView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 94F98BD62F6C4B0ABD0EC1A53DD77C2B /* CNLiveCycleScrollView-umbrella.h */; };
102 102 D076D84782EB124AFAEA2B88EFF91A10 /* UIImage+Metadata.m in Sources */ = {isa = PBXBuildFile; fileRef = A7001B7E65B741FFAF1A73F4D03133D8 /* UIImage+Metadata.m */; };
103 103 D33B51F5E88A31C2576F4A9197C4D6DC /* SDWebImageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 9B3DEA4142F14DD865EB10B0DEC6E309 /* SDWebImageManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
104 104 D608415674855E54B90C1B2290F93F3F /* SDImageCodersManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C0A0E7539DD544E2A50C664D8FE23C2 /* SDImageCodersManager.m */; };
... ... @@ -164,13 +164,13 @@
164 164 023FBAAF773FC113824352D0171F0A1C /* UIImageView+HighlightedWebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImageView+HighlightedWebCache.h"; path = "SDWebImage/UIImageView+HighlightedWebCache.h"; sourceTree = "<group>"; };
165 165 04A6792FCB5BE72B76545C2DAAFFA906 /* Pods-CNLiveCycleScrollView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CNLiveCycleScrollView_Example-resources.sh"; sourceTree = "<group>"; };
166 166 071791CA5B1948946A8E7AD94EA92198 /* UIImage+GIF.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+GIF.h"; path = "SDWebImage/UIImage+GIF.h"; sourceTree = "<group>"; };
167   - 0788A73F744BFEA123BA1F5E5A2B02DD /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = "<group>"; };
168   - 085D450BFD08EBBBBA6A3BB3F975C30B /* CNLiveCycleScrollView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = CNLiveCycleScrollView.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  167 + 0788A73F744BFEA123BA1F5E5A2B02DD /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
  168 + 085D450BFD08EBBBBA6A3BB3F975C30B /* CNLiveCycleScrollView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = CNLiveCycleScrollView.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
169 169 0BDE328ED1A8DE17C2D7C6DDDE549E33 /* SDWebImageDownloaderConfig.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDownloaderConfig.m; path = SDWebImage/SDWebImageDownloaderConfig.m; sourceTree = "<group>"; };
170 170 0C4DD8F9856C9D17828941D39C59185F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
171 171 0D175722A2A82D89DD02391C9F5E2B47 /* CNCycleScrollViewCell.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = CNCycleScrollViewCell.h; path = CNLiveCycleScrollView/Classes/CNCycleScrollViewCell.h; sourceTree = "<group>"; };
172 172 0D7448E1DCFAAADCB39E609F4A6E2971 /* SDAnimatedImageView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDAnimatedImageView.m; path = SDWebImage/SDAnimatedImageView.m; sourceTree = "<group>"; };
173   - 0DD7ECF938CCB0C8A46BF9D192DD98AD /* Pods_CNLiveCycleScrollView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_CNLiveCycleScrollView_Example.framework; path = "Pods-CNLiveCycleScrollView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
  173 + 0DD7ECF938CCB0C8A46BF9D192DD98AD /* Pods_CNLiveCycleScrollView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveCycleScrollView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
174 174 0E4969A8C1BC8603CCF7D9118CC2C092 /* UIView+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+WebCache.h"; path = "SDWebImage/UIView+WebCache.h"; sourceTree = "<group>"; };
175 175 0ED08441A76441E722AC812609F8925B /* SDWebImageDefine.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDefine.h; path = SDWebImage/SDWebImageDefine.h; sourceTree = "<group>"; };
176 176 0ED8DA2C210AEE66F8556431112BE726 /* UIView+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+WebCache.m"; path = "SDWebImage/UIView+WebCache.m"; sourceTree = "<group>"; };
... ... @@ -186,11 +186,11 @@
186 186 201DDF620EB12684371BBA56090041EA /* Pods-CNLiveCycleScrollView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-CNLiveCycleScrollView_Tests.release.xcconfig"; sourceTree = "<group>"; };
187 187 21669F27DE3FEB1D8082E625A0ED686D /* UIButton+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIButton+WebCache.m"; path = "SDWebImage/UIButton+WebCache.m"; sourceTree = "<group>"; };
188 188 21EF71E33E087B148C03D291BCC5CCBA /* CNCycleScrollViewCell.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = CNCycleScrollViewCell.m; path = CNLiveCycleScrollView/Classes/CNCycleScrollViewCell.m; sourceTree = "<group>"; };
189   - 2367D0A51354F89F27A71C0969F45E0F /* CNLiveCycleScrollView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = CNLiveCycleScrollView.framework; path = CNLiveCycleScrollView.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  189 + 2367D0A51354F89F27A71C0969F45E0F /* CNLiveCycleScrollView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CNLiveCycleScrollView.framework; sourceTree = BUILT_PRODUCTS_DIR; };
190 190 25D4FCF223003B3E4CF02F918694B22F /* SDImageCacheDefine.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDImageCacheDefine.m; path = SDWebImage/SDImageCacheDefine.m; sourceTree = "<group>"; };
191 191 2643EA13C21A336C1B4E8CF30834ADAE /* SDAnimatedImageRep.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDAnimatedImageRep.m; path = SDWebImage/SDAnimatedImageRep.m; sourceTree = "<group>"; };
192 192 28ACBB6619EAD2D83FA8D615CDFB4FCA /* SDImageAPNGCoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageAPNGCoder.h; path = SDWebImage/SDImageAPNGCoder.h; sourceTree = "<group>"; };
193   - 29E56C1A502731636E08DC8554AB5F6B /* Pods_CNLiveCycleScrollView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_CNLiveCycleScrollView_Tests.framework; path = "Pods-CNLiveCycleScrollView_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
  193 + 29E56C1A502731636E08DC8554AB5F6B /* Pods_CNLiveCycleScrollView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveCycleScrollView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
194 194 2BDD28DE4B5A3CDD8490B711D49329B7 /* SDWebImage.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImage.h; path = WebImage/SDWebImage.h; sourceTree = "<group>"; };
195 195 2C6125BBC33C86C7B630DCA45CE364F2 /* CNLiveCycleScrollView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CNLiveCycleScrollView.xcconfig; sourceTree = "<group>"; };
196 196 2C8284567840BDB171FE4BD18227137D /* SDWebImageDownloaderConfig.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDownloaderConfig.h; path = SDWebImage/SDWebImageDownloaderConfig.h; sourceTree = "<group>"; };
... ... @@ -213,7 +213,7 @@
213 213 495B182CDA96857E593EF86A9D73A7B5 /* Pods-CNLiveCycleScrollView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CNLiveCycleScrollView_Tests-acknowledgements.markdown"; sourceTree = "<group>"; };
214 214 4BC37E97689499592AD3714B41810C56 /* SDImageCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageCache.h; path = SDWebImage/SDImageCache.h; sourceTree = "<group>"; };
215 215 4CA11F09DEA1DC76AE937EF6F23904AD /* SDAnimatedImageRep.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDAnimatedImageRep.h; path = SDWebImage/SDAnimatedImageRep.h; sourceTree = "<group>"; };
216   - 4E211444CE8A1CB985F2002EA9192BA8 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = "<group>"; };
  216 + 4E211444CE8A1CB985F2002EA9192BA8 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
217 217 5260B1E46F69E02F24D7A81CCC95C1C7 /* SDImageFrame.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDImageFrame.m; path = SDWebImage/SDImageFrame.m; sourceTree = "<group>"; };
218 218 5348F20CF9783CEE44BF25538651581B /* SDImageCachesManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDImageCachesManager.m; path = SDWebImage/SDImageCachesManager.m; sourceTree = "<group>"; };
219 219 538F5DBA895163894251FFD914A70323 /* Pods-CNLiveCycleScrollView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-CNLiveCycleScrollView_Example-acknowledgements.markdown"; sourceTree = "<group>"; };
... ... @@ -249,12 +249,12 @@
249 249 8C2458049F0D15201C021580A2B18347 /* CNLiveCycleScrollView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CNLiveCycleScrollView-dummy.m"; sourceTree = "<group>"; };
250 250 8F9FC57828643DE3282A5A3F71239921 /* Pods-CNLiveCycleScrollView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-CNLiveCycleScrollView_Example-dummy.m"; sourceTree = "<group>"; };
251 251 92C3386B8473EE0F91A5C7862E3DEAF8 /* SDImageCoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageCoder.h; path = SDWebImage/SDImageCoder.h; sourceTree = "<group>"; };
252   - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
  252 + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
253 253 94F98BD62F6C4B0ABD0EC1A53DD77C2B /* CNLiveCycleScrollView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CNLiveCycleScrollView-umbrella.h"; sourceTree = "<group>"; };
254 254 95D4B64F214EF26F6F3615CA5AD6F2BA /* NSImage+Compatibility.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSImage+Compatibility.h"; path = "SDWebImage/NSImage+Compatibility.h"; sourceTree = "<group>"; };
255 255 9B2F5BC8469ED69E548C7051FA31A815 /* SDImageCacheDefine.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageCacheDefine.h; path = SDWebImage/SDImageCacheDefine.h; sourceTree = "<group>"; };
256 256 9B3DEA4142F14DD865EB10B0DEC6E309 /* SDWebImageManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageManager.h; path = SDWebImage/SDWebImageManager.h; sourceTree = "<group>"; };
257   - 9E8FBD1154DD79DFE9A6463F6B631113 /* SDWebImage.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = SDWebImage.framework; path = SDWebImage.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  257 + 9E8FBD1154DD79DFE9A6463F6B631113 /* SDWebImage.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDWebImage.framework; sourceTree = BUILT_PRODUCTS_DIR; };
258 258 9EFCEBCC8648D07CB6FBD4CB58D45603 /* SDMemoryCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDMemoryCache.h; path = SDWebImage/SDMemoryCache.h; sourceTree = "<group>"; };
259 259 A0952E37EF2F709D4AE58815FAD1928C /* Pods-CNLiveCycleScrollView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-CNLiveCycleScrollView_Example-frameworks.sh"; sourceTree = "<group>"; };
260 260 A3265BFE5BA441A33AAE2BEE9A038B82 /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDownloaderOperation.h; path = SDWebImage/SDWebImageDownloaderOperation.h; sourceTree = "<group>"; };
... ... @@ -358,7 +358,6 @@
358 358 CFF69830BDEDCCA776B14330A4369EA6 /* Core */,
359 359 9A398EBC82F6053E16DD34A468924990 /* Support Files */,
360 360 );
361   - name = SDWebImage;
362 361 path = SDWebImage;
363 362 sourceTree = "<group>";
364 363 };
... ... @@ -625,9 +624,9 @@
625 624 buildActionMask = 2147483647;
626 625 files = (
627 626 7EBEE8A0D36C0B88907F1D39213E1E98 /* CNCycleScrollView.h in Headers */,
628   - AC8B9AB7ADE5E8F0C687A988AC1F45B8 /* CNCycleScrollViewCell.h in Headers */,
629   - 0A531194FCC41108187477E35DCD0BEF /* CNCycleScrollViewFlowLayout.h in Headers */,
630 627 C9DD69CD0A07ACC4356486833484F247 /* CNLiveCycleScrollView-umbrella.h in Headers */,
  628 + 0A531194FCC41108187477E35DCD0BEF /* CNCycleScrollViewFlowLayout.h in Headers */,
  629 + AC8B9AB7ADE5E8F0C687A988AC1F45B8 /* CNCycleScrollViewCell.h in Headers */,
631 630 );
632 631 runOnlyForDeploymentPostprocessing = 0;
633 632 };
... ... @@ -970,6 +969,7 @@
970 969 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
971 970 IPHONEOS_DEPLOYMENT_TARGET = 9.0;
972 971 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  972 + MACH_O_TYPE = staticlib;
973 973 MODULEMAP_FILE = "Target Support Files/CNLiveCycleScrollView/CNLiveCycleScrollView.modulemap";
974 974 PRODUCT_MODULE_NAME = CNLiveCycleScrollView;
975 975 PRODUCT_NAME = CNLiveCycleScrollView;
... ... @@ -1199,8 +1199,7 @@
1199 1199 MTL_FAST_MATH = YES;
1200 1200 PRODUCT_NAME = "$(TARGET_NAME)";
1201 1201 STRIP_INSTALLED_PRODUCT = NO;
1202   - SWIFT_COMPILATION_MODE = wholemodule;
1203   - SWIFT_OPTIMIZATION_LEVEL = "-O";
  1202 + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
1204 1203 SWIFT_VERSION = 4.2;
1205 1204 SYMROOT = "${SRCROOT}/../build";
1206 1205 };
... ... @@ -1290,6 +1289,7 @@
1290 1289 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
1291 1290 IPHONEOS_DEPLOYMENT_TARGET = 9.0;
1292 1291 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  1292 + MACH_O_TYPE = staticlib;
1293 1293 MODULEMAP_FILE = "Target Support Files/CNLiveCycleScrollView/CNLiveCycleScrollView.modulemap";
1294 1294 PRODUCT_MODULE_NAME = CNLiveCycleScrollView;
1295 1295 PRODUCT_NAME = CNLiveCycleScrollView;
... ...
Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Workspace
  3 + version = "1.0">
  4 + <FileRef
  5 + location = "self:">
  6 + </FileRef>
  7 +</Workspace>
... ...
Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.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>IDEDidComputeMac32BitWarning</key>
  6 + <true/>
  7 +</dict>
  8 +</plist>
... ...
Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/CNLiveCycleScrollView 2.xcscheme 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Scheme
  3 + LastUpgradeVersion = "1000"
  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 = "939F9F81E51E4B9FDE1C029BF2BBBFEE"
  18 + BuildableName = "CNLiveCycleScrollView.framework"
  19 + BlueprintName = "CNLiveCycleScrollView"
  20 + ReferencedContainer = "container:Pods.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 + </Testables>
  32 + <AdditionalOptions>
  33 + </AdditionalOptions>
  34 + </TestAction>
  35 + <LaunchAction
  36 + buildConfiguration = "Debug"
  37 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  38 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  39 + launchStyle = "0"
  40 + useCustomWorkingDirectory = "NO"
  41 + ignoresPersistentStateOnLaunch = "NO"
  42 + debugDocumentVersioning = "YES"
  43 + debugServiceExtension = "internal"
  44 + allowLocationSimulation = "YES">
  45 + <MacroExpansion>
  46 + <BuildableReference
  47 + BuildableIdentifier = "primary"
  48 + BlueprintIdentifier = "939F9F81E51E4B9FDE1C029BF2BBBFEE"
  49 + BuildableName = "CNLiveCycleScrollView.framework"
  50 + BlueprintName = "CNLiveCycleScrollView"
  51 + ReferencedContainer = "container:Pods.xcodeproj">
  52 + </BuildableReference>
  53 + </MacroExpansion>
  54 + <AdditionalOptions>
  55 + </AdditionalOptions>
  56 + </LaunchAction>
  57 + <ProfileAction
  58 + buildConfiguration = "Release"
  59 + shouldUseLaunchSchemeArgsEnv = "YES"
  60 + savedToolIdentifier = ""
  61 + useCustomWorkingDirectory = "NO"
  62 + debugDocumentVersioning = "YES">
  63 + <MacroExpansion>
  64 + <BuildableReference
  65 + BuildableIdentifier = "primary"
  66 + BlueprintIdentifier = "939F9F81E51E4B9FDE1C029BF2BBBFEE"
  67 + BuildableName = "CNLiveCycleScrollView.framework"
  68 + BlueprintName = "CNLiveCycleScrollView"
  69 + ReferencedContainer = "container:Pods.xcodeproj">
  70 + </BuildableReference>
  71 + </MacroExpansion>
  72 + </ProfileAction>
  73 + <AnalyzeAction
  74 + buildConfiguration = "Debug">
  75 + </AnalyzeAction>
  76 + <ArchiveAction
  77 + buildConfiguration = "Release"
  78 + revealArchiveInOrganizer = "YES">
  79 + </ArchiveAction>
  80 +</Scheme>
... ...