From c16577669222ee19a4c8f2ed6c2828b27dac0f81 Mon Sep 17 00:00:00 2001 From: nakajijapan Date: Tue, 29 Dec 2015 00:02:05 +0900 Subject: [PATCH] move projectfile in top --- .../PhotoSliderDemo.xcodeproj/project.pbxproj | 1087 ------------- .../xcschemes/PhotoSlider.xcscheme | 80 - Example/PhotoSliderDemoTests/Info.plist | 24 - .../PhotoSliderDemoTests.swift | 36 - Example/Podfile | 23 - Example/Podfile.lock | 18 - .../Headers/Private/Kingfisher/Kingfisher.h | 1 - .../Kingfisher/Kingfisher/ImageCache.swift | 671 -------- .../Kingfisher/ImageDownloader.swift | 343 ---- .../Kingfisher/ImageTransition.swift | 101 -- .../Pods/Kingfisher/Kingfisher/Kingfisher.h | 37 - .../Kingfisher/KingfisherManager.swift | 285 ---- .../Kingfisher/KingfisherOptions.swift | 60 - .../Kingfisher/KingfisherOptionsInfo.swift | 76 - .../Pods/Kingfisher/Kingfisher/Resource.swift | 37 - .../Kingfisher/Kingfisher/String+MD5.swift | 221 --- .../Kingfisher/Kingfisher/ThreadHelper.swift | 37 - .../Kingfisher/UIButton+Kingfisher.swift | 592 ------- .../Kingfisher/UIImage+Extension.swift | 195 --- .../Kingfisher/UIImageView+Kingfisher.swift | 361 ----- Example/Pods/Kingfisher/LICENSE | 22 - Example/Pods/Kingfisher/README.md | 293 ---- .../Local Podspecs/PhotoSlider.podspec.json | 30 - Example/Pods/Manifest.lock | 18 - Example/Pods/Pods.xcodeproj/project.pbxproj | 1430 ----------------- .../xcschemes/PhotoSlider.xcscheme | 60 - .../Kingfisher/Info.plist | 26 - .../Kingfisher/Kingfisher-dummy.m | 5 - .../Kingfisher/Kingfisher-prefix.pch | 4 - .../Kingfisher/Kingfisher-umbrella.h | 7 - .../Kingfisher/Kingfisher.modulemap | 6 - .../Kingfisher/Kingfisher.xcconfig | 6 - .../PhotoSlider/Info.plist | 26 - .../PhotoSlider/PhotoSlider-dummy.m | 5 - .../PhotoSlider/PhotoSlider-prefix.pch | 4 - .../PhotoSlider/PhotoSlider-umbrella.h | 6 - .../PhotoSlider/PhotoSlider.modulemap | 6 - .../PhotoSlider/PhotoSlider.xcconfig | 5 - .../Pods-PhotoSlider/Info.plist | 26 - ...Pods-PhotoSlider-acknowledgements.markdown | 52 - .../Pods-PhotoSlider-acknowledgements.plist | 86 - .../Pods-PhotoSlider/Pods-PhotoSlider-dummy.m | 5 - .../Pods-PhotoSlider-frameworks.sh | 93 -- .../Pods-PhotoSlider-resources.sh | 95 -- .../Pods-PhotoSlider-umbrella.h | 6 - .../Pods-PhotoSlider.debug.xcconfig | 8 - .../Pods-PhotoSlider.modulemap | 6 - .../Pods-PhotoSlider.release.xcconfig | 8 - .../Pods-PhotoSliderDemo/Info.plist | 26 - ...-PhotoSliderDemo-acknowledgements.markdown | 52 - ...ods-PhotoSliderDemo-acknowledgements.plist | 86 - .../Pods-PhotoSliderDemo-dummy.m | 5 - .../Pods-PhotoSliderDemo-frameworks.sh | 93 -- .../Pods-PhotoSliderDemo-resources.sh | 95 -- .../Pods-PhotoSliderDemo-umbrella.h | 6 - .../Pods-PhotoSliderDemo.debug.xcconfig | 8 - .../Pods-PhotoSliderDemo.modulemap | 6 - .../Pods-PhotoSliderDemo.release.xcconfig | 8 - .../Pods-PhotoSliderDemoTests/Info.plist | 26 - ...oSliderDemoTests-acknowledgements.markdown | 52 - ...hotoSliderDemoTests-acknowledgements.plist | 86 - .../Pods-PhotoSliderDemoTests-dummy.m | 5 - .../Pods-PhotoSliderDemoTests-frameworks.sh | 93 -- .../Pods-PhotoSliderDemoTests-resources.sh | 95 -- .../Pods-PhotoSliderDemoTests-umbrella.h | 6 - .../Pods-PhotoSliderDemoTests.debug.xcconfig | 8 - .../Pods-PhotoSliderDemoTests.modulemap | 6 - ...Pods-PhotoSliderDemoTests.release.xcconfig | 8 - .../Pods-PhotoSliderDemoUITests/Info.plist | 26 - ...liderDemoUITests-acknowledgements.markdown | 52 - ...toSliderDemoUITests-acknowledgements.plist | 86 - .../Pods-PhotoSliderDemoUITests-dummy.m | 5 - .../Pods-PhotoSliderDemoUITests-frameworks.sh | 93 -- .../Pods-PhotoSliderDemoUITests-resources.sh | 95 -- .../Pods-PhotoSliderDemoUITests-umbrella.h | 6 - ...Pods-PhotoSliderDemoUITests.debug.xcconfig | 8 - .../Pods-PhotoSliderDemoUITests.modulemap | 6 - ...ds-PhotoSliderDemoUITests.release.xcconfig | 8 - PhotoSlider.podspec | 4 +- PhotoSlider.xcodeproj/project.pbxproj | 457 ++++++ .../PhotoSlider => PhotoSlider}/Info.plist | 0 .../PhotoSlider => PhotoSlider}/PhotoSlider.h | 4 +- PhotoSliderDemo.xcodeproj/project.pbxproj | 523 ++++++ .../xcschemes/PhotoSliderDemo.xcscheme | 0 .../AppDelegate.swift | 0 .../Base.lproj/LaunchScreen.xib | 0 .../Base.lproj/Main.storyboard | 0 .../ImageCollectionViewCell.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../Info.plist | 0 .../PhotoSliderDemo-Bridging-Header.h | 0 .../ViewController.swift | 0 .../Info.plist | 0 .../PhotoSliderDemoUITests.swift | 0 {Example/Resources => Resources}/image001.jpg | Bin {Example/Resources => Resources}/image002.jpg | Bin {Example/Resources => Resources}/image003.jpg | Bin {Example/Resources => Resources}/image004.jpg | Bin {Example/Resources => Resources}/image005.jpg | Bin {Example/Resources => Resources}/image006.jpg | Bin {Example/Resources => Resources}/image007.jpg | Bin {Example/Resources => Resources}/image008.jpg | Bin {Pod => Sources}/Assets/.gitkeep | 0 {Pod => Sources}/Assets/PhotoSliderClose.png | Bin .../Assets/PhotoSliderClose@2x.png | Bin .../Assets/PhotoSliderClose@3x.png | Bin {Pod => Sources}/Classes/.gitkeep | 0 {Pod => Sources}/Classes/ImageView.swift | 0 {Pod => Sources}/Classes/Photo.swift | 0 {Pod => Sources}/Classes/ProgressView.swift | 0 {Pod => Sources}/Classes/ViewController.swift | 0 .../Classes/ZoomingAnimationController.swift | 0 112 files changed, 984 insertions(+), 7788 deletions(-) delete mode 100644 Example/PhotoSliderDemo.xcodeproj/project.pbxproj delete mode 100644 Example/PhotoSliderDemo.xcodeproj/xcshareddata/xcschemes/PhotoSlider.xcscheme delete mode 100644 Example/PhotoSliderDemoTests/Info.plist delete mode 100644 Example/PhotoSliderDemoTests/PhotoSliderDemoTests.swift delete mode 100644 Example/Podfile delete mode 100644 Example/Podfile.lock delete mode 120000 Example/Pods/Headers/Private/Kingfisher/Kingfisher.h delete mode 100644 Example/Pods/Kingfisher/Kingfisher/ImageCache.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/ImageDownloader.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/ImageTransition.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/Kingfisher.h delete mode 100644 Example/Pods/Kingfisher/Kingfisher/KingfisherManager.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/KingfisherOptions.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/KingfisherOptionsInfo.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/Resource.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/String+MD5.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/ThreadHelper.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/UIButton+Kingfisher.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/UIImage+Extension.swift delete mode 100644 Example/Pods/Kingfisher/Kingfisher/UIImageView+Kingfisher.swift delete mode 100644 Example/Pods/Kingfisher/LICENSE delete mode 100644 Example/Pods/Kingfisher/README.md delete mode 100644 Example/Pods/Local Podspecs/PhotoSlider.podspec.json delete mode 100644 Example/Pods/Manifest.lock delete mode 100644 Example/Pods/Pods.xcodeproj/project.pbxproj delete mode 100644 Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/PhotoSlider.xcscheme delete mode 100644 Example/Pods/Target Support Files/Kingfisher/Info.plist delete mode 100644 Example/Pods/Target Support Files/Kingfisher/Kingfisher-dummy.m delete mode 100644 Example/Pods/Target Support Files/Kingfisher/Kingfisher-prefix.pch delete mode 100644 Example/Pods/Target Support Files/Kingfisher/Kingfisher-umbrella.h delete mode 100644 Example/Pods/Target Support Files/Kingfisher/Kingfisher.modulemap delete mode 100644 Example/Pods/Target Support Files/Kingfisher/Kingfisher.xcconfig delete mode 100644 Example/Pods/Target Support Files/PhotoSlider/Info.plist delete mode 100644 Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-dummy.m delete mode 100644 Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-prefix.pch delete mode 100644 Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-umbrella.h delete mode 100644 Example/Pods/Target Support Files/PhotoSlider/PhotoSlider.modulemap delete mode 100644 Example/Pods/Target Support Files/PhotoSlider/PhotoSlider.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSlider/Info.plist delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-acknowledgements.markdown delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-acknowledgements.plist delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-dummy.m delete mode 100755 Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-frameworks.sh delete mode 100755 Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-resources.sh delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-umbrella.h delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.debug.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.modulemap delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.release.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Info.plist delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-acknowledgements.markdown delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-acknowledgements.plist delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-dummy.m delete mode 100755 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-frameworks.sh delete mode 100755 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-resources.sh delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-umbrella.h delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.debug.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.modulemap delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.release.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Info.plist delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-acknowledgements.markdown delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-acknowledgements.plist delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-dummy.m delete mode 100755 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-frameworks.sh delete mode 100755 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-resources.sh delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-umbrella.h delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.debug.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.modulemap delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.release.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Info.plist delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-acknowledgements.markdown delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-acknowledgements.plist delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-dummy.m delete mode 100755 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-frameworks.sh delete mode 100755 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-resources.sh delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-umbrella.h delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.debug.xcconfig delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.modulemap delete mode 100644 Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.release.xcconfig create mode 100644 PhotoSlider.xcodeproj/project.pbxproj rename {Example/PhotoSlider => PhotoSlider}/Info.plist (100%) rename {Example/PhotoSlider => PhotoSlider}/PhotoSlider.h (79%) create mode 100644 PhotoSliderDemo.xcodeproj/project.pbxproj rename {Example/PhotoSliderDemo.xcodeproj => PhotoSliderDemo.xcodeproj}/xcshareddata/xcschemes/PhotoSliderDemo.xcscheme (100%) rename {Example/PhotoSliderDemo => PhotoSliderDemo}/AppDelegate.swift (100%) rename {Example/PhotoSliderDemo => PhotoSliderDemo}/Base.lproj/LaunchScreen.xib (100%) rename {Example/PhotoSliderDemo => PhotoSliderDemo}/Base.lproj/Main.storyboard (100%) rename {Example/PhotoSliderDemo => PhotoSliderDemo}/ImageCollectionViewCell.swift (100%) rename {Example/PhotoSliderDemo => PhotoSliderDemo}/Images.xcassets/AppIcon.appiconset/Contents.json (100%) rename {Example/PhotoSliderDemo => PhotoSliderDemo}/Info.plist (100%) rename {Example/PhotoSliderDemo => PhotoSliderDemo}/PhotoSliderDemo-Bridging-Header.h (100%) rename {Example/PhotoSliderDemo => PhotoSliderDemo}/ViewController.swift (100%) rename {Example/PhotoSliderDemoUITests => PhotoSliderDemoUITests}/Info.plist (100%) rename {Example/PhotoSliderDemoUITests => PhotoSliderDemoUITests}/PhotoSliderDemoUITests.swift (100%) rename {Example/Resources => Resources}/image001.jpg (100%) rename {Example/Resources => Resources}/image002.jpg (100%) rename {Example/Resources => Resources}/image003.jpg (100%) rename {Example/Resources => Resources}/image004.jpg (100%) rename {Example/Resources => Resources}/image005.jpg (100%) rename {Example/Resources => Resources}/image006.jpg (100%) rename {Example/Resources => Resources}/image007.jpg (100%) rename {Example/Resources => Resources}/image008.jpg (100%) rename {Pod => Sources}/Assets/.gitkeep (100%) rename {Pod => Sources}/Assets/PhotoSliderClose.png (100%) rename {Pod => Sources}/Assets/PhotoSliderClose@2x.png (100%) rename {Pod => Sources}/Assets/PhotoSliderClose@3x.png (100%) rename {Pod => Sources}/Classes/.gitkeep (100%) rename {Pod => Sources}/Classes/ImageView.swift (100%) rename {Pod => Sources}/Classes/Photo.swift (100%) rename {Pod => Sources}/Classes/ProgressView.swift (100%) rename {Pod => Sources}/Classes/ViewController.swift (100%) rename {Pod => Sources}/Classes/ZoomingAnimationController.swift (100%) diff --git a/Example/PhotoSliderDemo.xcodeproj/project.pbxproj b/Example/PhotoSliderDemo.xcodeproj/project.pbxproj deleted file mode 100644 index e0d1945..0000000 --- a/Example/PhotoSliderDemo.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1087 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 965C495DE0B350CAA38C7A20 /* Pods_PhotoSliderDemoTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 689274A363491ABEA8D3598A /* Pods_PhotoSliderDemoTests.framework */; }; - AB06F23938AC0BC283224E8E /* Pods_PhotoSliderDemoUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96B4B364A5955F05C03F5A24 /* Pods_PhotoSliderDemoUITests.framework */; }; - D9DCCF302DB3F19DA4074317 /* Pods_PhotoSlider.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A3EBAB0CF6166BAE9BD7F6B1 /* Pods_PhotoSlider.framework */; }; - DC0358011B2D550600B80D21 /* Pods_PhotoSliderDemo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 191D9A2EE675029B0F5FAEC1 /* Pods_PhotoSliderDemo.framework */; }; - DC20F45D1ADA871D009A4C64 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC20F45C1ADA871D009A4C64 /* AppDelegate.swift */; }; - DC20F45F1ADA871D009A4C64 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC20F45E1ADA871D009A4C64 /* ViewController.swift */; }; - DC20F4621ADA871D009A4C64 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DC20F4601ADA871D009A4C64 /* Main.storyboard */; }; - DC20F4641ADA871D009A4C64 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DC20F4631ADA871D009A4C64 /* Images.xcassets */; }; - DC20F4671ADA871D009A4C64 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = DC20F4651ADA871D009A4C64 /* LaunchScreen.xib */; }; - DC20F4731ADA871D009A4C64 /* PhotoSliderDemoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC20F4721ADA871D009A4C64 /* PhotoSliderDemoTests.swift */; }; - DC740B191AEC6B2F00079D30 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = DC740B161AEC6B2F00079D30 /* LICENSE */; }; - DC740B1A1AEC6B2F00079D30 /* PhotoSlider.podspec in Resources */ = {isa = PBXBuildFile; fileRef = DC740B171AEC6B2F00079D30 /* PhotoSlider.podspec */; }; - DC76FA731C0053E400646B67 /* PhotoSlider.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC76FA6C1C0053E400646B67 /* PhotoSlider.framework */; }; - DC76FA741C0053E400646B67 /* PhotoSlider.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = DC76FA6C1C0053E400646B67 /* PhotoSlider.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - DC76FA791C00543200646B67 /* ImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC76FA581C00536D00646B67 /* ImageView.swift */; }; - DC76FA7A1C00543200646B67 /* Photo.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC76FA591C00536D00646B67 /* Photo.swift */; }; - DC76FA7B1C00543200646B67 /* ProgressView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC76FA5A1C00536D00646B67 /* ProgressView.swift */; }; - DC76FA7C1C00543200646B67 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC76FA5B1C00536D00646B67 /* ViewController.swift */; }; - DC76FA7D1C00543200646B67 /* ZoomingAnimationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC76FA5C1C00536D00646B67 /* ZoomingAnimationController.swift */; }; - DC76FA7E1C00545B00646B67 /* PhotoSliderClose.png in Resources */ = {isa = PBXBuildFile; fileRef = DC76FA531C00536D00646B67 /* PhotoSliderClose.png */; }; - DC76FA7F1C00545B00646B67 /* PhotoSliderClose@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC76FA541C00536D00646B67 /* PhotoSliderClose@2x.png */; }; - DC76FA801C00545B00646B67 /* PhotoSliderClose@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC76FA551C00536D00646B67 /* PhotoSliderClose@3x.png */; }; - DC917AC71BB29B7300031F84 /* PhotoSliderDemoUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC917AC61BB29B7300031F84 /* PhotoSliderDemoUITests.swift */; }; - DC917AE71BB2ABAC00031F84 /* Pods_PhotoSliderDemo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 191D9A2EE675029B0F5FAEC1 /* Pods_PhotoSliderDemo.framework */; }; - DC917AE81BB2ABAC00031F84 /* Pods_PhotoSliderDemo.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 191D9A2EE675029B0F5FAEC1 /* Pods_PhotoSliderDemo.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - DC917AEA1BB2ABCD00031F84 /* Pods_PhotoSliderDemoTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 689274A363491ABEA8D3598A /* Pods_PhotoSliderDemoTests.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; - DC917AEB1BB2ABCD00031F84 /* Pods_PhotoSliderDemoTests.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 689274A363491ABEA8D3598A /* Pods_PhotoSliderDemoTests.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - DC917AEC1BB2ABD000031F84 /* Pods_PhotoSliderDemoUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 96B4B364A5955F05C03F5A24 /* Pods_PhotoSliderDemoUITests.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; - DC917AED1BB2ABD000031F84 /* Pods_PhotoSliderDemoUITests.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 96B4B364A5955F05C03F5A24 /* Pods_PhotoSliderDemoUITests.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - DC917AF11BB3BC5700031F84 /* ImageCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC917AF01BB3BC5700031F84 /* ImageCollectionViewCell.swift */; }; - DC9E68791C301D6C0095C3AB /* PhotoSlider.h in Headers */ = {isa = PBXBuildFile; fileRef = DC76FA6E1C0053E400646B67 /* PhotoSlider.h */; settings = {ATTRIBUTES = (Public, ); }; }; - DC9E687B1C301E9C0095C3AB /* Kingfisher.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC9E687A1C301E9C0095C3AB /* Kingfisher.framework */; }; - DCE8F5351B94A2EA00B2D224 /* image001.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F52D1B94A2EA00B2D224 /* image001.jpg */; }; - DCE8F5361B94A2EA00B2D224 /* image002.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F52E1B94A2EA00B2D224 /* image002.jpg */; }; - DCE8F5371B94A2EA00B2D224 /* image003.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F52F1B94A2EA00B2D224 /* image003.jpg */; }; - DCE8F5381B94A2EA00B2D224 /* image004.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5301B94A2EA00B2D224 /* image004.jpg */; }; - DCE8F5391B94A2EA00B2D224 /* image005.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5311B94A2EA00B2D224 /* image005.jpg */; }; - DCE8F53A1B94A2EA00B2D224 /* image006.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5321B94A2EA00B2D224 /* image006.jpg */; }; - DCE8F53B1B94A2EA00B2D224 /* image007.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5331B94A2EA00B2D224 /* image007.jpg */; }; - DCE8F53C1B94A2EA00B2D224 /* image008.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5341B94A2EA00B2D224 /* image008.jpg */; }; -/* End PBXBuildFile section */ - -/* Begin PBXBuildRule section */ - DC76FA781C0053EC00646B67 /* PBXBuildRule */ = { - isa = PBXBuildRule; - compilerSpec = com.apple.xcode.tools.swift.compiler; - fileType = sourcecode.swift; - isEditable = 1; - outputFiles = ( - ); - script = "# $(SWIFT_EXEC)\n"; - }; -/* End PBXBuildRule section */ - -/* Begin PBXContainerItemProxy section */ - DC20F46D1ADA871D009A4C64 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = DC20F44F1ADA871D009A4C64 /* Project object */; - proxyType = 1; - remoteGlobalIDString = DC20F4561ADA871D009A4C64; - remoteInfo = PhotoSliderDemo; - }; - DC76FA711C0053E400646B67 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = DC20F44F1ADA871D009A4C64 /* Project object */; - proxyType = 1; - remoteGlobalIDString = DC76FA6B1C0053E400646B67; - remoteInfo = PhotoSlider; - }; - DC917AC91BB29B7300031F84 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = DC20F44F1ADA871D009A4C64 /* Project object */; - proxyType = 1; - remoteGlobalIDString = DC20F4561ADA871D009A4C64; - remoteInfo = PhotoSliderDemo; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - DC917AE91BB2ABAD00031F84 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - DC917AE81BB2ABAC00031F84 /* Pods_PhotoSliderDemo.framework in Embed Frameworks */, - DC917AED1BB2ABD000031F84 /* Pods_PhotoSliderDemoUITests.framework in Embed Frameworks */, - DC76FA741C0053E400646B67 /* PhotoSlider.framework in Embed Frameworks */, - DC917AEB1BB2ABCD00031F84 /* Pods_PhotoSliderDemoTests.framework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 07275255459EA7A30C88B2C5 /* Pods-PhotoSliderDemoUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PhotoSliderDemoUITests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.debug.xcconfig"; sourceTree = ""; }; - 191D9A2EE675029B0F5FAEC1 /* Pods_PhotoSliderDemo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PhotoSliderDemo.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 41089CB75B56F12DC715DE50 /* Pods-PhotoSliderDemoTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PhotoSliderDemoTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.release.xcconfig"; sourceTree = ""; }; - 48954EE5BD7E332C65202083 /* Pods-PhotoSliderDemoTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PhotoSliderDemoTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.debug.xcconfig"; sourceTree = ""; }; - 5048010D4C10E94A4C1A6517 /* Pods-PhotoSlider.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PhotoSlider.release.xcconfig"; path = "Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.release.xcconfig"; sourceTree = ""; }; - 689274A363491ABEA8D3598A /* Pods_PhotoSliderDemoTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PhotoSliderDemoTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 7DEC318FBE9F374F079B49D4 /* Pods-PhotoSliderDemoUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PhotoSliderDemoUITests.release.xcconfig"; path = "Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.release.xcconfig"; sourceTree = ""; }; - 96B4B364A5955F05C03F5A24 /* Pods_PhotoSliderDemoUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PhotoSliderDemoUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - A3EBAB0CF6166BAE9BD7F6B1 /* Pods_PhotoSlider.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PhotoSlider.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - CAA14BFE259FFFFA34A7158C /* Pods-PhotoSliderDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PhotoSliderDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.release.xcconfig"; sourceTree = ""; }; - CF4EE87704D26443EB7CA776 /* Pods-PhotoSliderDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PhotoSliderDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.debug.xcconfig"; sourceTree = ""; }; - DC20F4571ADA871D009A4C64 /* PhotoSliderDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PhotoSliderDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; - DC20F45B1ADA871D009A4C64 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - DC20F45C1ADA871D009A4C64 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - DC20F45E1ADA871D009A4C64 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - DC20F4611ADA871D009A4C64 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - DC20F4631ADA871D009A4C64 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; - DC20F4661ADA871D009A4C64 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - DC20F46C1ADA871D009A4C64 /* PhotoSliderDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PhotoSliderDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - DC20F4711ADA871D009A4C64 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - DC20F4721ADA871D009A4C64 /* PhotoSliderDemoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PhotoSliderDemoTests.swift; sourceTree = ""; }; - DC20F4801ADA9657009A4C64 /* PhotoSliderDemo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PhotoSliderDemo-Bridging-Header.h"; sourceTree = ""; }; - DC740B161AEC6B2F00079D30 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - DC740B171AEC6B2F00079D30 /* PhotoSlider.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = PhotoSlider.podspec; path = ../PhotoSlider.podspec; sourceTree = ""; }; - DC740B181AEC6B2F00079D30 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - DC76FA531C00536D00646B67 /* PhotoSliderClose.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = PhotoSliderClose.png; sourceTree = ""; }; - DC76FA541C00536D00646B67 /* PhotoSliderClose@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "PhotoSliderClose@2x.png"; sourceTree = ""; }; - DC76FA551C00536D00646B67 /* PhotoSliderClose@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "PhotoSliderClose@3x.png"; sourceTree = ""; }; - DC76FA581C00536D00646B67 /* ImageView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageView.swift; sourceTree = ""; }; - DC76FA591C00536D00646B67 /* Photo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Photo.swift; sourceTree = ""; }; - DC76FA5A1C00536D00646B67 /* ProgressView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgressView.swift; sourceTree = ""; }; - DC76FA5B1C00536D00646B67 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - DC76FA5C1C00536D00646B67 /* ZoomingAnimationController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ZoomingAnimationController.swift; sourceTree = ""; }; - DC76FA6C1C0053E400646B67 /* PhotoSlider.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PhotoSlider.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - DC76FA6E1C0053E400646B67 /* PhotoSlider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PhotoSlider.h; sourceTree = ""; }; - DC76FA701C0053E400646B67 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - DC917AC41BB29B7300031F84 /* PhotoSliderDemoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PhotoSliderDemoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - DC917AC61BB29B7300031F84 /* PhotoSliderDemoUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PhotoSliderDemoUITests.swift; sourceTree = ""; }; - DC917AC81BB29B7300031F84 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - DC917ACE1BB2A93D00031F84 /* Pods_PhotoSliderDemoUITests.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Pods_PhotoSliderDemoUITests.framework; path = "Pods/../build/Debug-iphoneos/Pods_PhotoSliderDemoUITests.framework"; sourceTree = ""; }; - DC917AD01BB2A95700031F84 /* Pods_PhotoSliderDemoUITests.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Pods_PhotoSliderDemoUITests.framework; path = "Pods/../build/Debug-iphoneos/Pods_PhotoSliderDemoUITests.framework"; sourceTree = ""; }; - DC917AD21BB2AA6000031F84 /* Pods_PhotoSliderDemo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Pods_PhotoSliderDemo.framework; path = "Pods/../build/Debug-iphoneos/Pods_PhotoSliderDemo.framework"; sourceTree = ""; }; - DC917AD41BB2AA6500031F84 /* Pods_PhotoSliderDemoTests.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Pods_PhotoSliderDemoTests.framework; path = "Pods/../build/Debug-iphoneos/Pods_PhotoSliderDemoTests.framework"; sourceTree = ""; }; - DC917AD61BB2AA6800031F84 /* Pods_PhotoSliderDemoUITests.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Pods_PhotoSliderDemoUITests.framework; path = "Pods/../build/Debug-iphoneos/Pods_PhotoSliderDemoUITests.framework"; sourceTree = ""; }; - DC917AF01BB3BC5700031F84 /* ImageCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageCollectionViewCell.swift; sourceTree = ""; }; - DC9E687A1C301E9C0095C3AB /* Kingfisher.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Kingfisher.framework; path = "Pods/../build/Debug-iphoneos/Kingfisher.framework"; sourceTree = ""; }; - DCE8F52D1B94A2EA00B2D224 /* image001.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image001.jpg; sourceTree = ""; }; - DCE8F52E1B94A2EA00B2D224 /* image002.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image002.jpg; sourceTree = ""; }; - DCE8F52F1B94A2EA00B2D224 /* image003.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image003.jpg; sourceTree = ""; }; - DCE8F5301B94A2EA00B2D224 /* image004.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image004.jpg; sourceTree = ""; }; - DCE8F5311B94A2EA00B2D224 /* image005.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image005.jpg; sourceTree = ""; }; - DCE8F5321B94A2EA00B2D224 /* image006.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image006.jpg; sourceTree = ""; }; - DCE8F5331B94A2EA00B2D224 /* image007.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image007.jpg; sourceTree = ""; }; - DCE8F5341B94A2EA00B2D224 /* image008.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image008.jpg; sourceTree = ""; }; - F09EED8B87038C76A1C398A6 /* Pods-PhotoSlider.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PhotoSlider.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.debug.xcconfig"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - DC20F4541ADA871D009A4C64 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - DC917AE71BB2ABAC00031F84 /* Pods_PhotoSliderDemo.framework in Frameworks */, - DC917AEC1BB2ABD000031F84 /* Pods_PhotoSliderDemoUITests.framework in Frameworks */, - DC76FA731C0053E400646B67 /* PhotoSlider.framework in Frameworks */, - DC917AEA1BB2ABCD00031F84 /* Pods_PhotoSliderDemoTests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DC20F4691ADA871D009A4C64 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 965C495DE0B350CAA38C7A20 /* Pods_PhotoSliderDemoTests.framework in Frameworks */, - DC0358011B2D550600B80D21 /* Pods_PhotoSliderDemo.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DC76FA681C0053E400646B67 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - DC9E687B1C301E9C0095C3AB /* Kingfisher.framework in Frameworks */, - D9DCCF302DB3F19DA4074317 /* Pods_PhotoSlider.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DC917AC11BB29B7300031F84 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - AB06F23938AC0BC283224E8E /* Pods_PhotoSliderDemoUITests.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 66A3BAA23076667DA79DC70A /* Frameworks */ = { - isa = PBXGroup; - children = ( - DC9E687A1C301E9C0095C3AB /* Kingfisher.framework */, - DC917AD61BB2AA6800031F84 /* Pods_PhotoSliderDemoUITests.framework */, - DC917AD41BB2AA6500031F84 /* Pods_PhotoSliderDemoTests.framework */, - DC917AD21BB2AA6000031F84 /* Pods_PhotoSliderDemo.framework */, - DC917AD01BB2A95700031F84 /* Pods_PhotoSliderDemoUITests.framework */, - DC917ACE1BB2A93D00031F84 /* Pods_PhotoSliderDemoUITests.framework */, - 191D9A2EE675029B0F5FAEC1 /* Pods_PhotoSliderDemo.framework */, - 689274A363491ABEA8D3598A /* Pods_PhotoSliderDemoTests.framework */, - 96B4B364A5955F05C03F5A24 /* Pods_PhotoSliderDemoUITests.framework */, - A3EBAB0CF6166BAE9BD7F6B1 /* Pods_PhotoSlider.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 9BF74163E5DA4094004C64A0 /* Pods */ = { - isa = PBXGroup; - children = ( - CF4EE87704D26443EB7CA776 /* Pods-PhotoSliderDemo.debug.xcconfig */, - CAA14BFE259FFFFA34A7158C /* Pods-PhotoSliderDemo.release.xcconfig */, - 48954EE5BD7E332C65202083 /* Pods-PhotoSliderDemoTests.debug.xcconfig */, - 41089CB75B56F12DC715DE50 /* Pods-PhotoSliderDemoTests.release.xcconfig */, - 07275255459EA7A30C88B2C5 /* Pods-PhotoSliderDemoUITests.debug.xcconfig */, - 7DEC318FBE9F374F079B49D4 /* Pods-PhotoSliderDemoUITests.release.xcconfig */, - F09EED8B87038C76A1C398A6 /* Pods-PhotoSlider.debug.xcconfig */, - 5048010D4C10E94A4C1A6517 /* Pods-PhotoSlider.release.xcconfig */, - ); - name = Pods; - sourceTree = ""; - }; - DC20F44E1ADA871D009A4C64 = { - isa = PBXGroup; - children = ( - DCE8F52C1B94A2EA00B2D224 /* Resources */, - DC740B151AEC6A0900079D30 /* Podspec Metadata */, - DC20F4591ADA871D009A4C64 /* PhotoSliderDemo */, - DC20F46F1ADA871D009A4C64 /* PhotoSliderDemoTests */, - DC917AC51BB29B7300031F84 /* PhotoSliderDemoUITests */, - DC76FA6D1C0053E400646B67 /* PhotoSlider */, - DC20F4581ADA871D009A4C64 /* Products */, - 9BF74163E5DA4094004C64A0 /* Pods */, - 66A3BAA23076667DA79DC70A /* Frameworks */, - ); - sourceTree = ""; - }; - DC20F4581ADA871D009A4C64 /* Products */ = { - isa = PBXGroup; - children = ( - DC20F4571ADA871D009A4C64 /* PhotoSliderDemo.app */, - DC20F46C1ADA871D009A4C64 /* PhotoSliderDemoTests.xctest */, - DC917AC41BB29B7300031F84 /* PhotoSliderDemoUITests.xctest */, - DC76FA6C1C0053E400646B67 /* PhotoSlider.framework */, - ); - name = Products; - sourceTree = ""; - }; - DC20F4591ADA871D009A4C64 /* PhotoSliderDemo */ = { - isa = PBXGroup; - children = ( - DC20F45C1ADA871D009A4C64 /* AppDelegate.swift */, - DC20F45E1ADA871D009A4C64 /* ViewController.swift */, - DC917AF01BB3BC5700031F84 /* ImageCollectionViewCell.swift */, - DC20F4601ADA871D009A4C64 /* Main.storyboard */, - DC20F4631ADA871D009A4C64 /* Images.xcassets */, - DC20F4651ADA871D009A4C64 /* LaunchScreen.xib */, - DC20F45A1ADA871D009A4C64 /* Supporting Files */, - ); - path = PhotoSliderDemo; - sourceTree = ""; - }; - DC20F45A1ADA871D009A4C64 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - DC20F45B1ADA871D009A4C64 /* Info.plist */, - DC20F4801ADA9657009A4C64 /* PhotoSliderDemo-Bridging-Header.h */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - DC20F46F1ADA871D009A4C64 /* PhotoSliderDemoTests */ = { - isa = PBXGroup; - children = ( - DC20F4721ADA871D009A4C64 /* PhotoSliderDemoTests.swift */, - DC20F4701ADA871D009A4C64 /* Supporting Files */, - ); - path = PhotoSliderDemoTests; - sourceTree = ""; - }; - DC20F4701ADA871D009A4C64 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - DC20F4711ADA871D009A4C64 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - DC740B151AEC6A0900079D30 /* Podspec Metadata */ = { - isa = PBXGroup; - children = ( - DC740B161AEC6B2F00079D30 /* LICENSE */, - DC740B171AEC6B2F00079D30 /* PhotoSlider.podspec */, - DC740B181AEC6B2F00079D30 /* README.md */, - ); - name = "Podspec Metadata"; - sourceTree = ""; - }; - DC76FA511C00536D00646B67 /* Assets */ = { - isa = PBXGroup; - children = ( - DC76FA531C00536D00646B67 /* PhotoSliderClose.png */, - DC76FA541C00536D00646B67 /* PhotoSliderClose@2x.png */, - DC76FA551C00536D00646B67 /* PhotoSliderClose@3x.png */, - ); - name = Assets; - path = ../../Pod/Assets; - sourceTree = ""; - }; - DC76FA561C00536D00646B67 /* Classes */ = { - isa = PBXGroup; - children = ( - DC76FA581C00536D00646B67 /* ImageView.swift */, - DC76FA591C00536D00646B67 /* Photo.swift */, - DC76FA5A1C00536D00646B67 /* ProgressView.swift */, - DC76FA5B1C00536D00646B67 /* ViewController.swift */, - DC76FA5C1C00536D00646B67 /* ZoomingAnimationController.swift */, - ); - name = Classes; - path = ../../Pod/Classes; - sourceTree = ""; - }; - DC76FA6D1C0053E400646B67 /* PhotoSlider */ = { - isa = PBXGroup; - children = ( - DC76FA6E1C0053E400646B67 /* PhotoSlider.h */, - DC76FA701C0053E400646B67 /* Info.plist */, - DC76FA511C00536D00646B67 /* Assets */, - DC76FA561C00536D00646B67 /* Classes */, - ); - path = PhotoSlider; - sourceTree = ""; - }; - DC917AC51BB29B7300031F84 /* PhotoSliderDemoUITests */ = { - isa = PBXGroup; - children = ( - DC917AC61BB29B7300031F84 /* PhotoSliderDemoUITests.swift */, - DC917AC81BB29B7300031F84 /* Info.plist */, - ); - path = PhotoSliderDemoUITests; - sourceTree = ""; - }; - DCE8F52C1B94A2EA00B2D224 /* Resources */ = { - isa = PBXGroup; - children = ( - DCE8F52D1B94A2EA00B2D224 /* image001.jpg */, - DCE8F52E1B94A2EA00B2D224 /* image002.jpg */, - DCE8F52F1B94A2EA00B2D224 /* image003.jpg */, - DCE8F5301B94A2EA00B2D224 /* image004.jpg */, - DCE8F5311B94A2EA00B2D224 /* image005.jpg */, - DCE8F5321B94A2EA00B2D224 /* image006.jpg */, - DCE8F5331B94A2EA00B2D224 /* image007.jpg */, - DCE8F5341B94A2EA00B2D224 /* image008.jpg */, - ); - path = Resources; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - DC76FA691C0053E400646B67 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - DC9E68791C301D6C0095C3AB /* PhotoSlider.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - DC20F4561ADA871D009A4C64 /* PhotoSliderDemo */ = { - isa = PBXNativeTarget; - buildConfigurationList = DC20F4761ADA871D009A4C64 /* Build configuration list for PBXNativeTarget "PhotoSliderDemo" */; - buildPhases = ( - C09C446FE462AFCDBA7FD924 /* Check Pods Manifest.lock */, - DC20F4531ADA871D009A4C64 /* Sources */, - DC20F4541ADA871D009A4C64 /* Frameworks */, - DC20F4551ADA871D009A4C64 /* Resources */, - 2485CC77A70B7A6DE7448FF7 /* Embed Pods Frameworks */, - 59CC92A4452E8AAC945F4669 /* Copy Pods Resources */, - DC917AE91BB2ABAD00031F84 /* Embed Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - DC76FA721C0053E400646B67 /* PBXTargetDependency */, - ); - name = PhotoSliderDemo; - productName = PhotoSliderDemo; - productReference = DC20F4571ADA871D009A4C64 /* PhotoSliderDemo.app */; - productType = "com.apple.product-type.application"; - }; - DC20F46B1ADA871D009A4C64 /* PhotoSliderDemoTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = DC20F4791ADA871D009A4C64 /* Build configuration list for PBXNativeTarget "PhotoSliderDemoTests" */; - buildPhases = ( - 7D1196F87634C1D409F3D0CA /* Check Pods Manifest.lock */, - DC20F4681ADA871D009A4C64 /* Sources */, - DC20F4691ADA871D009A4C64 /* Frameworks */, - DC20F46A1ADA871D009A4C64 /* Resources */, - 750F900D03ABCA3B7E7C365C /* Embed Pods Frameworks */, - 6B2CA360EAE21A8576BA873D /* Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - DC20F46E1ADA871D009A4C64 /* PBXTargetDependency */, - ); - name = PhotoSliderDemoTests; - productName = PhotoSliderDemoTests; - productReference = DC20F46C1ADA871D009A4C64 /* PhotoSliderDemoTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - DC76FA6B1C0053E400646B67 /* PhotoSlider */ = { - isa = PBXNativeTarget; - buildConfigurationList = DC76FA771C0053E400646B67 /* Build configuration list for PBXNativeTarget "PhotoSlider" */; - buildPhases = ( - CF4D0799E61FCAE67A649CE9 /* Check Pods Manifest.lock */, - DC76FA671C0053E400646B67 /* Sources */, - DC76FA681C0053E400646B67 /* Frameworks */, - DC76FA691C0053E400646B67 /* Headers */, - DC76FA6A1C0053E400646B67 /* Resources */, - 3B3CA7F4C2FB84581DF6464D /* Copy Pods Resources */, - ); - buildRules = ( - DC76FA781C0053EC00646B67 /* PBXBuildRule */, - ); - dependencies = ( - ); - name = PhotoSlider; - productName = PhotoSlider; - productReference = DC76FA6C1C0053E400646B67 /* PhotoSlider.framework */; - productType = "com.apple.product-type.framework"; - }; - DC917AC31BB29B7300031F84 /* PhotoSliderDemoUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = DC917ACD1BB29B7300031F84 /* Build configuration list for PBXNativeTarget "PhotoSliderDemoUITests" */; - buildPhases = ( - B777FC930CCA1EF3EB138463 /* Check Pods Manifest.lock */, - DC917AC01BB29B7300031F84 /* Sources */, - DC917AC11BB29B7300031F84 /* Frameworks */, - DC917AC21BB29B7300031F84 /* Resources */, - 503D2E2D69EF143F6D985B7E /* Copy Pods Resources */, - ); - buildRules = ( - ); - dependencies = ( - DC917ACA1BB29B7300031F84 /* PBXTargetDependency */, - ); - name = PhotoSliderDemoUITests; - productName = PhotoSliderDemoUITests; - productReference = DC917AC41BB29B7300031F84 /* PhotoSliderDemoUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - DC20F44F1ADA871D009A4C64 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0700; - ORGANIZATIONNAME = net.nakajijapan; - TargetAttributes = { - DC20F4561ADA871D009A4C64 = { - CreatedOnToolsVersion = 6.2; - }; - DC20F46B1ADA871D009A4C64 = { - CreatedOnToolsVersion = 6.2; - TestTargetID = DC20F4561ADA871D009A4C64; - }; - DC76FA6B1C0053E400646B67 = { - CreatedOnToolsVersion = 7.1.1; - }; - DC917AC31BB29B7300031F84 = { - CreatedOnToolsVersion = 7.0; - TestTargetID = DC20F4561ADA871D009A4C64; - }; - }; - }; - buildConfigurationList = DC20F4521ADA871D009A4C64 /* Build configuration list for PBXProject "PhotoSliderDemo" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = DC20F44E1ADA871D009A4C64; - productRefGroup = DC20F4581ADA871D009A4C64 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - DC20F4561ADA871D009A4C64 /* PhotoSliderDemo */, - DC20F46B1ADA871D009A4C64 /* PhotoSliderDemoTests */, - DC917AC31BB29B7300031F84 /* PhotoSliderDemoUITests */, - DC76FA6B1C0053E400646B67 /* PhotoSlider */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - DC20F4551ADA871D009A4C64 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DC20F4621ADA871D009A4C64 /* Main.storyboard in Resources */, - DCE8F5371B94A2EA00B2D224 /* image003.jpg in Resources */, - DC20F4671ADA871D009A4C64 /* LaunchScreen.xib in Resources */, - DCE8F5361B94A2EA00B2D224 /* image002.jpg in Resources */, - DC740B191AEC6B2F00079D30 /* LICENSE in Resources */, - DCE8F53B1B94A2EA00B2D224 /* image007.jpg in Resources */, - DCE8F53A1B94A2EA00B2D224 /* image006.jpg in Resources */, - DC20F4641ADA871D009A4C64 /* Images.xcassets in Resources */, - DC740B1A1AEC6B2F00079D30 /* PhotoSlider.podspec in Resources */, - DCE8F5391B94A2EA00B2D224 /* image005.jpg in Resources */, - DCE8F5351B94A2EA00B2D224 /* image001.jpg in Resources */, - DCE8F5381B94A2EA00B2D224 /* image004.jpg in Resources */, - DCE8F53C1B94A2EA00B2D224 /* image008.jpg in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DC20F46A1ADA871D009A4C64 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DC76FA6A1C0053E400646B67 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DC76FA7E1C00545B00646B67 /* PhotoSliderClose.png in Resources */, - DC76FA7F1C00545B00646B67 /* PhotoSliderClose@2x.png in Resources */, - DC76FA801C00545B00646B67 /* PhotoSliderClose@3x.png in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DC917AC21BB29B7300031F84 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 2485CC77A70B7A6DE7448FF7 /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 3B3CA7F4C2FB84581DF6464D /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 503D2E2D69EF143F6D985B7E /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 59CC92A4452E8AAC945F4669 /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 6B2CA360EAE21A8576BA873D /* Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 750F900D03ABCA3B7E7C365C /* Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 7D1196F87634C1D409F3D0CA /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - B777FC930CCA1EF3EB138463 /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - C09C446FE462AFCDBA7FD924 /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - CF4D0799E61FCAE67A649CE9 /* Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Check Pods Manifest.lock"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - DC20F4531ADA871D009A4C64 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DC917AF11BB3BC5700031F84 /* ImageCollectionViewCell.swift in Sources */, - DC20F45F1ADA871D009A4C64 /* ViewController.swift in Sources */, - DC20F45D1ADA871D009A4C64 /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DC20F4681ADA871D009A4C64 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DC20F4731ADA871D009A4C64 /* PhotoSliderDemoTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DC76FA671C0053E400646B67 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DC76FA791C00543200646B67 /* ImageView.swift in Sources */, - DC76FA7A1C00543200646B67 /* Photo.swift in Sources */, - DC76FA7B1C00543200646B67 /* ProgressView.swift in Sources */, - DC76FA7C1C00543200646B67 /* ViewController.swift in Sources */, - DC76FA7D1C00543200646B67 /* ZoomingAnimationController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DC917AC01BB29B7300031F84 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DC917AC71BB29B7300031F84 /* PhotoSliderDemoUITests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - DC20F46E1ADA871D009A4C64 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = DC20F4561ADA871D009A4C64 /* PhotoSliderDemo */; - targetProxy = DC20F46D1ADA871D009A4C64 /* PBXContainerItemProxy */; - }; - DC76FA721C0053E400646B67 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = DC76FA6B1C0053E400646B67 /* PhotoSlider */; - targetProxy = DC76FA711C0053E400646B67 /* PBXContainerItemProxy */; - }; - DC917ACA1BB29B7300031F84 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = DC20F4561ADA871D009A4C64 /* PhotoSliderDemo */; - targetProxy = DC917AC91BB29B7300031F84 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - DC20F4601ADA871D009A4C64 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - DC20F4611ADA871D009A4C64 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - DC20F4651ADA871D009A4C64 /* LaunchScreen.xib */ = { - isa = PBXVariantGroup; - children = ( - DC20F4661ADA871D009A4C64 /* Base */, - ); - name = LaunchScreen.xib; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - DC20F4741ADA871D009A4C64 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - DC20F4751ADA871D009A4C64 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - DC20F4771ADA871D009A4C64 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = CF4EE87704D26443EB7CA776 /* Pods-PhotoSliderDemo.debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/build/Debug-iphoneos", - ); - INFOPLIST_FILE = PhotoSliderDemo/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "net.nakajijapan.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "PhotoSliderDemo/PhotoSliderDemo-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - DC20F4781ADA871D009A4C64 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = CAA14BFE259FFFFA34A7158C /* Pods-PhotoSliderDemo.release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/build/Debug-iphoneos", - ); - INFOPLIST_FILE = PhotoSliderDemo/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "net.nakajijapan.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "PhotoSliderDemo/PhotoSliderDemo-Bridging-Header.h"; - }; - name = Release; - }; - DC20F47A1ADA871D009A4C64 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 48954EE5BD7E332C65202083 /* Pods-PhotoSliderDemoTests.debug.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = PhotoSliderDemoTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "net.nakajijapan.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PhotoSliderDemo.app/PhotoSliderDemo"; - }; - name = Debug; - }; - DC20F47B1ADA871D009A4C64 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 41089CB75B56F12DC715DE50 /* Pods-PhotoSliderDemoTests.release.xcconfig */; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = PhotoSliderDemoTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "net.nakajijapan.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PhotoSliderDemo.app/PhotoSliderDemo"; - }; - name = Release; - }; - DC76FA751C0053E400646B67 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = F09EED8B87038C76A1C398A6 /* Pods-PhotoSlider.debug.xcconfig */; - buildSettings = { - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/build/Debug-iphoneos", - ); - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = PhotoSlider/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = net.nakajijapan.PhotoSlider; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - DC76FA761C0053E400646B67 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5048010D4C10E94A4C1A6517 /* Pods-PhotoSlider.release.xcconfig */; - buildSettings = { - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/build/Debug-iphoneos", - ); - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = PhotoSlider/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = net.nakajijapan.PhotoSlider; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - DC917ACB1BB29B7300031F84 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 07275255459EA7A30C88B2C5 /* Pods-PhotoSliderDemoUITests.debug.xcconfig */; - buildSettings = { - DEBUG_INFORMATION_FORMAT = dwarf; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = PhotoSliderDemoUITests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = net.nakajijapan.PhotoSliderDemoUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_TARGET_NAME = PhotoSliderDemo; - USES_XCTRUNNER = YES; - }; - name = Debug; - }; - DC917ACC1BB29B7300031F84 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7DEC318FBE9F374F079B49D4 /* Pods-PhotoSliderDemoUITests.release.xcconfig */; - buildSettings = { - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = PhotoSliderDemoUITests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = net.nakajijapan.PhotoSliderDemoUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_TARGET_NAME = PhotoSliderDemo; - USES_XCTRUNNER = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - DC20F4521ADA871D009A4C64 /* Build configuration list for PBXProject "PhotoSliderDemo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - DC20F4741ADA871D009A4C64 /* Debug */, - DC20F4751ADA871D009A4C64 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - DC20F4761ADA871D009A4C64 /* Build configuration list for PBXNativeTarget "PhotoSliderDemo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - DC20F4771ADA871D009A4C64 /* Debug */, - DC20F4781ADA871D009A4C64 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - DC20F4791ADA871D009A4C64 /* Build configuration list for PBXNativeTarget "PhotoSliderDemoTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - DC20F47A1ADA871D009A4C64 /* Debug */, - DC20F47B1ADA871D009A4C64 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - DC76FA771C0053E400646B67 /* Build configuration list for PBXNativeTarget "PhotoSlider" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - DC76FA751C0053E400646B67 /* Debug */, - DC76FA761C0053E400646B67 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - DC917ACD1BB29B7300031F84 /* Build configuration list for PBXNativeTarget "PhotoSliderDemoUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - DC917ACB1BB29B7300031F84 /* Debug */, - DC917ACC1BB29B7300031F84 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = DC20F44F1ADA871D009A4C64 /* Project object */; -} diff --git a/Example/PhotoSliderDemo.xcodeproj/xcshareddata/xcschemes/PhotoSlider.xcscheme b/Example/PhotoSliderDemo.xcodeproj/xcshareddata/xcschemes/PhotoSlider.xcscheme deleted file mode 100644 index 388081c..0000000 --- a/Example/PhotoSliderDemo.xcodeproj/xcshareddata/xcschemes/PhotoSlider.xcscheme +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/PhotoSliderDemoTests/Info.plist b/Example/PhotoSliderDemoTests/Info.plist deleted file mode 100644 index 14dc3ff..0000000 --- a/Example/PhotoSliderDemoTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 0.2.1 - CFBundleSignature - ???? - CFBundleVersion - 0.2.1 - - diff --git a/Example/PhotoSliderDemoTests/PhotoSliderDemoTests.swift b/Example/PhotoSliderDemoTests/PhotoSliderDemoTests.swift deleted file mode 100644 index 84606a0..0000000 --- a/Example/PhotoSliderDemoTests/PhotoSliderDemoTests.swift +++ /dev/null @@ -1,36 +0,0 @@ -// -// PhotoSliderDemoTests.swift -// PhotoSliderDemoTests -// -// Created by nakajijapan on 4/12/15. -// Copyright (c) 2015 net.nakajijapan. All rights reserved. -// - -import UIKit -import XCTest - -class PhotoSliderDemoTests: XCTestCase { - - override func setUp() { - super.setUp() - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDown() { - // Put teardown code here. This method is called after the invocation of each test method in the class. - super.tearDown() - } - - func testExample() { - // This is an example of a functional test case. - XCTAssert(true, "Pass") - } - - func testPerformanceExample() { - // This is an example of a performance test case. - self.measureBlock() { - // Put the code you want to measure the time of here. - } - } - -} diff --git a/Example/Podfile b/Example/Podfile deleted file mode 100644 index 31913f6..0000000 --- a/Example/Podfile +++ /dev/null @@ -1,23 +0,0 @@ -source 'https://github.com/CocoaPods/Specs.git' -use_frameworks! - -def shared_pods - pod "PhotoSlider", :path => "../" - pod 'Kingfisher' -end - -target 'PhotoSliderDemo', :exclusive => true do - shared_pods -end - -target 'PhotoSliderDemoTests', :exclusive => true do - shared_pods -end - -target 'PhotoSliderDemoUITests', :exclusive => true do - shared_pods -end - -target 'PhotoSlider' do - shared_pods -end diff --git a/Example/Podfile.lock b/Example/Podfile.lock deleted file mode 100644 index e3ee0b7..0000000 --- a/Example/Podfile.lock +++ /dev/null @@ -1,18 +0,0 @@ -PODS: - - Kingfisher (1.8.5) - - PhotoSlider (0.12.1): - - Kingfisher - -DEPENDENCIES: - - Kingfisher - - PhotoSlider (from `../`) - -EXTERNAL SOURCES: - PhotoSlider: - :path: "../" - -SPEC CHECKSUMS: - Kingfisher: 780fed0fa82692a3bd59d53329ae2b85cdd354a5 - PhotoSlider: 70ccfe6735785894ea0ca7762f4b165f58563518 - -COCOAPODS: 0.39.0 diff --git a/Example/Pods/Headers/Private/Kingfisher/Kingfisher.h b/Example/Pods/Headers/Private/Kingfisher/Kingfisher.h deleted file mode 120000 index f574ee5..0000000 --- a/Example/Pods/Headers/Private/Kingfisher/Kingfisher.h +++ /dev/null @@ -1 +0,0 @@ -../../../Kingfisher/Kingfisher/Kingfisher.h \ No newline at end of file diff --git a/Example/Pods/Kingfisher/Kingfisher/ImageCache.swift b/Example/Pods/Kingfisher/Kingfisher/ImageCache.swift deleted file mode 100644 index ea71351..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/ImageCache.swift +++ /dev/null @@ -1,671 +0,0 @@ -// -// ImageCache.swift -// Kingfisher -// -// Created by Wei Wang on 15/4/6. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import UIKit - -/** -This notification will be sent when the disk cache got cleaned either there are cached files expired or the total size exceeding the max allowed size. The manually invoking of `clearDiskCache` method will not trigger this notification. - -The `object` of this notification is the `ImageCache` object which sends the notification. - -A list of removed hashes (files) could be retrieved by accessing the array under `KingfisherDiskCacheCleanedHashKey` key in `userInfo` of the notification object you received. By checking the array, you could know the hash codes of files are removed. - -The main purpose of this notification is supplying a chance to maintain some necessary information on the cached files. See [this wiki](https://github.com/onevcat/Kingfisher/wiki/How-to-implement-ETag-based-304-(Not-Modified)-handling-in-Kingfisher) for a use case on it. -*/ -public let KingfisherDidCleanDiskCacheNotification = "com.onevcat.Kingfisher.KingfisherDidCleanDiskCacheNotification" - -/** -Key for array of cleaned hashes in `userInfo` of `KingfisherDidCleanDiskCacheNotification`. -*/ -public let KingfisherDiskCacheCleanedHashKey = "com.onevcat.Kingfisher.cleanedHash" - -private let defaultCacheName = "default" -private let cacheReverseDNS = "com.onevcat.Kingfisher.ImageCache." -private let ioQueueName = "com.onevcat.Kingfisher.ImageCache.ioQueue." -private let processQueueName = "com.onevcat.Kingfisher.ImageCache.processQueue." - -private let defaultCacheInstance = ImageCache(name: defaultCacheName) -private let defaultMaxCachePeriodInSecond: NSTimeInterval = 60 * 60 * 24 * 7 //Cache exists for 1 week - -/// It represents a task of retrieving image. You can call `cancel` on it to stop the process. -public typealias RetrieveImageDiskTask = dispatch_block_t - -/** -Cache type of a cached image. - -- None: The image is not cached yet when retrieving it. -- Memory: The image is cached in memory. -- Disk: The image is cached in disk. -*/ -public enum CacheType { - case None, Memory, Disk -} - -/// `ImageCache` represents both the memory and disk cache system of Kingfisher. While a default image cache object will be used if you prefer the extension methods of Kingfisher, you can create your own cache object and configure it as your need. You should use an `ImageCache` object to manipulate memory and disk cache for Kingfisher. -public class ImageCache { - - //Memory - private let memoryCache = NSCache() - - /// The largest cache cost of memory cache. The total cost is pixel count of all cached images in memory. - public var maxMemoryCost: UInt = 0 { - didSet { - self.memoryCache.totalCostLimit = Int(maxMemoryCost) - } - } - - //Disk - private let ioQueue: dispatch_queue_t - private var fileManager: NSFileManager! - - ///The disk cache location. - public let diskCachePath: String - - /// The longest time duration of the cache being stored in disk. Default is 1 week. - public var maxCachePeriodInSecond = defaultMaxCachePeriodInSecond - - /// The largest disk size can be taken for the cache. It is the total allocated size of cached files in bytes. Default is 0, which means no limit. - public var maxDiskCacheSize: UInt = 0 - - private let processQueue: dispatch_queue_t - - /// The default cache. - public class var defaultCache: ImageCache { - return defaultCacheInstance - } - - /** - Init method. Passing a name for the cache. It represents a cache folder in the memory and disk. - - - parameter name: Name of the cache. It will be used as the memory cache name and the disk cache folder name appending to the cache path. This value should not be an empty string. - - parameter path: Optional - Location of cache path on disk. If `nil` is passed (the default value), - the cache folder in of your app will be used. If you want to cache some user generating images, you could pass the Documentation path here. - - - returns: The cache object. - */ - public init(name: String, path: String? = nil) { - - if name.isEmpty { - fatalError("[Kingfisher] You should specify a name for the cache. A cache with empty name is not permitted.") - } - - let cacheName = cacheReverseDNS + name - memoryCache.name = cacheName - - let dstPath = path ?? NSSearchPathForDirectoriesInDomains(.CachesDirectory, NSSearchPathDomainMask.UserDomainMask, true).first! - diskCachePath = (dstPath as NSString).stringByAppendingPathComponent(cacheName) - - ioQueue = dispatch_queue_create(ioQueueName + name, DISPATCH_QUEUE_SERIAL) - processQueue = dispatch_queue_create(processQueueName + name, DISPATCH_QUEUE_CONCURRENT) - - dispatch_sync(ioQueue, { () -> Void in - self.fileManager = NSFileManager() - }) - - NSNotificationCenter.defaultCenter().addObserver(self, selector: "clearMemoryCache", name: UIApplicationDidReceiveMemoryWarningNotification, object: nil) - NSNotificationCenter.defaultCenter().addObserver(self, selector: "cleanExpiredDiskCache", name: UIApplicationWillTerminateNotification, object: nil) - NSNotificationCenter.defaultCenter().addObserver(self, selector: "backgroundCleanExpiredDiskCache", name: UIApplicationDidEnterBackgroundNotification, object: nil) - } - - deinit { - NSNotificationCenter.defaultCenter().removeObserver(self) - } -} - -// MARK: - Store & Remove -public extension ImageCache { - /** - Store an image to cache. It will be saved to both memory and disk. - It is an async operation, if you need to do something about the stored image, use `-storeImage:forKey:toDisk:completionHandler:` - instead. - - - parameter image: The image will be stored. - - parameter originalData: The original data of the image. - Kingfisher will use it to check the format of the image and optimize cache size on disk. - If `nil` is supplied, the image data will be saved as a normalized PNG file. - It is strongly suggested to supply it whenever possible, to get a better performance and disk usage. - - parameter key: Key for the image. - */ - public func storeImage(image: UIImage, originalData: NSData? = nil, forKey key: String) { - storeImage(image, originalData: originalData, forKey: key, toDisk: true, completionHandler: nil) - } - - /** - Store an image to cache. It is an async operation. - - - parameter image: The image will be stored. - - parameter originalData: The original data of the image. - Kingfisher will use it to check the format of the image and optimize cache size on disk. - If `nil` is supplied, the image data will be saved as a normalized PNG file. - It is strongly suggested to supply it whenever possible, to get a better performance and disk usage. - - parameter key: Key for the image. - - parameter toDisk: Whether this image should be cached to disk or not. If false, the image will be only cached in memory. - - parameter completionHandler: Called when stroe operation completes. - */ - public func storeImage(image: UIImage, originalData: NSData? = nil, forKey key: String, toDisk: Bool, completionHandler: (() -> ())?) { - memoryCache.setObject(image, forKey: key, cost: image.kf_imageCost) - - func callHandlerInMainQueue() { - if let handler = completionHandler { - dispatch_async(dispatch_get_main_queue()) { - handler() - } - } - } - - if toDisk { - dispatch_async(ioQueue, { () -> Void in - let imageFormat: ImageFormat - if let originalData = originalData { - imageFormat = originalData.kf_imageFormat - } else { - imageFormat = .Unknown - } - - let data: NSData? - switch imageFormat { - case .PNG: data = UIImagePNGRepresentation(image) - case .JPEG: data = UIImageJPEGRepresentation(image, 1.0) - case .GIF: data = UIImageGIFRepresentation(image) - case .Unknown: data = originalData ?? UIImagePNGRepresentation(image.kf_normalizedImage()) - } - - if let data = data { - if !self.fileManager.fileExistsAtPath(self.diskCachePath) { - do { - try self.fileManager.createDirectoryAtPath(self.diskCachePath, withIntermediateDirectories: true, attributes: nil) - } catch _ {} - } - - self.fileManager.createFileAtPath(self.cachePathForKey(key), contents: data, attributes: nil) - callHandlerInMainQueue() - } else { - callHandlerInMainQueue() - } - }) - } else { - callHandlerInMainQueue() - } - } - - /** - Remove the image for key for the cache. It will be opted out from both memory and disk. - It is an async operation, if you need to do something about the stored image, use `-removeImageForKey:fromDisk:completionHandler:` - instead. - - - parameter key: Key for the image. - */ - public func removeImageForKey(key: String) { - removeImageForKey(key, fromDisk: true, completionHandler: nil) - } - - /** - Remove the image for key for the cache. It is an async operation. - - - parameter key: Key for the image. - - parameter fromDisk: Whether this image should be removed from disk or not. If false, the image will be only removed from memory. - - parameter completionHandler: Called when removal operation completes. - */ - public func removeImageForKey(key: String, fromDisk: Bool, completionHandler: (() -> ())?) { - memoryCache.removeObjectForKey(key) - - func callHandlerInMainQueue() { - if let handler = completionHandler { - dispatch_async(dispatch_get_main_queue()) { - handler() - } - } - } - - if fromDisk { - dispatch_async(ioQueue, { () -> Void in - do { - try self.fileManager.removeItemAtPath(self.cachePathForKey(key)) - } catch _ {} - callHandlerInMainQueue() - }) - } else { - callHandlerInMainQueue() - } - } - -} - -// MARK: - Get data from cache -extension ImageCache { - /** - Get an image for a key from memory or disk. - - - parameter key: Key for the image. - - parameter options: Options of retrieving image. - - parameter completionHandler: Called when getting operation completes with image result and cached type of this image. If there is no such key cached, the image will be `nil`. - - - returns: The retrieving task. - */ - public func retrieveImageForKey(key: String, options: KingfisherManager.Options, completionHandler: ((UIImage?, CacheType!) -> ())?) -> RetrieveImageDiskTask? { - // No completion handler. Not start working and early return. - guard let completionHandler = completionHandler else { - return nil - } - - var block: RetrieveImageDiskTask? - if let image = self.retrieveImageInMemoryCacheForKey(key) { - - //Found image in memory cache. - if options.shouldDecode { - dispatch_async(self.processQueue, { () -> Void in - let result = image.kf_decodedImage(scale: options.scale) - dispatch_async(options.queue, { () -> Void in - completionHandler(result, .Memory) - }) - }) - } else { - completionHandler(image, .Memory) - } - } else { - var sSelf: ImageCache! = self - block = dispatch_block_create(DISPATCH_BLOCK_INHERIT_QOS_CLASS) { - - // Begin to load image from disk - dispatch_async(sSelf.ioQueue, { () -> Void in - if let image = sSelf.retrieveImageInDiskCacheForKey(key, scale: options.scale) { - if options.shouldDecode { - dispatch_async(sSelf.processQueue, { () -> Void in - let result = image.kf_decodedImage(scale: options.scale) - sSelf.storeImage(result!, forKey: key, toDisk: false, completionHandler: nil) - - dispatch_async(options.queue, { () -> Void in - completionHandler(result, .Memory) - sSelf = nil - }) - }) - } else { - sSelf.storeImage(image, forKey: key, toDisk: false, completionHandler: nil) - dispatch_async(options.queue, { () -> Void in - completionHandler(image, .Disk) - sSelf = nil - }) - } - } else { - // No image found from either memory or disk - dispatch_async(options.queue, { () -> Void in - completionHandler(nil, nil) - sSelf = nil - }) - } - }) - } - - dispatch_async(dispatch_get_main_queue(), block!) - } - - return block - } - - /** - Get an image for a key from memory. - - - parameter key: Key for the image. - - - returns: The image object if it is cached, or `nil` if there is no such key in the cache. - */ - public func retrieveImageInMemoryCacheForKey(key: String) -> UIImage? { - return memoryCache.objectForKey(key) as? UIImage - } - - /** - Get an image for a key from disk. - - - parameter key: Key for the image. - - param scale: The scale factor to assume when interpreting the image data. - - - returns: The image object if it is cached, or `nil` if there is no such key in the cache. - */ - public func retrieveImageInDiskCacheForKey(key: String, scale: CGFloat = KingfisherManager.DefaultOptions.scale) -> UIImage? { - return diskImageForKey(key, scale: scale) - } -} - -// MARK: - Clear & Clean -extension ImageCache { - /** - Clear memory cache. - */ - @objc public func clearMemoryCache() { - memoryCache.removeAllObjects() - } - - /** - Clear disk cache. This is could be an async or sync operation. - Specify the way you want it by passing the `sync` parameter. - - - parameter sync: If `true`, the clear process will be performed in a sync way. Otherwise, async. Default is `false`. - */ - public func clearDiskCache(sync: Bool = false) { - if sync { - clearDiskCacheSync() - } else { - clearDiskCacheWithCompletionHandler(nil) - } - } - - /** - Clear disk cache. This is an async operation. - - - parameter completionHander: Called after the operation completes. - */ - public func clearDiskCacheWithCompletionHandler(completionHander: (()->())?) { - dispatch_async(ioQueue, { () -> Void in - self.clearDiskCacheSync() - if let completionHander = completionHander { - dispatch_async(dispatch_get_main_queue(), { () -> Void in - completionHander() - }) - } - }) - } - - func clearDiskCacheSync() { - do { - try self.fileManager.removeItemAtPath(self.diskCachePath) - try self.fileManager.createDirectoryAtPath(self.diskCachePath, withIntermediateDirectories: true, attributes: nil) - } catch _ { - } - } - - /** - Clean expired disk cache. This is an async operation. - */ - @objc public func cleanExpiredDiskCache() { - cleanExpiredDiskCacheWithCompletionHander(nil) - } - - /** - Clean expired disk cache. This is an async operation. - - - parameter completionHandler: Called after the operation completes. - */ - public func cleanExpiredDiskCacheWithCompletionHander(completionHandler: (()->())?) { - // Do things in cocurrent io queue - dispatch_async(ioQueue, { () -> Void in - let diskCacheURL = NSURL(fileURLWithPath: self.diskCachePath) - let resourceKeys = [NSURLIsDirectoryKey, NSURLContentModificationDateKey, NSURLTotalFileAllocatedSizeKey] - let expiredDate = NSDate(timeIntervalSinceNow: -self.maxCachePeriodInSecond) - var cachedFiles = [NSURL: [NSObject: AnyObject]]() - var URLsToDelete = [NSURL]() - - var diskCacheSize: UInt = 0 - - if let fileEnumerator = self.fileManager.enumeratorAtURL(diskCacheURL, includingPropertiesForKeys: resourceKeys, options: NSDirectoryEnumerationOptions.SkipsHiddenFiles, errorHandler: nil), - urls = fileEnumerator.allObjects as? [NSURL] { - for fileURL in urls { - - do { - let resourceValues = try fileURL.resourceValuesForKeys(resourceKeys) - // If it is a Directory. Continue to next file URL. - if let isDirectory = resourceValues[NSURLIsDirectoryKey] as? NSNumber { - if isDirectory.boolValue { - continue - } - } - - // If this file is expired, add it to URLsToDelete - if let modificationDate = resourceValues[NSURLContentModificationDateKey] as? NSDate { - if modificationDate.laterDate(expiredDate) == expiredDate { - URLsToDelete.append(fileURL) - continue - } - } - - if let fileSize = resourceValues[NSURLTotalFileAllocatedSizeKey] as? NSNumber { - diskCacheSize += fileSize.unsignedLongValue - cachedFiles[fileURL] = resourceValues - } - } catch _ { - } - - } - } - - for fileURL in URLsToDelete { - do { - try self.fileManager.removeItemAtURL(fileURL) - } catch _ { - } - } - - if self.maxDiskCacheSize > 0 && diskCacheSize > self.maxDiskCacheSize { - let targetSize = self.maxDiskCacheSize / 2 - - // Sort files by last modify date. We want to clean from the oldest files. - let sortedFiles = cachedFiles.keysSortedByValue({ (resourceValue1, resourceValue2) -> Bool in - - if let date1 = resourceValue1[NSURLContentModificationDateKey] as? NSDate { - if let date2 = resourceValue2[NSURLContentModificationDateKey] as? NSDate { - return date1.compare(date2) == .OrderedAscending - } - } - // Not valid date information. This should not happen. Just in case. - return true - }) - - for fileURL in sortedFiles { - - do { - try self.fileManager.removeItemAtURL(fileURL) - } catch { - - } - - URLsToDelete.append(fileURL) - - if let fileSize = cachedFiles[fileURL]?[NSURLTotalFileAllocatedSizeKey] as? NSNumber { - diskCacheSize -= fileSize.unsignedLongValue - } - - if diskCacheSize < targetSize { - break - } - } - } - - dispatch_async(dispatch_get_main_queue(), { () -> Void in - - if URLsToDelete.count != 0 { - let cleanedHashes = URLsToDelete.map({ (url) -> String in - return url.lastPathComponent! - }) - - NSNotificationCenter.defaultCenter().postNotificationName(KingfisherDidCleanDiskCacheNotification, object: self, userInfo: [KingfisherDiskCacheCleanedHashKey: cleanedHashes]) - } - - if let completionHandler = completionHandler { - completionHandler() - } - }) - }) - } - - /** - Clean expired disk cache when app in background. This is an async operation. - In most cases, you should not call this method explicitly. - It will be called automatically when `UIApplicationDidEnterBackgroundNotification` received. - */ - @objc public func backgroundCleanExpiredDiskCache() { - - func endBackgroundTask(inout task: UIBackgroundTaskIdentifier) { - UIApplication.sharedApplication().endBackgroundTask(task) - task = UIBackgroundTaskInvalid - } - - var backgroundTask: UIBackgroundTaskIdentifier! - - backgroundTask = UIApplication.sharedApplication().beginBackgroundTaskWithExpirationHandler { () -> Void in - endBackgroundTask(&backgroundTask!) - } - - cleanExpiredDiskCacheWithCompletionHander { () -> () in - endBackgroundTask(&backgroundTask!) - } - } -} - - -// MARK: - Check cache status -public extension ImageCache { - - /** - * Cache result for checking whether an image is cached for a key. - */ - public struct CacheCheckResult { - public let cached: Bool - public let cacheType: CacheType? - } - - /** - Check whether an image is cached for a key. - - - parameter key: Key for the image. - - - returns: The check result. - */ - public func isImageCachedForKey(key: String) -> CacheCheckResult { - - if memoryCache.objectForKey(key) != nil { - return CacheCheckResult(cached: true, cacheType: .Memory) - } - - let filePath = cachePathForKey(key) - - if fileManager.fileExistsAtPath(filePath) { - return CacheCheckResult(cached: true, cacheType: .Disk) - } - - return CacheCheckResult(cached: false, cacheType: nil) - } - - /** - Get the hash for the key. This could be used for matching files. - - - parameter key: The key which is used for caching. - - - returns: Corresponding hash. - */ - public func hashForKey(key: String) -> String { - return cacheFileNameForKey(key) - } - - /** - Calculate the disk size taken by cache. - It is the total allocated size of the cached files in bytes. - - - parameter completionHandler: Called with the calculated size when finishes. - */ - public func calculateDiskCacheSizeWithCompletionHandler(completionHandler: ((size: UInt) -> ())?) { - dispatch_async(ioQueue, { () -> Void in - let diskCacheURL = NSURL(fileURLWithPath: self.diskCachePath) - - let resourceKeys = [NSURLIsDirectoryKey, NSURLTotalFileAllocatedSizeKey] - var diskCacheSize: UInt = 0 - - if let fileEnumerator = self.fileManager.enumeratorAtURL(diskCacheURL, includingPropertiesForKeys: resourceKeys, options: NSDirectoryEnumerationOptions.SkipsHiddenFiles, errorHandler: nil), - urls = fileEnumerator.allObjects as? [NSURL] { - for fileURL in urls { - do { - let resourceValues = try fileURL.resourceValuesForKeys(resourceKeys) - // If it is a Directory. Continue to next file URL. - if let isDirectory = resourceValues[NSURLIsDirectoryKey]?.boolValue { - if isDirectory { - continue - } - } - - if let fileSize = resourceValues[NSURLTotalFileAllocatedSizeKey] as? NSNumber { - diskCacheSize += fileSize.unsignedLongValue - } - } catch _ { - } - - } - } - - dispatch_async(dispatch_get_main_queue(), { () -> Void in - if let completionHandler = completionHandler { - completionHandler(size: diskCacheSize) - } - }) - }) - } -} - -// MARK: - Internal Helper -extension ImageCache { - - func diskImageForKey(key: String, scale: CGFloat) -> UIImage? { - if let data = diskImageDataForKey(key) { - return UIImage.kf_imageWithData(data, scale: scale) - } else { - return nil - } - } - - func diskImageDataForKey(key: String) -> NSData? { - let filePath = cachePathForKey(key) - return NSData(contentsOfFile: filePath) - } - - func cachePathForKey(key: String) -> String { - let fileName = cacheFileNameForKey(key) - return (diskCachePath as NSString).stringByAppendingPathComponent(fileName) - } - - func cacheFileNameForKey(key: String) -> String { - return key.kf_MD5() - } -} - -extension UIImage { - var kf_imageCost: Int { - return images == nil ? - Int(size.height * size.width * scale * scale) : - Int(size.height * size.width * scale * scale) * images!.count - } -} - -extension Dictionary { - func keysSortedByValue(isOrderedBefore: (Value, Value) -> Bool) -> [Key] { - var array = Array(self) - array.sortInPlace { - let (_, lv) = $0 - let (_, rv) = $1 - return isOrderedBefore(lv, rv) - } - return array.map { - let (k, _) = $0 - return k - } - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/ImageDownloader.swift b/Example/Pods/Kingfisher/Kingfisher/ImageDownloader.swift deleted file mode 100644 index ec1c187..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/ImageDownloader.swift +++ /dev/null @@ -1,343 +0,0 @@ -// -// ImageDownloader.swift -// Kingfisher -// -// Created by Wei Wang on 15/4/6. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import UIKit - -/// Progress update block of downloader. -public typealias ImageDownloaderProgressBlock = DownloadProgressBlock - -/// Completion block of downloader. -public typealias ImageDownloaderCompletionHandler = ((image: UIImage?, error: NSError?, imageURL: NSURL?, originalData: NSData?) -> ()) - -/// Download task. -public typealias RetrieveImageDownloadTask = NSURLSessionDataTask - -private let defaultDownloaderName = "default" -private let downloaderBarrierName = "com.onevcat.Kingfisher.ImageDownloader.Barrier." -private let imageProcessQueueName = "com.onevcat.Kingfisher.ImageDownloader.Process." -private let instance = ImageDownloader(name: defaultDownloaderName) - - -/** -The error code. - -- BadData: The downloaded data is not an image or the data is corrupted. -- NotModified: The remote server responsed a 304 code. No image data downloaded. -- InvalidURL: The URL is invalid. -*/ -public enum KingfisherError: Int { - case BadData = 10000 - case NotModified = 10001 - case InvalidURL = 20000 -} - -/// Protocol of `ImageDownloader`. -@objc public protocol ImageDownloaderDelegate { - /** - Called when the `ImageDownloader` object successfully downloaded an image from specified URL. - - - parameter downloader: The `ImageDownloader` object finishes the downloading. - - parameter image: Downloaded image. - - parameter URL: URL of the original request URL. - - parameter response: The response object of the downloading process. - */ - optional func imageDownloader(downloader: ImageDownloader, didDownloadImage image: UIImage, forURL URL: NSURL, withResponse response: NSURLResponse) -} - -/// `ImageDownloader` represents a downloading manager for requesting the image with a URL from server. -public class ImageDownloader: NSObject { - - class ImageFetchLoad { - var callbacks = [CallbackPair]() - var responseData = NSMutableData() - var shouldDecode = false - var scale = KingfisherManager.DefaultOptions.scale - } - - // MARK: - Public property - /// This closure will be applied to the image download request before it being sent. You can modify the request for some customizing purpose, like adding auth token to the header or do a url mapping. - public var requestModifier: (NSMutableURLRequest -> Void)? - - /// The duration before the download is timeout. Default is 15 seconds. - public var downloadTimeout: NSTimeInterval = 15.0 - - /// A set of trusted hosts when receiving server trust challenges. A challenge with host name contained in this set will be ignored. You can use this set to specify the self-signed site. - public var trustedHosts: Set? - - /// Use this to set supply a configuration for the downloader. By default, NSURLSessionConfiguration.ephemeralSessionConfiguration() will be used. You could change the configuration before a downloaing task starts. A configuration without persistent storage for caches is requsted for downloader working correctly. - public var sessionConfiguration = NSURLSessionConfiguration.ephemeralSessionConfiguration() { - didSet { - session = NSURLSession(configuration: sessionConfiguration, delegate: self, delegateQueue: NSOperationQueue.mainQueue()) - } - } - - private var session: NSURLSession? - - /// Delegate of this `ImageDownloader` object. See `ImageDownloaderDelegate` protocol for more. - public weak var delegate: ImageDownloaderDelegate? - - // MARK: - Internal property - let barrierQueue: dispatch_queue_t - let processQueue: dispatch_queue_t - - typealias CallbackPair = (progressBlock: ImageDownloaderProgressBlock?, completionHander: ImageDownloaderCompletionHandler?) - - var fetchLoads = [NSURL: ImageFetchLoad]() - - // MARK: - Public method - /// The default downloader. - public class var defaultDownloader: ImageDownloader { - return instance - } - - /** - Init a downloader with name. - - - parameter name: The name for the downloader. It should not be empty. - - - returns: The downloader object. - */ - public init(name: String) { - if name.isEmpty { - fatalError("[Kingfisher] You should specify a name for the downloader. A downloader with empty name is not permitted.") - } - - barrierQueue = dispatch_queue_create(downloaderBarrierName + name, DISPATCH_QUEUE_CONCURRENT) - processQueue = dispatch_queue_create(imageProcessQueueName + name, DISPATCH_QUEUE_CONCURRENT) - - super.init() - - session = NSURLSession(configuration: sessionConfiguration, delegate: self, delegateQueue: NSOperationQueue.mainQueue()) - } - - func fetchLoadForKey(key: NSURL) -> ImageFetchLoad? { - var fetchLoad: ImageFetchLoad? - dispatch_sync(barrierQueue, { () -> Void in - fetchLoad = self.fetchLoads[key] - }) - return fetchLoad - } -} - -// MARK: - Download method -public extension ImageDownloader { - /** - Download an image with a URL. - - - parameter URL: Target URL. - - parameter progressBlock: Called when the download progress updated. - - parameter completionHandler: Called when the download progress finishes. - */ - public func downloadImageWithURL(URL: NSURL, - progressBlock: ImageDownloaderProgressBlock?, - completionHandler: ImageDownloaderCompletionHandler?) - { - downloadImageWithURL(URL, options: KingfisherManager.DefaultOptions, progressBlock: progressBlock, completionHandler: completionHandler) - } - - /** - Download an image with a URL and option. - - - parameter URL: Target URL. - - parameter options: The options could control download behavior. See `KingfisherManager.Options` - - parameter progressBlock: Called when the download progress updated. - - parameter completionHandler: Called when the download progress finishes. - */ - public func downloadImageWithURL(URL: NSURL, - options: KingfisherManager.Options, - progressBlock: ImageDownloaderProgressBlock?, - completionHandler: ImageDownloaderCompletionHandler?) - { - downloadImageWithURL(URL, - retrieveImageTask: nil, - options: options, - progressBlock: progressBlock, - completionHandler: completionHandler) - } - - internal func downloadImageWithURL(URL: NSURL, - retrieveImageTask: RetrieveImageTask?, - options: KingfisherManager.Options, - progressBlock: ImageDownloaderProgressBlock?, - completionHandler: ImageDownloaderCompletionHandler?) - { - if let retrieveImageTask = retrieveImageTask where retrieveImageTask.cancelled { - return - } - - let timeout = self.downloadTimeout == 0.0 ? 15.0 : self.downloadTimeout - - // We need to set the URL as the load key. So before setup progress, we need to ask the `requestModifier` for a final URL. - let request = NSMutableURLRequest(URL: URL, cachePolicy: .ReloadIgnoringLocalCacheData, timeoutInterval: timeout) - request.HTTPShouldUsePipelining = true - - self.requestModifier?(request) - - // There is a possiblility that request modifier changed the url to `nil` or empty. - if request.URL == nil || request.URL!.absoluteString.isEmpty { - completionHandler?(image: nil, error: NSError(domain: KingfisherErrorDomain, code: KingfisherError.InvalidURL.rawValue, userInfo: nil), imageURL: nil, originalData: nil) - return - } - - setupProgressBlock(progressBlock, completionHandler: completionHandler, forURL: request.URL!) {(session, fetchLoad) -> Void in - let task = session.dataTaskWithRequest(request) - task.priority = options.lowPriority ? NSURLSessionTaskPriorityLow : NSURLSessionTaskPriorityDefault - task.resume() - - fetchLoad.shouldDecode = options.shouldDecode - fetchLoad.scale = options.scale - - retrieveImageTask?.downloadTask = task - } - } - - // A single key may have multiple callbacks. Only download once. - internal func setupProgressBlock(progressBlock: ImageDownloaderProgressBlock?, completionHandler: ImageDownloaderCompletionHandler?, forURL URL: NSURL, started: ((NSURLSession, ImageFetchLoad) -> Void)) { - - dispatch_barrier_sync(barrierQueue, { () -> Void in - - var create = false - var loadObjectForURL = self.fetchLoads[URL] - if loadObjectForURL == nil { - create = true - loadObjectForURL = ImageFetchLoad() - } - - let callbackPair = (progressBlock: progressBlock, completionHander: completionHandler) - loadObjectForURL!.callbacks.append(callbackPair) - self.fetchLoads[URL] = loadObjectForURL! - - if let session = self.session where create { - started(session, loadObjectForURL!) - } - }) - } - - func cleanForURL(URL: NSURL) { - dispatch_barrier_sync(barrierQueue, { () -> Void in - self.fetchLoads.removeValueForKey(URL) - return - }) - } -} - -// MARK: - NSURLSessionTaskDelegate -extension ImageDownloader: NSURLSessionDataDelegate { - /** - This method is exposed since the compiler requests. Do not call it. - */ - public func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveResponse response: NSURLResponse, completionHandler: (NSURLSessionResponseDisposition) -> Void) { - - completionHandler(NSURLSessionResponseDisposition.Allow) - } - - /** - This method is exposed since the compiler requests. Do not call it. - */ - public func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveData data: NSData) { - - if let URL = dataTask.originalRequest?.URL, fetchLoad = fetchLoadForKey(URL) { - fetchLoad.responseData.appendData(data) - - for callbackPair in fetchLoad.callbacks { - callbackPair.progressBlock?(receivedSize: Int64(fetchLoad.responseData.length), totalSize: dataTask.response!.expectedContentLength) - } - } - } - - /** - This method is exposed since the compiler requests. Do not call it. - */ - public func URLSession(session: NSURLSession, task: NSURLSessionTask, didCompleteWithError error: NSError?) { - - if let URL = task.originalRequest?.URL { - if let error = error { // Error happened - callbackWithImage(nil, error: error, imageURL: URL, originalData: nil) - } else { //Download finished without error - processImageForTask(task, URL: URL) - } - } - } - - /** - This method is exposed since the compiler requests. Do not call it. - */ - public func URLSession(session: NSURLSession, didReceiveChallenge challenge: NSURLAuthenticationChallenge, completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) { - - if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust { - if let trustedHosts = trustedHosts where trustedHosts.contains(challenge.protectionSpace.host) { - let credential = NSURLCredential(forTrust: challenge.protectionSpace.serverTrust!) - completionHandler(.UseCredential, credential) - return - } - } - - completionHandler(.PerformDefaultHandling, nil) - } - - private func callbackWithImage(image: UIImage?, error: NSError?, imageURL: NSURL, originalData: NSData?) { - if let callbackPairs = fetchLoadForKey(imageURL)?.callbacks { - - self.cleanForURL(imageURL) - - for callbackPair in callbackPairs { - callbackPair.completionHander?(image: image, error: error, imageURL: imageURL, originalData: originalData) - } - } - } - - private func processImageForTask(task: NSURLSessionTask, URL: NSURL) { - // We are on main queue when receiving this. - dispatch_async(processQueue, { () -> Void in - - if let fetchLoad = self.fetchLoadForKey(URL) { - - if let image = UIImage.kf_imageWithData(fetchLoad.responseData, scale: fetchLoad.scale) { - - self.delegate?.imageDownloader?(self, didDownloadImage: image, forURL: URL, withResponse: task.response!) - - if fetchLoad.shouldDecode { - self.callbackWithImage(image.kf_decodedImage(scale: fetchLoad.scale), error: nil, imageURL: URL, originalData: fetchLoad.responseData) - } else { - self.callbackWithImage(image, error: nil, imageURL: URL, originalData: fetchLoad.responseData) - } - - } else { - // If server response is 304 (Not Modified), inform the callback handler with NotModified error. - // It should be handled to get an image from cache, which is response of a manager object. - if let res = task.response as? NSHTTPURLResponse where res.statusCode == 304 { - self.callbackWithImage(nil, error: NSError(domain: KingfisherErrorDomain, code: KingfisherError.NotModified.rawValue, userInfo: nil), imageURL: URL, originalData: nil) - return - } - - self.callbackWithImage(nil, error: NSError(domain: KingfisherErrorDomain, code: KingfisherError.BadData.rawValue, userInfo: nil), imageURL: URL, originalData: nil) - } - } else { - self.callbackWithImage(nil, error: NSError(domain: KingfisherErrorDomain, code: KingfisherError.BadData.rawValue, userInfo: nil), imageURL: URL, originalData: nil) - } - }) - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/ImageTransition.swift b/Example/Pods/Kingfisher/Kingfisher/ImageTransition.swift deleted file mode 100644 index d7d9b41..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/ImageTransition.swift +++ /dev/null @@ -1,101 +0,0 @@ -// -// ImageTransition.swift -// Kingfisher -// -// Created by Wei Wang on 15/9/18. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import UIKit - -/** -Transition effect to use when an image downloaded and set by `UIImageView` extension API in Kingfisher. -You can assign an enum value with transition duration as an item in `KingfisherOptionsInfo` -to enable the animation transition. - -Apple's UIViewAnimationOptions is used under the hood. -For custom transition, you should specified your own transition options, animations and -comletion handler as well. - -- None: No animation transistion. -- Fade: Fade in the loaded image. -- FlipFromLeft: Flip from left transition. -- FlipFromRight: Flip from right transition. -- FlipFromTop: Flip from top transition. -- FlipFromBottom: Flip from bottom transition. -- Custom: Custom transition. -*/ -public enum ImageTransition { - case None - case Fade(NSTimeInterval) - - case FlipFromLeft(NSTimeInterval) - case FlipFromRight(NSTimeInterval) - case FlipFromTop(NSTimeInterval) - case FlipFromBottom(NSTimeInterval) - - case Custom(duration: NSTimeInterval, - options: UIViewAnimationOptions, - animations: ((UIImageView, UIImage) -> Void)?, - completion: ((Bool) -> Void)?) - - var duration: NSTimeInterval { - switch self { - case .None: return 0 - case .Fade(let duration): return duration - - case .FlipFromLeft(let duration): return duration - case .FlipFromRight(let duration): return duration - case .FlipFromTop(let duration): return duration - case .FlipFromBottom(let duration): return duration - - case .Custom(let duration, _, _, _): return duration - } - } - - var animationOptions: UIViewAnimationOptions { - switch self { - case .None: return .TransitionNone - case .Fade(_): return .TransitionCrossDissolve - - case .FlipFromLeft(_): return .TransitionFlipFromLeft - case .FlipFromRight(_): return .TransitionFlipFromRight - case .FlipFromTop(_): return .TransitionFlipFromTop - case .FlipFromBottom(_): return .TransitionFlipFromBottom - - case .Custom(_, let options, _, _): return options - } - } - - var animations: ((UIImageView, UIImage) -> Void)? { - switch self { - case .Custom(_, _, let animations, _): return animations - default: return {$0.image = $1} - } - } - - var completion: ((Bool) -> Void)? { - switch self { - case .Custom(_, _, _, let completion): return completion - default: return nil - } - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/Kingfisher.h b/Example/Pods/Kingfisher/Kingfisher/Kingfisher.h deleted file mode 100644 index 8e85128..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/Kingfisher.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// Kingfisher.h -// Kingfisher -// -// Created by Wei Wang on 15/4/6. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -#import - -//! Project version number for Kingfisher. -FOUNDATION_EXPORT double KingfisherVersionNumber; - -//! Project version string for Kingfisher. -FOUNDATION_EXPORT const unsigned char KingfisherVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/Example/Pods/Kingfisher/Kingfisher/KingfisherManager.swift b/Example/Pods/Kingfisher/Kingfisher/KingfisherManager.swift deleted file mode 100644 index b654e1d..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/KingfisherManager.swift +++ /dev/null @@ -1,285 +0,0 @@ -// -// KingfisherManager.swift -// Kingfisher -// -// Created by Wei Wang on 15/4/6. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import UIKit - -public typealias DownloadProgressBlock = ((receivedSize: Int64, totalSize: Int64) -> ()) -public typealias CompletionHandler = ((image: UIImage?, error: NSError?, cacheType: CacheType, imageURL: NSURL?) -> ()) - -/// RetrieveImageTask represents a task of image retrieving process. -/// It contains an async task of getting image from disk and from network. -public class RetrieveImageTask { - - // If task is canceled before the download task started (which means the `downloadTask` is nil), - // the download task should not begin. - var cancelled: Bool = false - - var diskRetrieveTask: RetrieveImageDiskTask? - var downloadTask: RetrieveImageDownloadTask? - - /** - Cancel current task. If this task does not begin or already done, do nothing. - */ - public func cancel() { - // From Xcode 7 beta 6, the `dispatch_block_cancel` will crash at runtime. - // It fixed in Xcode 7.1. - // See https://github.com/onevcat/Kingfisher/issues/99 for more. - if let diskRetrieveTask = diskRetrieveTask { - dispatch_block_cancel(diskRetrieveTask) - } - - if let downloadTask = downloadTask { - downloadTask.cancel() - } - - cancelled = true - } -} - -/// Error domain of Kingfisher -public let KingfisherErrorDomain = "com.onevcat.Kingfisher.Error" - -private let instance = KingfisherManager() - -/// Main manager class of Kingfisher. It connects Kingfisher downloader and cache. -/// You can use this class to retrieve an image via a specified URL from web or cache. -public class KingfisherManager { - - /// Options to control some downloader and cache behaviors. - public typealias Options = (forceRefresh: Bool, lowPriority: Bool, cacheMemoryOnly: Bool, shouldDecode: Bool, queue: dispatch_queue_t!, scale: CGFloat) - - /// A preset option tuple with all value set to `false`. - public static let OptionsNone: Options = { - return (forceRefresh: false, lowPriority: false, cacheMemoryOnly: false, shouldDecode: false, queue: dispatch_get_main_queue(), scale: 1.0) - }() - - /// The default set of options to be used by the manager to control some downloader and cache behaviors. - public static var DefaultOptions: Options = OptionsNone - - /// Shared manager used by the extensions across Kingfisher. - public class var sharedManager: KingfisherManager { - return instance - } - - /// Cache used by this manager - public var cache: ImageCache - - /// Downloader used by this manager - public var downloader: ImageDownloader - - /** - Default init method - - - returns: A Kingfisher manager object with default cache and default downloader. - */ - public init() { - cache = ImageCache.defaultCache - downloader = ImageDownloader.defaultDownloader - } - - /** - Get an image with resource. - If KingfisherOptions.None is used as `options`, Kingfisher will seek the image in memory and disk first. - If not found, it will download the image at `resource.downloadURL` and cache it with `resource.cacheKey`. - These default behaviors could be adjusted by passing different options. See `KingfisherOptions` for more. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter progressBlock: Called every time downloaded data changed. This could be used as a progress UI. - - parameter completionHandler: Called when the whole retrieving process finished. - - - returns: A `RetrieveImageTask` task object. You can use this object to cancel the task. - */ - public func retrieveImageWithResource(resource: Resource, - optionsInfo: KingfisherOptionsInfo?, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - let task = RetrieveImageTask() - - // There is a bug in Swift compiler which prevents to write `let (options, targetCache) = parseOptionsInfo(optionsInfo)` - // It will cause a compiler error. - let parsedOptions = parseOptionsInfo(optionsInfo) - let (options, targetCache, downloader) = (parsedOptions.0, parsedOptions.1, parsedOptions.2) - - if options.forceRefresh { - downloadAndCacheImageWithURL(resource.downloadURL, - forKey: resource.cacheKey, - retrieveImageTask: task, - progressBlock: progressBlock, - completionHandler: completionHandler, - options: options, - targetCache: targetCache, - downloader: downloader) - } else { - tryToRetrieveImageFromCacheForKey(resource.cacheKey, - withURL: resource.downloadURL, - retrieveImageTask: task, - progressBlock: progressBlock, - completionHandler: completionHandler, - options: options, - targetCache: targetCache, - downloader: downloader) - } - - return task - } - - /** - Get an image with `URL.absoluteString` as the key. - If KingfisherOptions.None is used as `options`, Kingfisher will seek the image in memory and disk first. - If not found, it will download the image at URL and cache it with `URL.absoluteString` value as its key. - - If you need to specify the key other than `URL.absoluteString`, please use resource version of this API with `resource.cacheKey` set to what you want. - - These default behaviors could be adjusted by passing different options. See `KingfisherOptions` for more. - - - parameter URL: The image URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter progressBlock: Called every time downloaded data changed. This could be used as a progress UI. - - parameter completionHandler: Called when the whole retrieving process finished. - - - returns: A `RetrieveImageTask` task object. You can use this object to cancel the task. - */ - public func retrieveImageWithURL(URL: NSURL, - optionsInfo: KingfisherOptionsInfo?, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return retrieveImageWithResource(Resource(downloadURL: URL), optionsInfo: optionsInfo, progressBlock: progressBlock, completionHandler: completionHandler) - } - - func downloadAndCacheImageWithURL(URL: NSURL, - forKey key: String, - retrieveImageTask: RetrieveImageTask, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?, - options: Options, - targetCache: ImageCache, - downloader: ImageDownloader) - { - downloader.downloadImageWithURL(URL, retrieveImageTask: retrieveImageTask, options: options, - progressBlock: { receivedSize, totalSize in - progressBlock?(receivedSize: receivedSize, totalSize: totalSize) - }, - completionHandler: { image, error, imageURL, originalData in - - if let error = error where error.code == KingfisherError.NotModified.rawValue { - // Not modified. Try to find the image from cache. - // (The image should be in cache. It should be guaranteed by the framework users.) - targetCache.retrieveImageForKey(key, options: options, completionHandler: { (cacheImage, cacheType) -> () in - completionHandler?(image: cacheImage, error: nil, cacheType: cacheType, imageURL: URL) - - }) - return - } - - if let image = image, originalData = originalData { - targetCache.storeImage(image, originalData: originalData, forKey: key, toDisk: !options.cacheMemoryOnly, completionHandler: nil) - } - - completionHandler?(image: image, error: error, cacheType: .None, imageURL: URL) - } - ) - } - - func tryToRetrieveImageFromCacheForKey(key: String, - withURL URL: NSURL, - retrieveImageTask: RetrieveImageTask, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?, - options: Options, - targetCache: ImageCache, - downloader: ImageDownloader) - { - let diskTaskCompletionHandler: CompletionHandler = { (image, error, cacheType, imageURL) -> () in - // Break retain cycle created inside diskTask closure below - retrieveImageTask.diskRetrieveTask = nil - completionHandler?(image: image, error: error, cacheType: cacheType, imageURL: imageURL) - } - let diskTask = targetCache.retrieveImageForKey(key, options: options, - completionHandler: { image, cacheType in - if image != nil { - diskTaskCompletionHandler(image: image, error: nil, cacheType:cacheType, imageURL: URL) - } else { - self.downloadAndCacheImageWithURL(URL, - forKey: key, - retrieveImageTask: retrieveImageTask, - progressBlock: progressBlock, - completionHandler: diskTaskCompletionHandler, - options: options, - targetCache: targetCache, - downloader: downloader) - } - } - ) - retrieveImageTask.diskRetrieveTask = diskTask - } - - func parseOptionsInfo(optionsInfo: KingfisherOptionsInfo?) -> (Options, ImageCache, ImageDownloader) { - var options = KingfisherManager.DefaultOptions - var targetCache = self.cache - var targetDownloader = self.downloader - - guard let optionsInfo = optionsInfo else { - return (options, targetCache, targetDownloader) - } - - if let optionsItem = optionsInfo.kf_firstMatchIgnoringAssociatedValue(.Options(.None)), case .Options(let optionsInOptionsInfo) = optionsItem { - - let queue = optionsInOptionsInfo.contains(KingfisherOptions.BackgroundCallback) ? dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0) : KingfisherManager.DefaultOptions.queue - let scale = optionsInOptionsInfo.contains(KingfisherOptions.ScreenScale) ? UIScreen.mainScreen().scale : KingfisherManager.DefaultOptions.scale - - options = (forceRefresh: optionsInOptionsInfo.contains(KingfisherOptions.ForceRefresh), - lowPriority: optionsInOptionsInfo.contains(KingfisherOptions.LowPriority), - cacheMemoryOnly: optionsInOptionsInfo.contains(KingfisherOptions.CacheMemoryOnly), - shouldDecode: optionsInOptionsInfo.contains(KingfisherOptions.BackgroundDecode), - queue: queue, scale: scale) - } - - if let optionsItem = optionsInfo.kf_firstMatchIgnoringAssociatedValue(.TargetCache(self.cache)), case .TargetCache(let cache) = optionsItem { - targetCache = cache - } - - if let optionsItem = optionsInfo.kf_firstMatchIgnoringAssociatedValue(.Downloader(self.downloader)), case .Downloader(let downloader) = optionsItem { - targetDownloader = downloader - } - - return (options, targetCache, targetDownloader) - } -} - -// MARK: - Deprecated -public extension KingfisherManager { - @available(*, deprecated=1.2, message="Use -retrieveImageWithURL:optionsInfo:progressBlock:completionHandler: instead.") - public func retrieveImageWithURL(URL: NSURL, - options: KingfisherOptions, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return retrieveImageWithURL(URL, optionsInfo: [.Options(options)], progressBlock: progressBlock, completionHandler: completionHandler) - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/KingfisherOptions.swift b/Example/Pods/Kingfisher/Kingfisher/KingfisherOptions.swift deleted file mode 100644 index 23215b0..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/KingfisherOptions.swift +++ /dev/null @@ -1,60 +0,0 @@ -// -// KingfisherOptions.swift -// Kingfisher -// -// Created by Wei Wang on 15/4/6. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import Foundation - -/** -* Options to control Kingfisher behaviors. -*/ -public struct KingfisherOptions: OptionSetType { - - public let rawValue: UInt - - public init(rawValue: UInt) { - self.rawValue = rawValue - } - - /// None options. Kingfisher will keep its default behavior. - public static let None = KingfisherOptions(rawValue: 0) - - /// Download in a low priority. - public static let LowPriority = KingfisherOptions(rawValue: 1 << 0) - - /// Try to send request to server first. If response code is 304 (Not Modified), use the cached image. Otherwise, download the image and cache it again. - public static var ForceRefresh = KingfisherOptions(rawValue: 1 << 1) - - /// Only cache downloaded image to memory, not cache in disk. - public static var CacheMemoryOnly = KingfisherOptions(rawValue: 1 << 2) - - /// Decode the image in background thread before using. - public static var BackgroundDecode = KingfisherOptions(rawValue: 1 << 3) - - /// If set it will dispatch callbacks asynchronously to the global queue DISPATCH_QUEUE_PRIORITY_DEFAULT. Otherwise it will use the queue defined at KingfisherManager.DefaultOptions.queue - public static var BackgroundCallback = KingfisherOptions(rawValue: 1 << 4) - - /// Decode the image using the same scale as the main screen. Otherwise it will use the same scale as defined on the KingfisherManager.DefaultOptions.scale. - public static var ScreenScale = KingfisherOptions(rawValue: 1 << 5) -} diff --git a/Example/Pods/Kingfisher/Kingfisher/KingfisherOptionsInfo.swift b/Example/Pods/Kingfisher/Kingfisher/KingfisherOptionsInfo.swift deleted file mode 100644 index c39e07b..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/KingfisherOptionsInfo.swift +++ /dev/null @@ -1,76 +0,0 @@ -// -// KingfisherOptionsInfo.swift -// Kingfisher -// -// Created by Wei Wang on 15/4/23. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import Foundation - -/** -* KingfisherOptionsInfo is a typealias for [KingfisherOptionsInfoItem]. You can use the enum of option item with value to control some behaviors of Kingfisher. -*/ -public typealias KingfisherOptionsInfo = [KingfisherOptionsInfoItem] - -/** -Item could be added into KingfisherOptionsInfo - -- Options: Item for options. The value of this item should be a KingfisherOptions. -- TargetCache: Item for target cache. The value of this item should be an ImageCache object. Kingfisher will use this cache when handling the related operation, including trying to retrieve the cached images and store the downloaded image to it. -- Downloader: Item for downloader to use. The value of this item should be an ImageDownloader object. Kingfisher will use this downloader to download the images. -- Transition: Item for animation transition when using UIImageView. Kingfisher will use the `ImageTransition` of this enum to animate the image in if it is downloaded from web. The transition will not happen when the image is retrieved from either memory or disk cache. -*/ -public enum KingfisherOptionsInfoItem { - case Options(KingfisherOptions) - case TargetCache(ImageCache) - case Downloader(ImageDownloader) - case Transition(ImageTransition) -} - -infix operator <== { - associativity none - precedence 160 -} - -// This operator returns true if two `KingfisherOptionsInfoItem` enum is the same, without considering the associated values. -func <== (lhs: KingfisherOptionsInfoItem, rhs: KingfisherOptionsInfoItem) -> Bool { - switch (lhs, rhs) { - case (.Options(_), .Options(_)): return true - case (.TargetCache(_), .TargetCache(_)): return true - case (.Downloader(_), .Downloader(_)): return true - case (.Transition(_), .Transition(_)): return true - default: return false - } -} - -extension CollectionType where Generator.Element == KingfisherOptionsInfoItem { - - func kf_firstMatchIgnoringAssociatedValue(target: Generator.Element) -> Generator.Element? { - - let index = indexOf { - item in - return item <== target - } - - return (index != nil) ? self[index!] : nil - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/Resource.swift b/Example/Pods/Kingfisher/Kingfisher/Resource.swift deleted file mode 100644 index caf2c77..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/Resource.swift +++ /dev/null @@ -1,37 +0,0 @@ -// -// Resource.swift -// Kingfisher -// -// Created by Wei Wang on 15/4/6. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import Foundation - -public struct Resource { - public let cacheKey: String - public let downloadURL: NSURL - - public init(downloadURL: NSURL, cacheKey: String? = nil) { - self.downloadURL = downloadURL - self.cacheKey = cacheKey ?? downloadURL.absoluteString - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/String+MD5.swift b/Example/Pods/Kingfisher/Kingfisher/String+MD5.swift deleted file mode 100644 index 82c3e87..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/String+MD5.swift +++ /dev/null @@ -1,221 +0,0 @@ -// -// String+MD5.swift -// Kingfisher -// -// This file is stolen from HanekeSwift: https://github.com/Haneke/HanekeSwift/blob/master/Haneke/CryptoSwiftMD5.swift -// which is a modified version of CryptoSwift: -// -// To date, adding CommonCrypto to a Swift framework is problematic. See: -// http://stackoverflow.com/questions/25248598/importing-commoncrypto-in-a-swift-framework -// We're using a subset of CryptoSwift as a (temporary?) alternative. -// The following is an altered source version that only includes MD5. The original software can be found at: -// https://github.com/krzyzanowskim/CryptoSwift -// This is the original copyright notice: - -/* -Copyright (C) 2014 Marcin Krzyżanowski -This software is provided 'as-is', without any express or implied warranty. -In no event will the authors be held liable for any damages arising from the use of this software. -Permission is granted to anyone to use this software for any purpose,including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: -- The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation is required. -- Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. -- This notice may not be removed or altered from any source or binary distribution. -*/ - -import Foundation - -extension String { - func kf_MD5() -> String { - if let data = dataUsingEncoding(NSUTF8StringEncoding) { - let MD5Calculator = MD5(data) - let MD5Data = MD5Calculator.calculate() - let resultBytes = UnsafeMutablePointer(MD5Data.bytes) - let resultEnumerator = UnsafeBufferPointer(start: resultBytes, count: MD5Data.length) - var MD5String = "" - for c in resultEnumerator { - MD5String += String(format: "%02x", c) - } - return MD5String - } else { - return self - } - } -} - -/** array of bytes, little-endian representation */ -func arrayOfBytes(value: T, length: Int? = nil) -> [UInt8] { - let totalBytes = length ?? (sizeofValue(value) * 8) - - let valuePointer = UnsafeMutablePointer.alloc(1) - valuePointer.memory = value - - let bytesPointer = UnsafeMutablePointer(valuePointer) - var bytes = [UInt8](count: totalBytes, repeatedValue: 0) - for j in 0.. [UInt8] { - return arrayOfBytes(self, length: totalBytes) - } - -} - -extension NSMutableData { - - /** Convenient way to append bytes */ - func appendBytes(arrayOfBytes: [UInt8]) { - appendBytes(arrayOfBytes, length: arrayOfBytes.count) - } - -} - -class HashBase { - - var message: NSData - - init(_ message: NSData) { - self.message = message - } - - /** Common part for hash calculation. Prepare header data. */ - func prepare(len: Int = 64) -> NSMutableData { - let tmpMessage: NSMutableData = NSMutableData(data: self.message) - - // Step 1. Append Padding Bits - tmpMessage.appendBytes([0x80]) // append one bit (UInt8 with one bit) to message - - // append "0" bit until message length in bits ≡ 448 (mod 512) - var msgLength = tmpMessage.length - var counter = 0 - while msgLength % len != (len - 8) { - counter++ - msgLength++ - } - let bufZeros = UnsafeMutablePointer(calloc(counter, sizeof(UInt8))) - tmpMessage.appendBytes(bufZeros, length: counter) - - bufZeros.destroy() - bufZeros.dealloc(1) - - return tmpMessage - } -} - -func rotateLeft(value: UInt32, bits: UInt32) -> UInt32 { - return ((value << bits) & 0xFFFFFFFF) | (value >> (32 - bits)) -} - -class MD5: HashBase { - - /** specifies the per-round shift amounts */ - private let shifts: [UInt32] = [7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, - 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, - 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, - 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21] - - /** binary integer part of the sines of integers (Radians) */ - private let sines: [UInt32] = [0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, - 0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501, - 0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be, - 0x6b901122, 0xfd987193, 0xa679438e, 0x49b40821, - 0xf61e2562, 0xc040b340, 0x265e5a51, 0xe9b6c7aa, - 0xd62f105d, 0x02441453, 0xd8a1e681, 0xe7d3fbc8, - 0x21e1cde6, 0xc33707d6, 0xf4d50d87, 0x455a14ed, - 0xa9e3e905, 0xfcefa3f8, 0x676f02d9, 0x8d2a4c8a, - 0xfffa3942, 0x8771f681, 0x6d9d6122, 0xfde5380c, - 0xa4beea44, 0x4bdecfa9, 0xf6bb4b60, 0xbebfbc70, - 0x289b7ec6, 0xeaa127fa, 0xd4ef3085, 0x4881d05, - 0xd9d4d039, 0xe6db99e5, 0x1fa27cf8, 0xc4ac5665, - 0xf4292244, 0x432aff97, 0xab9423a7, 0xfc93a039, - 0x655b59c3, 0x8f0ccc92, 0xffeff47d, 0x85845dd1, - 0x6fa87e4f, 0xfe2ce6e0, 0xa3014314, 0x4e0811a1, - 0xf7537e82, 0xbd3af235, 0x2ad7d2bb, 0xeb86d391] - - private let hashs: [UInt32] = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476] - - func calculate() -> NSData { - let tmpMessage = prepare() - - // hash values - var hh = hashs - - // Step 2. Append Length a 64-bit representation of lengthInBits - let lengthInBits = (message.length * 8) - let lengthBytes = lengthInBits.bytes(64 / 8) - tmpMessage.appendBytes(Array(lengthBytes.reverse())) - - // Process the message in successive 512-bit chunks: - let chunkSizeBytes = 512 / 8 // 64 - var leftMessageBytes = tmpMessage.length - for (var i = 0; i < tmpMessage.length; i = i + chunkSizeBytes, leftMessageBytes -= chunkSizeBytes) { - let chunk = tmpMessage.subdataWithRange(NSRange(location: i, length: min(chunkSizeBytes, leftMessageBytes))) - - // break chunk into sixteen 32-bit words M[j], 0 ≤ j ≤ 15 - var M: [UInt32] = [UInt32](count: 16, repeatedValue: 0) - let range = NSRange(location:0, length: M.count * sizeof(UInt32)) - chunk.getBytes(UnsafeMutablePointer(M), range: range) - - // Initialize hash value for this chunk: - var A: UInt32 = hh[0] - var B: UInt32 = hh[1] - var C: UInt32 = hh[2] - var D: UInt32 = hh[3] - - var dTemp: UInt32 = 0 - - // Main loop - for j in 0 ..< sines.count { - var g = 0 - var F: UInt32 = 0 - - switch j { - case 0...15: - F = (B & C) | ((~B) & D) - g = j - break - case 16...31: - F = (D & B) | (~D & C) - g = (5 * j + 1) % 16 - break - case 32...47: - F = B ^ C ^ D - g = (3 * j + 5) % 16 - break - case 48...63: - F = C ^ (B | (~D)) - g = (7 * j) % 16 - break - default: - break - } - dTemp = D - D = C - C = B - B = B &+ rotateLeft((A &+ F &+ sines[j] &+ M[g]), bits: shifts[j]) - A = dTemp - } - - hh[0] = hh[0] &+ A - hh[1] = hh[1] &+ B - hh[2] = hh[2] &+ C - hh[3] = hh[3] &+ D - } - - let buf: NSMutableData = NSMutableData() - hh.forEach({ (item) -> () in - var i: UInt32 = item.littleEndian - buf.appendBytes(&i, length: sizeofValue(i)) - }) - - return NSData(data: buf) - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/ThreadHelper.swift b/Example/Pods/Kingfisher/Kingfisher/ThreadHelper.swift deleted file mode 100644 index 95c7c81..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/ThreadHelper.swift +++ /dev/null @@ -1,37 +0,0 @@ -// -// ThreadHelper.swift -// Kingfisher -// -// Created by Wei Wang on 15/10/9. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import Foundation - -func dispatch_async_safely_main_queue(block: ()->()) { - if NSThread.isMainThread() { - block() - } else { - dispatch_async(dispatch_get_main_queue()) { - block() - } - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/UIButton+Kingfisher.swift b/Example/Pods/Kingfisher/Kingfisher/UIButton+Kingfisher.swift deleted file mode 100644 index 219f1ba..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/UIButton+Kingfisher.swift +++ /dev/null @@ -1,592 +0,0 @@ -// -// UIButton+Kingfisher.swift -// Kingfisher -// -// Created by Wei Wang on 15/4/13. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import UIKit - -/** -* Set image to use from web for a specified state. -*/ -public extension UIButton { - - /** - Set an image to use for a specified state with a resource. - It will ask for Kingfisher's manager to get the image for the `cacheKey` property in `resource` and then set it for a button state. - The memory and disk will be searched first. If the manager does not find it, it will try to download the image at the `resource.downloadURL` and store it with `resource.cacheKey` for next use. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource, - forState state: UIControlState) -> RetrieveImageTask - { - return kf_setImageWithResource(resource, forState: state, placeholderImage: nil, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image to use for a specified state with a URL. - It will ask for Kingfisher's manager to get the image for the URL and then set it for a button state. - The memory and disk will be searched first with `URL.absoluteString` as the cache key. If the manager does not find it, it will try to download the image at this URL and store the image with `URL.absoluteString` as cache key for next use. - - If you need to specify the key other than `URL.absoluteString`, please use resource version of these APIs with `resource.cacheKey` set to what you want. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithURL(URL: NSURL, - forState state: UIControlState) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, forState: state, placeholderImage: nil, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image to use for a specified state with a resource and a placeholder image. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource, - forState state: UIControlState, - placeholderImage: UIImage?) -> RetrieveImageTask - { - return kf_setImageWithResource(resource, forState: state, placeholderImage: placeholderImage, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image to use for a specified state with a URL and a placeholder image. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image to use for a specified state with a resource, a placeholder image and options. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?) -> RetrieveImageTask - { - return kf_setImageWithResource(resource, forState: state, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image to use for a specified state with a URL, a placeholder image and options. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image to use for a specified state with a resource, a placeholder image, options and completion handler. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithResource(resource, forState: state, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: completionHandler) - } - - /** - Set an image to use for a specified state with a URL, a placeholder image, options and completion handler. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: completionHandler) - } - - - /** - Set an image to use for a specified state with a resource, a placeholder image, options, progress handler and completion handler. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter progressBlock: Called when the image downloading progress gets updated. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - setImage(placeholderImage, forState: state) - kf_setWebURL(resource.downloadURL, forState: state) - let task = KingfisherManager.sharedManager.retrieveImageWithResource(resource, optionsInfo: optionsInfo, - progressBlock: { receivedSize, totalSize in - if let progressBlock = progressBlock { - dispatch_async(dispatch_get_main_queue(), { () -> Void in - progressBlock(receivedSize: receivedSize, totalSize: totalSize) - }) - } - }, - completionHandler: {[weak self] image, error, cacheType, imageURL in - - dispatch_async_safely_main_queue { - if let sSelf = self { - if imageURL == sSelf.kf_webURLForState(state) && image != nil { - sSelf.setImage(image, forState: state) - } - completionHandler?(image: image, error: error, cacheType: cacheType, imageURL: imageURL) - } - } - } - ) - return task - } - - /** - Set an image to use for a specified state with a URL, a placeholder image, options, progress handler and completion handler. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter progressBlock: Called when the image downloading progress gets updated. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithResource(Resource(downloadURL: URL), - forState: state, - placeholderImage: placeholderImage, - optionsInfo: optionsInfo, - progressBlock: progressBlock, - completionHandler: completionHandler) - } -} - -private var lastURLKey: Void? -public extension UIButton { - /** - Get the image URL binded to this button for a specified state. - - - parameter state: The state that uses the specified image. - - - returns: Current URL for image. - */ - public func kf_webURLForState(state: UIControlState) -> NSURL? { - return kf_webURLs[NSNumber(unsignedLong:state.rawValue)] as? NSURL - } - - private func kf_setWebURL(URL: NSURL, forState state: UIControlState) { - kf_webURLs[NSNumber(unsignedLong:state.rawValue)] = URL - } - - private var kf_webURLs: NSMutableDictionary { - var dictionary = objc_getAssociatedObject(self, &lastURLKey) as? NSMutableDictionary - if dictionary == nil { - dictionary = NSMutableDictionary() - kf_setWebURLs(dictionary!) - } - return dictionary! - } - - private func kf_setWebURLs(URLs: NSMutableDictionary) { - objc_setAssociatedObject(self, &lastURLKey, URLs, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) - } -} - -/** -* Set background image to use from web for a specified state. -*/ -public extension UIButton { - /** - Set the background image to use for a specified state with a resource. - It will ask for Kingfisher's manager to get the image for the `cacheKey` property in `resource` and then set it for a button state. - The memory and disk will be searched first. If the manager does not find it, it will try to download the image at the `resource.downloadURL` and store it with `resource.cacheKey` for next use. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithResource(resource: Resource, - forState state: UIControlState) -> RetrieveImageTask - { - return kf_setBackgroundImageWithResource(resource, forState: state, placeholderImage: nil, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set the background image to use for a specified state with a URL. - It will ask for Kingfisher's manager to get the image for the URL and then set it for a button state. - The memory and disk will be searched first with `URL.absoluteString` as the cache key. If the manager does not find it, it will try to download the image at this URL and store the image with `URL.absoluteString` as cache key for next use. - - If you need to specify the key other than `URL.absoluteString`, please use resource version of these APIs with `resource.cacheKey` set to what you want. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithURL(URL: NSURL, - forState state: UIControlState) -> RetrieveImageTask - { - return kf_setBackgroundImageWithURL(URL, forState: state, placeholderImage: nil, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set the background image to use for a specified state with a resource and a placeholder image. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithResource(resource: Resource, - forState state: UIControlState, - placeholderImage: UIImage?) -> RetrieveImageTask - { - return kf_setBackgroundImageWithResource(resource, forState: state, placeholderImage: placeholderImage, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set the background image to use for a specified state with a URL and a placeholder image. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?) -> RetrieveImageTask - { - return kf_setBackgroundImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set the background image to use for a specified state with a resource, a placeholder image and options. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithResource(resource: Resource, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?) -> RetrieveImageTask - { - return kf_setBackgroundImageWithResource(resource, forState: state, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: nil) - } - - /** - Set the background image to use for a specified state with a URL, a placeholder image and options. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?) -> RetrieveImageTask - { - return kf_setBackgroundImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: nil) - } - - /** - Set the background image to use for a specified state with a resource, a placeholder image, options and completion handler. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithResource(resource: Resource, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setBackgroundImageWithResource(resource, forState: state, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: completionHandler) - } - - /** - Set the background image to use for a specified state with a URL, a placeholder image, options and completion handler. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setBackgroundImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: completionHandler) - } - - /** - Set the background image to use for a specified state with a resource, - a placeholder image, options progress handler and completion handler. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter progressBlock: Called when the image downloading progress gets updated. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithResource(resource: Resource, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - setBackgroundImage(placeholderImage, forState: state) - kf_setBackgroundWebURL(resource.downloadURL, forState: state) - let task = KingfisherManager.sharedManager.retrieveImageWithResource(resource, optionsInfo: optionsInfo, - progressBlock: { receivedSize, totalSize in - if let progressBlock = progressBlock { - dispatch_async(dispatch_get_main_queue(), { () -> Void in - progressBlock(receivedSize: receivedSize, totalSize: totalSize) - }) - } - }, - completionHandler: { [weak self] image, error, cacheType, imageURL in - dispatch_async_safely_main_queue { - if let sSelf = self { - if imageURL == sSelf.kf_backgroundWebURLForState(state) && image != nil { - sSelf.setBackgroundImage(image, forState: state) - } - completionHandler?(image: image, error: error, cacheType: cacheType, imageURL: imageURL) - } - } - } - ) - return task - } - - /** - Set the background image to use for a specified state with a URL, - a placeholder image, options progress handler and completion handler. - - - parameter URL: The URL of image for specified state. - - parameter state: The state that uses the specified image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter progressBlock: Called when the image downloading progress gets updated. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setBackgroundImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setBackgroundImageWithResource(Resource(downloadURL: URL), - forState: state, - placeholderImage: placeholderImage, - optionsInfo: optionsInfo, - progressBlock: progressBlock, - completionHandler: completionHandler) - } -} - -private var lastBackgroundURLKey: Void? -public extension UIButton { - /** - Get the background image URL binded to this button for a specified state. - - - parameter state: The state that uses the specified background image. - - - returns: Current URL for background image. - */ - public func kf_backgroundWebURLForState(state: UIControlState) -> NSURL? { - return kf_backgroundWebURLs[NSNumber(unsignedLong:state.rawValue)] as? NSURL - } - - private func kf_setBackgroundWebURL(URL: NSURL, forState state: UIControlState) { - kf_backgroundWebURLs[NSNumber(unsignedLong:state.rawValue)] = URL - } - - private var kf_backgroundWebURLs: NSMutableDictionary { - var dictionary = objc_getAssociatedObject(self, &lastBackgroundURLKey) as? NSMutableDictionary - if dictionary == nil { - dictionary = NSMutableDictionary() - kf_setBackgroundWebURLs(dictionary!) - } - return dictionary! - } - - private func kf_setBackgroundWebURLs(URLs: NSMutableDictionary) { - objc_setAssociatedObject(self, &lastBackgroundURLKey, URLs, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) - } -} - -// MARK: - Deprecated -public extension UIButton { - @available(*, deprecated=1.2, message="Use -kf_setImageWithURL:forState:placeholderImage:optionsInfo: instead.") - public func kf_setImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - options: KingfisherOptions) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: [.Options(options)], progressBlock: nil, completionHandler: nil) - } - - @available(*, deprecated=1.2, message="Use -kf_setImageWithURL:forState:placeholderImage:optionsInfo:completionHandler: instead.") - public func kf_setImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - options: KingfisherOptions, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: [.Options(options)], progressBlock: nil, completionHandler: completionHandler) - } - - @available(*, deprecated=1.2, message="Use -kf_setImageWithURL:forState:placeholderImage:optionsInfo:progressBlock:completionHandler: instead.") - public func kf_setImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - options: KingfisherOptions, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: [.Options(options)], progressBlock: progressBlock, completionHandler: completionHandler) - } - - @available(*, deprecated=1.2, message="Use -kf_setBackgroundImageWithURL:forState:placeholderImage:optionsInfo: instead.") - public func kf_setBackgroundImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - options: KingfisherOptions) -> RetrieveImageTask - { - return kf_setBackgroundImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: [.Options(options)], progressBlock: nil, completionHandler: nil) - } - - @available(*, deprecated=1.2, message="Use -kf_setBackgroundImageWithURL:forState:placeholderImage:optionsInfo:completionHandler: instead.") - public func kf_setBackgroundImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - options: KingfisherOptions, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setBackgroundImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: [.Options(options)], progressBlock: nil, completionHandler: completionHandler) - } - - - @available(*, deprecated=1.2, message="Use -kf_setBackgroundImageWithURL:forState:placeholderImage:optionsInfo:progressBlock:completionHandler: instead.") - public func kf_setBackgroundImageWithURL(URL: NSURL, - forState state: UIControlState, - placeholderImage: UIImage?, - options: KingfisherOptions, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setBackgroundImageWithURL(URL, forState: state, placeholderImage: placeholderImage, optionsInfo: [.Options(options)], progressBlock: progressBlock, completionHandler: completionHandler) - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/UIImage+Extension.swift b/Example/Pods/Kingfisher/Kingfisher/UIImage+Extension.swift deleted file mode 100644 index 096fa31..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/UIImage+Extension.swift +++ /dev/null @@ -1,195 +0,0 @@ -// -// UIImage+Decode.swift -// Kingfisher -// -// Created by Wei Wang on 15/4/7. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import UIKit -import ImageIO -import MobileCoreServices - -private let pngHeader: [UInt8] = [0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A] -private let jpgHeaderSOI: [UInt8] = [0xFF, 0xD8] -private let jpgHeaderIF: [UInt8] = [0xFF] -private let gifHeader: [UInt8] = [0x47, 0x49, 0x46] - -// MARK: - Image format -enum ImageFormat { - case Unknown, PNG, JPEG, GIF -} - -extension NSData { - var kf_imageFormat: ImageFormat { - var buffer = [UInt8](count: 8, repeatedValue: 0) - self.getBytes(&buffer, length: 8) - if buffer == pngHeader { - return .PNG - } else if buffer[0] == jpgHeaderSOI[0] && - buffer[1] == jpgHeaderSOI[1] && - buffer[2] == jpgHeaderIF[0] - { - return .JPEG - } else if buffer[0] == gifHeader[0] && - buffer[1] == gifHeader[1] && - buffer[2] == gifHeader[2] - { - return .GIF - } - - return .Unknown - } -} - -// MARK: - Decode -extension UIImage { - func kf_decodedImage() -> UIImage? { - return self.kf_decodedImage(scale: self.scale) - } - - func kf_decodedImage(scale scale: CGFloat) -> UIImage? { - // prevent animated image (GIF) lose it's images - if images != nil { - return self - } - - let imageRef = self.CGImage - let colorSpace = CGColorSpaceCreateDeviceRGB() - let bitmapInfo = CGBitmapInfo(rawValue: CGImageAlphaInfo.PremultipliedLast.rawValue).rawValue - let contextHolder = UnsafeMutablePointer() - let context = CGBitmapContextCreate(contextHolder, CGImageGetWidth(imageRef), CGImageGetHeight(imageRef), 8, 0, colorSpace, bitmapInfo) - if let context = context { - let rect = CGRect(x: 0, y: 0, width: CGImageGetWidth(imageRef), height: CGImageGetHeight(imageRef)) - CGContextDrawImage(context, rect, imageRef) - let decompressedImageRef = CGBitmapContextCreateImage(context) - return UIImage(CGImage: decompressedImageRef!, scale: scale, orientation: self.imageOrientation) - } else { - return nil - } - } -} - -// MARK: - Normalization -extension UIImage { - public func kf_normalizedImage() -> UIImage { - // prevent animated image (GIF) lose it's images - if images != nil { - return self - } - - if imageOrientation == .Up { - return self - } - - UIGraphicsBeginImageContextWithOptions(size, false, scale) - drawInRect(CGRect(origin: CGPointZero, size: size)) - let normalizedImage = UIGraphicsGetImageFromCurrentImageContext() - UIGraphicsEndImageContext() - - return normalizedImage - } -} - -// MARK: - Create images from data -extension UIImage { - static func kf_imageWithData(data: NSData, scale: CGFloat) -> UIImage? { - var image: UIImage? - switch data.kf_imageFormat { - case .JPEG: image = UIImage(data: data, scale: scale) - case .PNG: image = UIImage(data: data, scale: scale) - case .GIF: image = UIImage.kf_animatedImageWithGIFData(gifData: data, scale: scale, duration: 0.0) - case .Unknown: image = nil - } - return image - } -} - -// MARK: - GIF -func UIImageGIFRepresentation(image: UIImage) -> NSData? { - return UIImageGIFRepresentation(image, duration: 0.0, repeatCount: 0) -} - -func UIImageGIFRepresentation(image: UIImage, duration: NSTimeInterval, repeatCount: Int) -> NSData? { - guard let images = image.images else { - return nil - } - - let frameCount = images.count - let gifDuration = duration <= 0.0 ? image.duration / Double(frameCount) : duration / Double(frameCount) - - let frameProperties = [kCGImagePropertyGIFDictionary as String: [kCGImagePropertyGIFDelayTime as String: gifDuration]] - let imageProperties = [kCGImagePropertyGIFDictionary as String: [kCGImagePropertyGIFLoopCount as String: repeatCount]] - - let data = NSMutableData() - - guard let destination = CGImageDestinationCreateWithData(data, kUTTypeGIF, frameCount, nil) else { - return nil - } - CGImageDestinationSetProperties(destination, imageProperties) - - for image in images { - CGImageDestinationAddImage(destination, image.CGImage!, frameProperties) - } - - return CGImageDestinationFinalize(destination) ? NSData(data: data) : nil -} - -extension UIImage { - static func kf_animatedImageWithGIFData(gifData data: NSData) -> UIImage? { - return kf_animatedImageWithGIFData(gifData: data, scale: UIScreen.mainScreen().scale, duration: 0.0) - } - - static func kf_animatedImageWithGIFData(gifData data: NSData, scale: CGFloat, duration: NSTimeInterval) -> UIImage? { - - let options: NSDictionary = [kCGImageSourceShouldCache as String: NSNumber(bool: true), kCGImageSourceTypeIdentifierHint as String: kUTTypeGIF] - guard let imageSource = CGImageSourceCreateWithData(data, options) else { - return nil - } - - let frameCount = CGImageSourceGetCount(imageSource) - var images = [UIImage]() - - var gifDuration = 0.0 - - for i in 0 ..< frameCount { - guard let imageRef = CGImageSourceCreateImageAtIndex(imageSource, i, options) else { - return nil - } - - guard let properties = CGImageSourceCopyPropertiesAtIndex(imageSource, i, nil), - gifInfo = (properties as NSDictionary)[kCGImagePropertyGIFDictionary as String] as? NSDictionary, - frameDuration = (gifInfo[kCGImagePropertyGIFDelayTime as String] as? NSNumber) else - { - return nil - } - - gifDuration += frameDuration.doubleValue - images.append(UIImage(CGImage: imageRef, scale: scale, orientation: .Up)) - } - - if frameCount == 1 { - return images.first - } else { - return UIImage.animatedImageWithImages(images, duration: duration <= 0.0 ? gifDuration : duration) - } - } -} diff --git a/Example/Pods/Kingfisher/Kingfisher/UIImageView+Kingfisher.swift b/Example/Pods/Kingfisher/Kingfisher/UIImageView+Kingfisher.swift deleted file mode 100644 index cad1d99..0000000 --- a/Example/Pods/Kingfisher/Kingfisher/UIImageView+Kingfisher.swift +++ /dev/null @@ -1,361 +0,0 @@ -// -// UIImageView+Kingfisher.swift -// Kingfisher -// -// Created by Wei Wang on 15/4/6. -// -// Copyright (c) 2015 Wei Wang -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import UIKit - -// MARK: - Set Images -/** -* Set image to use from web. -*/ - -public extension UIImageView { - - /** - Set an image with a resource. - It will ask for Kingfisher's manager to get the image for the `cacheKey` property in `resource`. - The memory and disk will be searched first. If the manager does not find it, it will try to download the image at the `resource.downloadURL` and store it with `resource.cacheKey` for next use. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource) -> RetrieveImageTask - { - return kf_setImageWithResource(resource, placeholderImage: nil, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image with a URL. - It will ask for Kingfisher's manager to get the image for the URL. - The memory and disk will be searched first with `URL.absoluteString` as the cache key. If the manager does not find it, it will try to download the image at this URL and store the image with `URL.absoluteString` as cache key for next use. - - If you need to specify the key other than `URL.absoluteString`, please use resource version of these APIs with `resource.cacheKey` set to what you want. - - - parameter URL: The URL of image. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithURL(URL: NSURL) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, placeholderImage: nil, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image with a resource and a placeholder image. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource, - placeholderImage: UIImage?) -> RetrieveImageTask - { - return kf_setImageWithResource(resource, placeholderImage: placeholderImage, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image with a URL and a placeholder image. - - - parameter URL: The URL of image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithURL(URL: NSURL, - placeholderImage: UIImage?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, placeholderImage: placeholderImage, optionsInfo: nil, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image with a resource, a placaholder image and options. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?) -> RetrieveImageTask - { - return kf_setImageWithResource(resource, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image with a URL, a placaholder image and options. - - - parameter URL: The URL of image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithURL(URL: NSURL, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: nil) - } - - /** - Set an image with a resource, a placeholder image, options and completion handler. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithResource(resource, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: completionHandler) - } - - /** - Set an image with a URL, a placeholder image, options and completion handler. - - - parameter URL: The URL of image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithURL(URL: NSURL, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, placeholderImage: placeholderImage, optionsInfo: optionsInfo, progressBlock: nil, completionHandler: completionHandler) - } - - /** - Set an image with a URL, a placeholder image, options, progress handler and completion handler. - - - parameter resource: Resource object contains information such as `cacheKey` and `downloadURL`. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter progressBlock: Called when the image downloading progress gets updated. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - public func kf_setImageWithResource(resource: Resource, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - let showIndicatorWhenLoading = kf_showIndicatorWhenLoading - var indicator: UIActivityIndicatorView? = nil - if showIndicatorWhenLoading { - indicator = kf_indicator - indicator?.hidden = false - indicator?.startAnimating() - } - - image = placeholderImage - - kf_setWebURL(resource.downloadURL) - let task = KingfisherManager.sharedManager.retrieveImageWithResource(resource, optionsInfo: optionsInfo, - progressBlock: { receivedSize, totalSize in - if let progressBlock = progressBlock { - dispatch_async(dispatch_get_main_queue(), { () -> Void in - progressBlock(receivedSize: receivedSize, totalSize: totalSize) - - }) - } - }, - completionHandler: {[weak self] image, error, cacheType, imageURL in - - dispatch_async_safely_main_queue { - if let sSelf = self where imageURL == sSelf.kf_webURL && image != nil { - - if let transitionItem = optionsInfo?.kf_firstMatchIgnoringAssociatedValue(.Transition(.None)), - case .Transition(let transition) = transitionItem where cacheType == .None { - - UIView.transitionWithView(sSelf, duration: 0.0, options: [], - animations: { - indicator?.stopAnimating() - }, - completion: { finished in - UIView.transitionWithView(sSelf, duration: transition.duration, - options: transition.animationOptions, - animations: { - transition.animations?(sSelf, image!) - }, - completion: { finished in - transition.completion?(finished) - completionHandler?(image: image, error: error, cacheType: cacheType, imageURL: imageURL) - } - ) - } - ) - } else { - indicator?.stopAnimating() - sSelf.image = image - completionHandler?(image: image, error: error, cacheType: cacheType, imageURL: imageURL) - } - } else { - completionHandler?(image: image, error: error, cacheType: cacheType, imageURL: imageURL) - } - } - } - ) - - return task - } - - /** - Set an image with a URL, a placeholder image, options, progress handler and completion handler. - - - parameter URL: The URL of image. - - parameter placeholderImage: A placeholder image when retrieving the image at URL. - - parameter optionsInfo: A dictionary could control some behaviors. See `KingfisherOptionsInfo` for more. - - parameter progressBlock: Called when the image downloading progress gets updated. - - parameter completionHandler: Called when the image retrieved and set. - - - returns: A task represents the retrieving process. - */ - - public func kf_setImageWithURL(URL: NSURL, - placeholderImage: UIImage?, - optionsInfo: KingfisherOptionsInfo?, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithResource(Resource(downloadURL: URL), - placeholderImage: placeholderImage, - optionsInfo: optionsInfo, - progressBlock: progressBlock, - completionHandler: completionHandler) - } -} - -// MARK: - Associated Object -private var lastURLKey: Void? -private var indicatorKey: Void? -private var showIndicatorWhenLoadingKey: Void? - -public extension UIImageView { - /// Get the image URL binded to this image view. - public var kf_webURL: NSURL? { - return objc_getAssociatedObject(self, &lastURLKey) as? NSURL - } - - private func kf_setWebURL(URL: NSURL) { - objc_setAssociatedObject(self, &lastURLKey, URL, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) - } - - /// Whether show an animating indicator when the image view is loading an image or not. - /// Default is false. - public var kf_showIndicatorWhenLoading: Bool { - get { - if let result = objc_getAssociatedObject(self, &showIndicatorWhenLoadingKey) as? NSNumber { - return result.boolValue - } else { - return false - } - } - - set { - if kf_showIndicatorWhenLoading == newValue { - return - } else { - if newValue { - #if os(tvOS) - let indicatorStyle = UIActivityIndicatorViewStyle.White - #else - let indicatorStyle = UIActivityIndicatorViewStyle.Gray - #endif - let indicator = UIActivityIndicatorView(activityIndicatorStyle:indicatorStyle) - indicator.center = CGPoint(x: CGRectGetMidX(bounds), y: CGRectGetMidY(bounds)) - - indicator.autoresizingMask = [.FlexibleLeftMargin, .FlexibleRightMargin, .FlexibleBottomMargin, .FlexibleTopMargin] - indicator.hidden = true - indicator.hidesWhenStopped = true - - self.addSubview(indicator) - - kf_setIndicator(indicator) - } else { - kf_indicator?.removeFromSuperview() - kf_setIndicator(nil) - } - - objc_setAssociatedObject(self, &showIndicatorWhenLoadingKey, NSNumber(bool: newValue), .OBJC_ASSOCIATION_RETAIN_NONATOMIC) - } - } - } - - /// The indicator view showing when loading. This will be `nil` if `kf_showIndicatorWhenLoading` is false. - /// You may want to use this to set the indicator style or color when you set `kf_showIndicatorWhenLoading` to true. - public var kf_indicator: UIActivityIndicatorView? { - return objc_getAssociatedObject(self, &indicatorKey) as? UIActivityIndicatorView - } - - private func kf_setIndicator(indicator: UIActivityIndicatorView?) { - objc_setAssociatedObject(self, &indicatorKey, indicator, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) - } -} - -// MARK: - Deprecated -public extension UIImageView { - @available(*, deprecated=1.2, message="Use -kf_setImageWithURL:placeholderImage:optionsInfo: instead.") - public func kf_setImageWithURL(URL: NSURL, - placeholderImage: UIImage?, - options: KingfisherOptions) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, placeholderImage: placeholderImage, optionsInfo: [.Options(options)], progressBlock: nil, completionHandler: nil) - } - - @available(*, deprecated=1.2, message="Use -kf_setImageWithURL:placeholderImage:optionsInfo:completionHandler: instead.") - public func kf_setImageWithURL(URL: NSURL, - placeholderImage: UIImage?, - options: KingfisherOptions, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, placeholderImage: placeholderImage, optionsInfo: [.Options(options)], progressBlock: nil, completionHandler: completionHandler) - } - - @available(*, deprecated=1.2, message="Use -kf_setImageWithURL:placeholderImage:optionsInfo:progressBlock:completionHandler: instead.") - public func kf_setImageWithURL(URL: NSURL, - placeholderImage: UIImage?, - options: KingfisherOptions, - progressBlock: DownloadProgressBlock?, - completionHandler: CompletionHandler?) -> RetrieveImageTask - { - return kf_setImageWithURL(URL, placeholderImage: placeholderImage, optionsInfo: [.Options(options)], progressBlock: progressBlock, completionHandler: completionHandler) - } - -} diff --git a/Example/Pods/Kingfisher/LICENSE b/Example/Pods/Kingfisher/LICENSE deleted file mode 100644 index 49ec5dd..0000000 --- a/Example/Pods/Kingfisher/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Wei Wang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/Example/Pods/Kingfisher/README.md b/Example/Pods/Kingfisher/README.md deleted file mode 100644 index 3737429..0000000 --- a/Example/Pods/Kingfisher/README.md +++ /dev/null @@ -1,293 +0,0 @@ -

- -Kingfisher - -

- -

- - - - - - - - - - - - - -

- -Kingfisher is a lightweight and pure Swift implemented library for downloading and caching image from the web. This project is heavily inspired by the popular [SDWebImage](https://github.com/rs/SDWebImage). And it provides you a chance to use pure Swift alternation in your next app. - -## Features - -* Everything in Kingfisher goes asynchronously, not only downloading, but also caching. That means you will never worry about blocking your UI thread. -* Multiple-layer cache. Downloaded images will be cached in both memory and disk. So there is no need to download again and this could boost your app dramatically. -* Cache management. You can set the max duration or size the cache could take. And the cache will also be cleaned automatically to prevent taking too much resource. -* Modern framework. Kingfisher uses `NSURLSession` and the latest technology of GCD, which makes it a strong and swift framework. It also provides you easy APIs to use. -* Cancelable processing task. You can cancel the downloading process if it is not needed anymore. -* Independent components. You can use the downloader or caching system separately. Or even create your own cache based on Kingfisher's code. -* Options to decompress the image in background before rendering it, which could improve the UI performance. -* Categories over `UIImageView` and `UIButton` for setting image from an URL directly. -* Support GIF seamlessly. You could just download and set your GIF images as the same as you do for PNG/JPEG format. - -## Requirements - -* iOS 8.0+ or tvOS 9.0+ -* Xcode 7.0 or above - -## Installation - -### CocoaPods - -[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. - -CocoaPods 0.36 adds supports for Swift and embedded frameworks. You can install it with the following command: - -``` bash -$ gem install cocoapods -``` - -To integrate Kingfisher into your Xcode project using CocoaPods, specify it in your `Podfile`: - -``` ruby -source 'https://github.com/CocoaPods/Specs.git' -platform :ios, '8.0' -use_frameworks! - -pod 'Kingfisher', '~> 1.8' -``` - -Then, run the following command: - -``` bash -$ pod install -``` - -You should open the `{Project}.xcworkspace` instead of the `{Project}.xcodeproj` after you installed anything from CocoaPods. - -For more information about how to use CocoaPods, I suggest [this tutorial](http://www.raywenderlich.com/64546/introduction-to-cocoapods-2). - -### Carthage - -[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager for Cocoa application. To install the carthage tool, you can use [Homebrew](http://brew.sh). - -``` bash -$ brew update -$ brew install carthage -``` - -To integrate Kingfisher into your Xcode project using Carthage, specify it in your `Cartfile`: - -``` ogdl -github "onevcat/Kingfisher" ~> 1.8 -``` - -Then, run the following command to build the Kingfisher framework: - -``` bash -$ carthage update - -``` - -At last, you need to set up your Xcode project manually to add the Kingfisher framework. - -On your application targets’ “General” settings tab, in the “Linked Frameworks and Libraries” section, drag and drop each framework you want to use from the Carthage/Build folder on disk. - -On your application targets’ “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase”. Create a Run Script with the following content: - -``` -/usr/local/bin/carthage copy-frameworks -``` - -and add the paths to the frameworks you want to use under “Input Files”: - -``` -$(SRCROOT)/Carthage/Build/iOS/Kingfisher.framework -``` - -For more information about how to use Carthage, please see its [project page](https://github.com/Carthage/Carthage). - -### Manually - -It is not recommended to install the framework manually, but if you prefer not to use either of the aforementioned dependency managers, you can integrate Kingfisher into your project manually. A regular way to use Kingfisher in your project would be using Embedded Framework. - -- Add Kingfisher as a [submodule](http://git-scm.com/docs/git-submodule). In your favorite terminal, `cd` into your top-level project directory, and entering the following command: - -``` bash -$ git submodule add https://github.com/onevcat/Kingfisher.git -``` - -- Open the `Kingfisher` folder, and drag `Kingfisher.xcodeproj` into the file navigator of your app project, under your app project. -- In Xcode, navigate to the target configuration window by clicking on the blue project icon, and selecting the application target under the "Targets" heading in the sidebar. -- In the tab bar at the top of that window, open the "Build Phases" panel. -- Expand the "Target Dependencies" group, and add `Kingfisher.framework`. -- Click on the `+` button at the top left of "Build Phases" panel and select "New Copy Files Phase". Rename this new phase to "Copy Frameworks", set the "Destination" to "Frameworks", and add `Kingfisher.framework`. - -## Usage - -You can find the full API documentation at [CocoaDocs](http://cocoadocs.org/docsets/Kingfisher/). - -### UIImageView category - -Use Kingfisher in your project is as easy as a pie. You can use the `UIImageView` category and trust Kingfisher to manage downloading and cache images. - -#### Basic - -In your source files, add the following code: - -``` swift -import Kingfisher - -imageView.kf_setImageWithURL(NSURL(string: "http://your_image_url.png")!) -``` - -In most cases, Kingfisher is used in a reusable cell. Since the downloading process is asynchronous, the earlier image will be remained during the downloading of newer one. The placeholder version of this API could help: - -``` swift -imageView.kf_setImageWithURL(NSURL(string: "http://your_image_url.png")!, placeholderImage: nil) -``` - -By default, `Kingfisher` will use `absoluteString` of the URL as the key for cache. If you need another key instead of URL's `absoluteString`, there is another set of APIs accepting `Resource` as parameter: - -``` swift -let URL = NSURL(string: "http://your_image_url.png")! -let resource = Resource(downloadURL: URL, cacheKey: "your_customized_key") - -imageView.kf_setImageWithResource(resource) -``` - -It will ask Kingfisher's manager to get the image for the "your_customized_key" from memory and disk first. If the manager does not find it, it will try to download the image at the URL, and store it with `cacheKey` ("your_customized_key" here) for next use. - -#### Options - -Kingfisher will search in cache (both memory and disk) first with the URL, if no image found, it will try to download and store the image in the cache. You can change this behavior by passing an option dictionary, to let it ignore the cache. - -``` swift -imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!, - placeholderImage: nil, - optionsInfo: [.Options(KingfisherOptions.ForceRefresh)]) -``` - -There are also other options to control the cache level, downloading priority, etc. Take some other examples: - -If you need to cache the downloaded image to a customized cache instead of the default one: - -``` swift -let myCache = ImageCache(name: "my_cache") - -imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!, - placeholderImage: nil, - optionsInfo: [.TargetCache(myCache)]) -``` - -This is useful if you want to use a specified cache for some reasons. - -And if you need to fade in the image to image view during 1 second: - -``` -imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!, - placeholderImage: nil, - optionsInfo: [.Transition(ImageTransition.Fade(1))]) -``` - -For more information about options, please see the `KingfisherOptionsInfo` in the [documentation](http://cocoadocs.org/docsets/Kingfisher/index.html). - -#### Callbacks - -You can get a chance during Kingfisher downloading images and when the process is done: - -``` swift -imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!, - placeholderImage: nil, - optionsInfo: nil, - progressBlock: { (receivedSize, totalSize) -> () in - print("Download Progress: \(receivedSize)/\(totalSize)") - }, - completionHandler: { (image, error, imageURL) -> () in - print("Downloaded and set!") - } -) -``` - -#### Cancel Task - -All `kf_setImageWithURL` methods return a `RetrieveImageTask` object. You can `cancel` the task if the images are not needed. - -``` swift -let task = imageView.kf_setImageWithURL(NSURL(string: "http://your_image_url.png")!) -task.cancel() - -// The image retrieving will stop. -``` - -There is a category for `UIButton` as well. - -### Downloader & Cache system - -Kingfisher will use the default downloader and cache if you do not specify them by yourself. You can access them by using `KingfisherManager.sharedManager.downloader` and `KingfisherManager.sharedManager.cache`. You can adjust some parameters to meet your demands: - -``` swift -let downloader = KingfisherManager.sharedManager.downloader - -// Download process will timeout after 5 seconds. Default is 15. -downloader.downloadTimeout = 5 - -// requestModifier will be called before image download request made. -downloader.requestModifier = { - (request: NSMutableURLRequest) in - // Do what you need to modify the download request. Maybe add your HTTP basic authentication for example. -} - -// Hosts in trustedHosts will be ignore the received challenge. -// You can add the host of your self-signed site to it to bypass the SSL. -// (Do not do it unless you know what you are doing) -downloader.trustedHosts = Set(["your_self_signed_host"]) -``` - -``` swift -let cache = KingfisherManager.sharedManager.cache - -// Set max disk cache to 50 mb. Default is no limit. -cache.maxDiskCacheSize = 50 * 1024 * 1024 - -// Set max disk cache to duration to 3 days, Default is 1 week. -cache.maxCachePeriodInSecond = 60 * 60 * 24 * 3 - -// Get the disk size taken by the cache. -cache.calculateDiskCacheSizeWithCompletionHandler { (size) -> () in - print("disk size in bytes: \(size)") -} -``` - -The memory cache will be purged whenever the app switched to background or receiving a memory warning. Disk cache will be cleaned when the conditions are met. You can also clear these caches manually: - -``` swift -// Clear memory cache right away. -cache.clearMemoryCache() - -// Clear disk cache. This is an async operation. -cache.clearDiskCache() - -// Clean expired or size exceeded disk cache. This is an async operation. -cache.cleanExpiredDiskCache() -``` - -## Future of Kingfisher - -I want to keep Kingfisher slim. This framework will focus on providing a simple solution for image downloading and caching. But that does not mean the framework will not be improved. Kingfisher is far away from perfect, and necessary and useful features will be added later to make it better. - -## About the logo - -The logo of Kingfisher is inspired by [Tangram (七巧板)](http://en.wikipedia.org/wiki/Tangram), a dissection puzzle consisting of seven flat shapes from China. I believe she's a kingfisher bird instead of a swift, but someone insists that she is a pigeon. I guess I should give her a name. Hi, guys, do you have any suggestion? - -## Contact - -Follow and contact me on [Twitter](http://twitter.com/onevcat) or [Sina Weibo](http://weibo.com/onevcat). If you find an issue, just [open a ticket](https://github.com/onevcat/Kingfisher/issues/new) on it. Pull requests are warmly welcome as well. - -## License - -Kingfisher is released under the MIT license. See LICENSE for details. diff --git a/Example/Pods/Local Podspecs/PhotoSlider.podspec.json b/Example/Pods/Local Podspecs/PhotoSlider.podspec.json deleted file mode 100644 index 4798592..0000000 --- a/Example/Pods/Local Podspecs/PhotoSlider.podspec.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "PhotoSlider", - "version": "0.12.1", - "summary": "PhotoSlider can a simple photo slider and delete slider with swiping.", - "homepage": "https://github.com/nakajijapan/PhotoSlider", - "license": "MIT", - "authors": { - "nakajijapan": "pp.kupepo.gattyanmo@gmail.com" - }, - "source": { - "git": "https://github.com/nakajijapan/PhotoSlider.git", - "tag": "0.12.1" - }, - "social_media_url": "https://twitter.com/nakajijapan", - "platforms": { - "ios": "8.0" - }, - "requires_arc": true, - "source_files": "Pod/Classes/**/*", - "resource_bundles": { - "PhotoSlider": [ - "Pod/Assets/*.png" - ] - }, - "dependencies": { - "Kingfisher": [ - - ] - } -} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock deleted file mode 100644 index e3ee0b7..0000000 --- a/Example/Pods/Manifest.lock +++ /dev/null @@ -1,18 +0,0 @@ -PODS: - - Kingfisher (1.8.5) - - PhotoSlider (0.12.1): - - Kingfisher - -DEPENDENCIES: - - Kingfisher - - PhotoSlider (from `../`) - -EXTERNAL SOURCES: - PhotoSlider: - :path: "../" - -SPEC CHECKSUMS: - Kingfisher: 780fed0fa82692a3bd59d53329ae2b85cdd354a5 - PhotoSlider: 70ccfe6735785894ea0ca7762f4b165f58563518 - -COCOAPODS: 0.39.0 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index e0c22fc..0000000 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1430 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 0756056E457318F3D8A0A21D71CDF764 /* KingfisherOptionsInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC5244B856E6D0969FFFF38A168725A0 /* KingfisherOptionsInfo.swift */; }; - 0B3C904CCFE255DB5F3853B3725A542E /* UIImageView+Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = C0FAE97223589FAF4CF07F7AD2E3BCBF /* UIImageView+Kingfisher.swift */; }; - 1253018525DC8EAFADC635BB999C6EC5 /* UIImage+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 58E609E3DB96D8483E313928382CD511 /* UIImage+Extension.swift */; }; - 1ADD714C9EDB3559C8879A53D7FE6715 /* Pods-PhotoSlider-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 39FC62F4499D9045C1F401EF609E59E4 /* Pods-PhotoSlider-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1F9EB74A44B8D52F01B91BA7F091C411 /* ProgressView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F85C5B8E7C1B04A444A9E30D20B732F /* ProgressView.swift */; }; - 242048AC0F34A4388A997EE4CF225AEC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C7B6A81ACAC2E3852737CD0B7C71CCD /* Foundation.framework */; }; - 2E81585643349F149604EFA84625AB76 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C7B6A81ACAC2E3852737CD0B7C71CCD /* Foundation.framework */; }; - 33FFD53E35A807F56F3C1BD8B83BFD3B /* Kingfisher-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AE473D27D2537D86F3C5B96E5D91A446 /* Kingfisher-dummy.m */; }; - 3476C79EE10816D7C2C54696D5AFA588 /* PhotoSliderClose@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 00C5E3ADF65FE227498C1545282138FD /* PhotoSliderClose@3x.png */; }; - 3476ED54EC81FBAC2770EF88DAAC79A1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C7B6A81ACAC2E3852737CD0B7C71CCD /* Foundation.framework */; }; - 371CF8D3ACEDE3983CE1E8B275CAA7CA /* KingfisherManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAA37769157E210CA132675DDD140CDB /* KingfisherManager.swift */; }; - 3E7AC9DF6B012260B8E253EF051320A7 /* PhotoSlider-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0CBDECCFF2FD97257667364FA3E682E4 /* PhotoSlider-dummy.m */; }; - 3F113FF2D4CB7C94576A2B43890F3F09 /* Kingfisher.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F78CCC4E543AE1ACD02EA7C0B0927E5 /* Kingfisher.framework */; }; - 487C9381870D7D84CBA99FF810F95AC1 /* PhotoSlider.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 7737B585E8C35661C8E744226A359990 /* PhotoSlider.bundle */; }; - 4B9DA1CC45496DB0FDFB9D7D7A4D2970 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C7B6A81ACAC2E3852737CD0B7C71CCD /* Foundation.framework */; }; - 4CBC3574F28012ABE40BAA117E9E29D1 /* PhotoSliderClose@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = A8B1808FA7ED39E0F777D3591319D42A /* PhotoSliderClose@2x.png */; }; - 525FAA98CD8CB4F408E6CEE1BA5B50CE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C7B6A81ACAC2E3852737CD0B7C71CCD /* Foundation.framework */; }; - 52ED0F7B1C59C244BC6BE86E6B2CF4BF /* Pods-PhotoSliderDemo-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 65E0BB1A35F2427DD2C3BAE1C87D4A6D /* Pods-PhotoSliderDemo-dummy.m */; }; - 595F31BC126E162D9C52835625E2EF88 /* KingfisherOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4E4DB6287CF9C40CF202F52D1B587915 /* KingfisherOptions.swift */; }; - 599634A7E470BDE95476BD4110214F62 /* Pods-PhotoSliderDemoUITests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 01526378BC15335F67D260F698511132 /* Pods-PhotoSliderDemoUITests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5E5FD5449205F3346EFE8A642CF37902 /* Photo.swift in Sources */ = {isa = PBXBuildFile; fileRef = E98F25A93A0BEBC3BE5D3CAD56EEB638 /* Photo.swift */; }; - 78C663691365A81F9F3C87A2DAA59788 /* Pods-PhotoSliderDemo-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C53788954B1627CDC4AF34C671BD515A /* Pods-PhotoSliderDemo-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 78E833776D3AB942221C39982DCC4FEC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5C7B6A81ACAC2E3852737CD0B7C71CCD /* Foundation.framework */; }; - 85577E0474D3552E2706D76E8110F43F /* ZoomingAnimationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F83EB65CF5F60E95FA40F6979DC5F13 /* ZoomingAnimationController.swift */; }; - 8934BE2C777590F589143CC5D1C12F87 /* Pods-PhotoSlider-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DA113D61EA5F362E1C0604784D8EECF5 /* Pods-PhotoSlider-dummy.m */; }; - 8CF73FB3C1E427EFBB585346864D2017 /* UIButton+Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F625EDB26DC0F64E7C9191487EB9022 /* UIButton+Kingfisher.swift */; }; - 92A5CFD00C87578664623EA396678237 /* Resource.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD81230B008E3059F092AD1946825529 /* Resource.swift */; }; - 99E14A430191C549E6B690989B954178 /* Pods-PhotoSliderDemoTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C314689C29F6117E52CE715A2E008C6 /* Pods-PhotoSliderDemoTests-dummy.m */; }; - A009139EF4C25E7793E01B37DE67F8FC /* ThreadHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCD9F0AFA500FEB47C46AA6087812DE8 /* ThreadHelper.swift */; }; - A2F3C0FB7B57442752FF4F8DA92E43B8 /* Pods-PhotoSliderDemoTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1FEBE13551244B980DB798E179559453 /* Pods-PhotoSliderDemoTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A9535F6087AA009391ABEA4BB4C9C371 /* PhotoSliderClose.png in Resources */ = {isa = PBXBuildFile; fileRef = EECF3AD882A1E80D0D8D8CEA50631BAF /* PhotoSliderClose.png */; }; - AA49567C1B7A4C19CA6C290B153FFE9E /* Kingfisher-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 78DD2679CA2253698BA9B1B6495B0741 /* Kingfisher-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - B34A9BAD21635DAAD707E7F35187E57D /* ImageTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 619B5D70948D280FEB633BEF498DA727 /* ImageTransition.swift */; }; - BC104E9A528DB3ACD251EEA5BE69F1AC /* ImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDD1FAE289F33011E576A0AA97F5D300 /* ImageView.swift */; }; - C28FB437EB0407299A78B3D8A9160611 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54DA508F61BBDC2CBAB4BB7448496D71 /* ViewController.swift */; }; - CAA0E03CED88D172A4DB164016620A15 /* String+MD5.swift in Sources */ = {isa = PBXBuildFile; fileRef = D965E12814032228F5AA0F3835006817 /* String+MD5.swift */; }; - D723987319609040462242DFCDFB2183 /* Pods-PhotoSliderDemoUITests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BFA7C24D2CBC9E17050217B1697DFF3E /* Pods-PhotoSliderDemoUITests-dummy.m */; }; - DCBECA5C3AAF6595DECAC0F7F47B4A7F /* ImageCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61CEA523E9BB8DA9F770B7C7CBFFB159 /* ImageCache.swift */; }; - EB6932DFB4348CAF33AED9451B976845 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 39046DF5425E6705CA5CE64770584FB7 /* CFNetwork.framework */; }; - EBB81973E059C8A97865611C0003E4F4 /* PhotoSlider-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0338006444B3194ABED2BC772AB5391F /* PhotoSlider-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F06730BEBDD7F73F53E0D65DFFBB86A4 /* Kingfisher.h in Headers */ = {isa = PBXBuildFile; fileRef = 29644C8B951B831B0837B625B225AF39 /* Kingfisher.h */; settings = {ATTRIBUTES = (Public, ); }; }; - F1A8435CE1A88A07192DFCC35CB43100 /* ImageDownloader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5ED41AEEAA3BA5FD92F0E0574DFDE705 /* ImageDownloader.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 01CA9358C0AA4938AC03CE820534481F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = F91226101ECE8FCFD221A3EC54481F82; - remoteInfo = Kingfisher; - }; - 367AE50F379B7C2C641DF089A29DBE81 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = A7715291CF8194C4497714EAD2BCD7E1; - remoteInfo = PhotoSlider; - }; - 3DF66D6E00E498A0EE6ED559E973036D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = A7715291CF8194C4497714EAD2BCD7E1; - remoteInfo = PhotoSlider; - }; - 4ACFB037958FA8BCDCD00D6311569773 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = A7715291CF8194C4497714EAD2BCD7E1; - remoteInfo = PhotoSlider; - }; - 602E6CD66E484988C657ECC23E945974 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = F91226101ECE8FCFD221A3EC54481F82; - remoteInfo = Kingfisher; - }; - 9BADCA4546FA3F95D2FFF3941C618D72 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = F91226101ECE8FCFD221A3EC54481F82; - remoteInfo = Kingfisher; - }; - C8D80E17767941F28949FFEFCBFDFCD6 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = F91226101ECE8FCFD221A3EC54481F82; - remoteInfo = Kingfisher; - }; - CC53814292E994BD6F50E56E907923C2 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 40CFCF6DAE2462819BF53240663646C7; - remoteInfo = "PhotoSlider-PhotoSlider"; - }; - D35F1525CDF20EB66A90CD3E5DEF2E35 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = A7715291CF8194C4497714EAD2BCD7E1; - remoteInfo = PhotoSlider; - }; - DA8620A46E7EAF65F6CA17774A76631F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = F91226101ECE8FCFD221A3EC54481F82; - remoteInfo = Kingfisher; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 00C5E3ADF65FE227498C1545282138FD /* PhotoSliderClose@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; path = "PhotoSliderClose@3x.png"; sourceTree = ""; }; - 01526378BC15335F67D260F698511132 /* Pods-PhotoSliderDemoUITests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PhotoSliderDemoUITests-umbrella.h"; sourceTree = ""; }; - 0338006444B3194ABED2BC772AB5391F /* PhotoSlider-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PhotoSlider-umbrella.h"; sourceTree = ""; }; - 0C1D60E793FED7A0E3D0A336D4272D8A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 0CBDECCFF2FD97257667364FA3E682E4 /* PhotoSlider-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PhotoSlider-dummy.m"; sourceTree = ""; }; - 10B35FA7B3DAD2B1432BF0254A0254BD /* Pods-PhotoSlider-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PhotoSlider-acknowledgements.markdown"; sourceTree = ""; }; - 115DD2EA149CDCE8EE00699F4B2284E2 /* Kingfisher-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Kingfisher-prefix.pch"; sourceTree = ""; }; - 123F04C1B84BDF29DE1672861AD2DBD2 /* Pods-PhotoSliderDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PhotoSliderDemo.debug.xcconfig"; sourceTree = ""; }; - 13DBEE8640B0B53DAD5B5BACEBAE75D8 /* Pods-PhotoSliderDemoUITests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PhotoSliderDemoUITests-frameworks.sh"; sourceTree = ""; }; - 1669186C9571E18AD5DB9B4087797EF4 /* Pods-PhotoSliderDemoTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PhotoSliderDemoTests-resources.sh"; sourceTree = ""; }; - 1C546364065ACB95BD2BCB00998C53F3 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 1FEBE13551244B980DB798E179559453 /* Pods-PhotoSliderDemoTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PhotoSliderDemoTests-umbrella.h"; sourceTree = ""; }; - 29644C8B951B831B0837B625B225AF39 /* Kingfisher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Kingfisher.h; path = Kingfisher/Kingfisher.h; sourceTree = ""; }; - 301B4E415AA0D457E10823BD7C1D198D /* Pods_PhotoSlider.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PhotoSlider.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 31C2821B848921B5ED88A61A243C0C3A /* Kingfisher.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = Kingfisher.modulemap; sourceTree = ""; }; - 338C25BDDA1F97C2825EC85F8119686F /* Pods-PhotoSliderDemoTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PhotoSliderDemoTests.debug.xcconfig"; sourceTree = ""; }; - 39046DF5425E6705CA5CE64770584FB7 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; - 39FC62F4499D9045C1F401EF609E59E4 /* Pods-PhotoSlider-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PhotoSlider-umbrella.h"; sourceTree = ""; }; - 3D7E3EAA69C22668262975F32D3C357D /* Pods_PhotoSliderDemoUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PhotoSliderDemoUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 40633BFBBC7F94AFFF6D94F4C291E27A /* Pods-PhotoSlider-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PhotoSlider-resources.sh"; sourceTree = ""; }; - 4A29E5BD022B1DEB2136F6411CE39634 /* Pods-PhotoSlider-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PhotoSlider-frameworks.sh"; sourceTree = ""; }; - 4D348370F26FA96E94654F1595F2342D /* Pods-PhotoSliderDemo-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PhotoSliderDemo-acknowledgements.markdown"; sourceTree = ""; }; - 4E4DB6287CF9C40CF202F52D1B587915 /* KingfisherOptions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KingfisherOptions.swift; path = Kingfisher/KingfisherOptions.swift; sourceTree = ""; }; - 4F78CCC4E543AE1ACD02EA7C0B0927E5 /* Kingfisher.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Kingfisher.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 506CDA64D4F17994D2AB2A7D2EA94B33 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 53EF38F3D11E96109B7469D39F878042 /* Pods-PhotoSliderDemoUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PhotoSliderDemoUITests.release.xcconfig"; sourceTree = ""; }; - 54DA508F61BBDC2CBAB4BB7448496D71 /* ViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - 58E609E3DB96D8483E313928382CD511 /* UIImage+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIImage+Extension.swift"; path = "Kingfisher/UIImage+Extension.swift"; sourceTree = ""; }; - 5C7B6A81ACAC2E3852737CD0B7C71CCD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 5CF855111CBBA53DF4FCBBFD5613F34F /* Pods-PhotoSliderDemoTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-PhotoSliderDemoTests.modulemap"; sourceTree = ""; }; - 5DB9E73C1E5771F8C4FD0421E6C25FEE /* PhotoSlider.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = PhotoSlider.modulemap; sourceTree = ""; }; - 5ED41AEEAA3BA5FD92F0E0574DFDE705 /* ImageDownloader.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageDownloader.swift; path = Kingfisher/ImageDownloader.swift; sourceTree = ""; }; - 5FAA542CBA483CE3A100EF5D28E642BF /* PhotoSlider.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PhotoSlider.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 619B5D70948D280FEB633BEF498DA727 /* ImageTransition.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageTransition.swift; path = Kingfisher/ImageTransition.swift; sourceTree = ""; }; - 61CEA523E9BB8DA9F770B7C7CBFFB159 /* ImageCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageCache.swift; path = Kingfisher/ImageCache.swift; sourceTree = ""; }; - 65E0BB1A35F2427DD2C3BAE1C87D4A6D /* Pods-PhotoSliderDemo-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PhotoSliderDemo-dummy.m"; sourceTree = ""; }; - 6ADEE61AFBC8EA9B696B981857829BD8 /* Pods-PhotoSliderDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PhotoSliderDemo.release.xcconfig"; sourceTree = ""; }; - 70988A097CBD1621B96D5B87DA5D4CF8 /* Pods-PhotoSliderDemoUITests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-PhotoSliderDemoUITests.modulemap"; sourceTree = ""; }; - 718DE718A8D8DD8F33FBA39BE0117632 /* Pods_PhotoSliderDemo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PhotoSliderDemo.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 72FCBD5BFD54CCC2E5B8203BF3148BEA /* PhotoSlider-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PhotoSlider-prefix.pch"; sourceTree = ""; }; - 7737B585E8C35661C8E744226A359990 /* PhotoSlider.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PhotoSlider.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; - 78DD2679CA2253698BA9B1B6495B0741 /* Kingfisher-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Kingfisher-umbrella.h"; sourceTree = ""; }; - 7B63843BB01BBB4848FDA2F1305096D6 /* Pods-PhotoSliderDemoTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PhotoSliderDemoTests-acknowledgements.markdown"; sourceTree = ""; }; - 7D985510A2DA81BDB8EBE169C5F371B4 /* Pods-PhotoSlider.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-PhotoSlider.modulemap"; sourceTree = ""; }; - 7FDFA89DC64D11AD8C835818CF7C62E6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 818EC886E34FD3DF4B5F5C1B6BE76610 /* Pods-PhotoSliderDemo-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PhotoSliderDemo-resources.sh"; sourceTree = ""; }; - 8860A4D62B328F20341AD1E4C833119C /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 8F85C5B8E7C1B04A444A9E30D20B732F /* ProgressView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ProgressView.swift; sourceTree = ""; }; - 9B5FF6B1D953C2B45D745C93CEA88FB1 /* Pods-PhotoSliderDemoTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PhotoSliderDemoTests-frameworks.sh"; sourceTree = ""; }; - 9C314689C29F6117E52CE715A2E008C6 /* Pods-PhotoSliderDemoTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PhotoSliderDemoTests-dummy.m"; sourceTree = ""; }; - 9D0E4E95976C1342DAA7FE5AF6888FF5 /* Pods_PhotoSliderDemoTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PhotoSliderDemoTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 9F625EDB26DC0F64E7C9191487EB9022 /* UIButton+Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIButton+Kingfisher.swift"; path = "Kingfisher/UIButton+Kingfisher.swift"; sourceTree = ""; }; - 9F83EB65CF5F60E95FA40F6979DC5F13 /* ZoomingAnimationController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ZoomingAnimationController.swift; sourceTree = ""; }; - A7F9ED0B569B57EAF2DFEE02696E5DF6 /* Pods-PhotoSliderDemoTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PhotoSliderDemoTests.release.xcconfig"; sourceTree = ""; }; - A8B1808FA7ED39E0F777D3591319D42A /* PhotoSliderClose@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; path = "PhotoSliderClose@2x.png"; sourceTree = ""; }; - AA4B3DB04A6CB3304D2337B4C4876E1F /* Pods-PhotoSliderDemo.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-PhotoSliderDemo.modulemap"; sourceTree = ""; }; - AE473D27D2537D86F3C5B96E5D91A446 /* Kingfisher-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Kingfisher-dummy.m"; sourceTree = ""; }; - BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - BB9B23825D0F5724628B05BDAFCD9968 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - BCD9F0AFA500FEB47C46AA6087812DE8 /* ThreadHelper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ThreadHelper.swift; path = Kingfisher/ThreadHelper.swift; sourceTree = ""; }; - BFA7C24D2CBC9E17050217B1697DFF3E /* Pods-PhotoSliderDemoUITests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PhotoSliderDemoUITests-dummy.m"; sourceTree = ""; }; - C0FAE97223589FAF4CF07F7AD2E3BCBF /* UIImageView+Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIImageView+Kingfisher.swift"; path = "Kingfisher/UIImageView+Kingfisher.swift"; sourceTree = ""; }; - C4EF3B40B1233C9F9296119FCEC6F523 /* Pods-PhotoSliderDemoUITests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PhotoSliderDemoUITests-acknowledgements.markdown"; sourceTree = ""; }; - C53788954B1627CDC4AF34C671BD515A /* Pods-PhotoSliderDemo-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PhotoSliderDemo-umbrella.h"; sourceTree = ""; }; - C79638EBB3B708329428AEAB74E1AC17 /* Pods-PhotoSliderDemoUITests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PhotoSliderDemoUITests-resources.sh"; sourceTree = ""; }; - CBF77239C9DF3DFA361B66E10FB2F7DC /* Pods-PhotoSliderDemoUITests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PhotoSliderDemoUITests-acknowledgements.plist"; sourceTree = ""; }; - CC5244B856E6D0969FFFF38A168725A0 /* KingfisherOptionsInfo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KingfisherOptionsInfo.swift; path = Kingfisher/KingfisherOptionsInfo.swift; sourceTree = ""; }; - D15FA2BF26CD3E85F4F78D2226B7909F /* Pods-PhotoSlider.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PhotoSlider.debug.xcconfig"; sourceTree = ""; }; - D846DE1E1E27BB0A49633365C318D0D0 /* Pods-PhotoSliderDemo-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PhotoSliderDemo-frameworks.sh"; sourceTree = ""; }; - D965E12814032228F5AA0F3835006817 /* String+MD5.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+MD5.swift"; path = "Kingfisher/String+MD5.swift"; sourceTree = ""; }; - DA113D61EA5F362E1C0604784D8EECF5 /* Pods-PhotoSlider-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PhotoSlider-dummy.m"; sourceTree = ""; }; - DB6217F0AC48EF7A74E934D67C853F9F /* Pods-PhotoSliderDemoTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PhotoSliderDemoTests-acknowledgements.plist"; sourceTree = ""; }; - DD81230B008E3059F092AD1946825529 /* Resource.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Resource.swift; path = Kingfisher/Resource.swift; sourceTree = ""; }; - DDD1FAE289F33011E576A0AA97F5D300 /* ImageView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ImageView.swift; sourceTree = ""; }; - E20F90850CDBFD8FF066AEC5B995AA96 /* Pods-PhotoSlider.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PhotoSlider.release.xcconfig"; sourceTree = ""; }; - E5FA0BD5104AAF69B5404312B3F5952E /* Pods-PhotoSliderDemoUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PhotoSliderDemoUITests.debug.xcconfig"; sourceTree = ""; }; - E98F25A93A0BEBC3BE5D3CAD56EEB638 /* Photo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Photo.swift; sourceTree = ""; }; - E9F67DB0287F7BBCA6827548DB90B345 /* Kingfisher.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Kingfisher.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - EAA37769157E210CA132675DDD140CDB /* KingfisherManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KingfisherManager.swift; path = Kingfisher/KingfisherManager.swift; sourceTree = ""; }; - EE46B7AB081562C1F388686F02BA1027 /* Pods-PhotoSlider-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PhotoSlider-acknowledgements.plist"; sourceTree = ""; }; - EECF3AD882A1E80D0D8D8CEA50631BAF /* PhotoSliderClose.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; path = PhotoSliderClose.png; sourceTree = ""; }; - EFFE48F0A90D6A470DD486AE1FC167ED /* Kingfisher.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Kingfisher.xcconfig; sourceTree = ""; }; - F4510A9A7C5E6D8C34E8AF6F2175BB87 /* PhotoSlider.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PhotoSlider.xcconfig; sourceTree = ""; }; - FF4BBA79C55890C1459D6D0074D02A10 /* Pods-PhotoSliderDemo-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PhotoSliderDemo-acknowledgements.plist"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 19A534EB727BB023F37F2685923C5DD6 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 256C5541011E8B8457523566C620ABD4 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 78E833776D3AB942221C39982DCC4FEC /* Foundation.framework in Frameworks */, - 3F113FF2D4CB7C94576A2B43890F3F09 /* Kingfisher.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 30C729F14CFF26D4A42722B80DA4F528 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - EB6932DFB4348CAF33AED9451B976845 /* CFNetwork.framework in Frameworks */, - 525FAA98CD8CB4F408E6CEE1BA5B50CE /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A7860351C522216E42B6F5B7E01EE471 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 242048AC0F34A4388A997EE4CF225AEC /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - D2FF332CEA8010256A5C578A83E30A57 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 3476ED54EC81FBAC2770EF88DAAC79A1 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - ED1C06ECF43EEA5203FB7C0948A89805 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2E81585643349F149604EFA84625AB76 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F194724689660D22D05E18BBA2FB8444 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 4B9DA1CC45496DB0FDFB9D7D7A4D2970 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 01B9DA7AA1E359BC7BCD030B2621D165 /* Support Files */ = { - isa = PBXGroup; - children = ( - 1C546364065ACB95BD2BCB00998C53F3 /* Info.plist */, - 5DB9E73C1E5771F8C4FD0421E6C25FEE /* PhotoSlider.modulemap */, - F4510A9A7C5E6D8C34E8AF6F2175BB87 /* PhotoSlider.xcconfig */, - 0CBDECCFF2FD97257667364FA3E682E4 /* PhotoSlider-dummy.m */, - 72FCBD5BFD54CCC2E5B8203BF3148BEA /* PhotoSlider-prefix.pch */, - 0338006444B3194ABED2BC772AB5391F /* PhotoSlider-umbrella.h */, - ); - name = "Support Files"; - path = "Example/Pods/Target Support Files/PhotoSlider"; - sourceTree = ""; - }; - 0F8C75C9679E1C5C20BA85A801A0CF25 /* Kingfisher */ = { - isa = PBXGroup; - children = ( - 61CEA523E9BB8DA9F770B7C7CBFFB159 /* ImageCache.swift */, - 5ED41AEEAA3BA5FD92F0E0574DFDE705 /* ImageDownloader.swift */, - 619B5D70948D280FEB633BEF498DA727 /* ImageTransition.swift */, - 29644C8B951B831B0837B625B225AF39 /* Kingfisher.h */, - EAA37769157E210CA132675DDD140CDB /* KingfisherManager.swift */, - 4E4DB6287CF9C40CF202F52D1B587915 /* KingfisherOptions.swift */, - CC5244B856E6D0969FFFF38A168725A0 /* KingfisherOptionsInfo.swift */, - DD81230B008E3059F092AD1946825529 /* Resource.swift */, - D965E12814032228F5AA0F3835006817 /* String+MD5.swift */, - BCD9F0AFA500FEB47C46AA6087812DE8 /* ThreadHelper.swift */, - 9F625EDB26DC0F64E7C9191487EB9022 /* UIButton+Kingfisher.swift */, - 58E609E3DB96D8483E313928382CD511 /* UIImage+Extension.swift */, - C0FAE97223589FAF4CF07F7AD2E3BCBF /* UIImageView+Kingfisher.swift */, - BF2CECBCE478D28337195C61624EA850 /* Support Files */, - ); - path = Kingfisher; - sourceTree = ""; - }; - 2CD310FB9F5D68608CCBEA595BA1C0C5 /* Pods-PhotoSliderDemo */ = { - isa = PBXGroup; - children = ( - 8860A4D62B328F20341AD1E4C833119C /* Info.plist */, - AA4B3DB04A6CB3304D2337B4C4876E1F /* Pods-PhotoSliderDemo.modulemap */, - 4D348370F26FA96E94654F1595F2342D /* Pods-PhotoSliderDemo-acknowledgements.markdown */, - FF4BBA79C55890C1459D6D0074D02A10 /* Pods-PhotoSliderDemo-acknowledgements.plist */, - 65E0BB1A35F2427DD2C3BAE1C87D4A6D /* Pods-PhotoSliderDemo-dummy.m */, - D846DE1E1E27BB0A49633365C318D0D0 /* Pods-PhotoSliderDemo-frameworks.sh */, - 818EC886E34FD3DF4B5F5C1B6BE76610 /* Pods-PhotoSliderDemo-resources.sh */, - C53788954B1627CDC4AF34C671BD515A /* Pods-PhotoSliderDemo-umbrella.h */, - 123F04C1B84BDF29DE1672861AD2DBD2 /* Pods-PhotoSliderDemo.debug.xcconfig */, - 6ADEE61AFBC8EA9B696B981857829BD8 /* Pods-PhotoSliderDemo.release.xcconfig */, - ); - name = "Pods-PhotoSliderDemo"; - path = "Target Support Files/Pods-PhotoSliderDemo"; - sourceTree = ""; - }; - 45924D00B2EF910090726636A819620E /* Products */ = { - isa = PBXGroup; - children = ( - E9F67DB0287F7BBCA6827548DB90B345 /* Kingfisher.framework */, - 7737B585E8C35661C8E744226A359990 /* PhotoSlider.bundle */, - 5FAA542CBA483CE3A100EF5D28E642BF /* PhotoSlider.framework */, - 301B4E415AA0D457E10823BD7C1D198D /* Pods_PhotoSlider.framework */, - 718DE718A8D8DD8F33FBA39BE0117632 /* Pods_PhotoSliderDemo.framework */, - 9D0E4E95976C1342DAA7FE5AF6888FF5 /* Pods_PhotoSliderDemoTests.framework */, - 3D7E3EAA69C22668262975F32D3C357D /* Pods_PhotoSliderDemoUITests.framework */, - ); - name = Products; - sourceTree = ""; - }; - 474DDBD905E0ABEC7A5717B25A3F3B96 /* Pod */ = { - isa = PBXGroup; - children = ( - E4C82D8AB477A1D0B654D4E58E9A9E6E /* Classes */, - ); - path = Pod; - sourceTree = ""; - }; - 4C8BB0F77ABEF6227171D681D3BE55AC /* iOS */ = { - isa = PBXGroup; - children = ( - 39046DF5425E6705CA5CE64770584FB7 /* CFNetwork.framework */, - 5C7B6A81ACAC2E3852737CD0B7C71CCD /* Foundation.framework */, - ); - name = iOS; - sourceTree = ""; - }; - 5573201CED44059EF9DC61FA88C53205 /* Pods-PhotoSliderDemoUITests */ = { - isa = PBXGroup; - children = ( - 0C1D60E793FED7A0E3D0A336D4272D8A /* Info.plist */, - 70988A097CBD1621B96D5B87DA5D4CF8 /* Pods-PhotoSliderDemoUITests.modulemap */, - C4EF3B40B1233C9F9296119FCEC6F523 /* Pods-PhotoSliderDemoUITests-acknowledgements.markdown */, - CBF77239C9DF3DFA361B66E10FB2F7DC /* Pods-PhotoSliderDemoUITests-acknowledgements.plist */, - BFA7C24D2CBC9E17050217B1697DFF3E /* Pods-PhotoSliderDemoUITests-dummy.m */, - 13DBEE8640B0B53DAD5B5BACEBAE75D8 /* Pods-PhotoSliderDemoUITests-frameworks.sh */, - C79638EBB3B708329428AEAB74E1AC17 /* Pods-PhotoSliderDemoUITests-resources.sh */, - 01526378BC15335F67D260F698511132 /* Pods-PhotoSliderDemoUITests-umbrella.h */, - E5FA0BD5104AAF69B5404312B3F5952E /* Pods-PhotoSliderDemoUITests.debug.xcconfig */, - 53EF38F3D11E96109B7469D39F878042 /* Pods-PhotoSliderDemoUITests.release.xcconfig */, - ); - name = "Pods-PhotoSliderDemoUITests"; - path = "Target Support Files/Pods-PhotoSliderDemoUITests"; - sourceTree = ""; - }; - 7DB346D0F39D3F0E887471402A8071AB = { - isa = PBXGroup; - children = ( - BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, - 98954F416D51D25EAEA0E0B30D34EED8 /* Development Pods */, - A34DC41A4AC9B0D17F82B623BF369E65 /* Frameworks */, - D8D217B34B7E7E3190BF646C8F306463 /* Pods */, - 45924D00B2EF910090726636A819620E /* Products */, - ED33E5DACFB107F9CF83DF148DBB3B85 /* Targets Support Files */, - ); - sourceTree = ""; - }; - 98954F416D51D25EAEA0E0B30D34EED8 /* Development Pods */ = { - isa = PBXGroup; - children = ( - FC5E5FA450635A0F012DCF30264FE384 /* PhotoSlider */, - ); - name = "Development Pods"; - sourceTree = ""; - }; - A34DC41A4AC9B0D17F82B623BF369E65 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 4F78CCC4E543AE1ACD02EA7C0B0927E5 /* Kingfisher.framework */, - 4C8BB0F77ABEF6227171D681D3BE55AC /* iOS */, - ); - name = Frameworks; - sourceTree = ""; - }; - BF2CECBCE478D28337195C61624EA850 /* Support Files */ = { - isa = PBXGroup; - children = ( - BB9B23825D0F5724628B05BDAFCD9968 /* Info.plist */, - 31C2821B848921B5ED88A61A243C0C3A /* Kingfisher.modulemap */, - EFFE48F0A90D6A470DD486AE1FC167ED /* Kingfisher.xcconfig */, - AE473D27D2537D86F3C5B96E5D91A446 /* Kingfisher-dummy.m */, - 115DD2EA149CDCE8EE00699F4B2284E2 /* Kingfisher-prefix.pch */, - 78DD2679CA2253698BA9B1B6495B0741 /* Kingfisher-umbrella.h */, - ); - name = "Support Files"; - path = "../Target Support Files/Kingfisher"; - sourceTree = ""; - }; - C7A3AA1EB5AC2F3D48CF3F673626A1CF /* Pod */ = { - isa = PBXGroup; - children = ( - CFA9E4ABA3D35975C48EBDD1C05F5D4F /* Assets */, - ); - path = Pod; - sourceTree = ""; - }; - CA3823E8BEEC183662553D74AC3AB64B /* Resources */ = { - isa = PBXGroup; - children = ( - C7A3AA1EB5AC2F3D48CF3F673626A1CF /* Pod */, - ); - name = Resources; - sourceTree = ""; - }; - CFA9E4ABA3D35975C48EBDD1C05F5D4F /* Assets */ = { - isa = PBXGroup; - children = ( - EECF3AD882A1E80D0D8D8CEA50631BAF /* PhotoSliderClose.png */, - A8B1808FA7ED39E0F777D3591319D42A /* PhotoSliderClose@2x.png */, - 00C5E3ADF65FE227498C1545282138FD /* PhotoSliderClose@3x.png */, - ); - path = Assets; - sourceTree = ""; - }; - D8D217B34B7E7E3190BF646C8F306463 /* Pods */ = { - isa = PBXGroup; - children = ( - 0F8C75C9679E1C5C20BA85A801A0CF25 /* Kingfisher */, - ); - name = Pods; - sourceTree = ""; - }; - DE2228F06FD6CF38AE883D2299707B09 /* Pods-PhotoSlider */ = { - isa = PBXGroup; - children = ( - 506CDA64D4F17994D2AB2A7D2EA94B33 /* Info.plist */, - 7D985510A2DA81BDB8EBE169C5F371B4 /* Pods-PhotoSlider.modulemap */, - 10B35FA7B3DAD2B1432BF0254A0254BD /* Pods-PhotoSlider-acknowledgements.markdown */, - EE46B7AB081562C1F388686F02BA1027 /* Pods-PhotoSlider-acknowledgements.plist */, - DA113D61EA5F362E1C0604784D8EECF5 /* Pods-PhotoSlider-dummy.m */, - 4A29E5BD022B1DEB2136F6411CE39634 /* Pods-PhotoSlider-frameworks.sh */, - 40633BFBBC7F94AFFF6D94F4C291E27A /* Pods-PhotoSlider-resources.sh */, - 39FC62F4499D9045C1F401EF609E59E4 /* Pods-PhotoSlider-umbrella.h */, - D15FA2BF26CD3E85F4F78D2226B7909F /* Pods-PhotoSlider.debug.xcconfig */, - E20F90850CDBFD8FF066AEC5B995AA96 /* Pods-PhotoSlider.release.xcconfig */, - ); - name = "Pods-PhotoSlider"; - path = "Target Support Files/Pods-PhotoSlider"; - sourceTree = ""; - }; - E4C82D8AB477A1D0B654D4E58E9A9E6E /* Classes */ = { - isa = PBXGroup; - children = ( - DDD1FAE289F33011E576A0AA97F5D300 /* ImageView.swift */, - E98F25A93A0BEBC3BE5D3CAD56EEB638 /* Photo.swift */, - 8F85C5B8E7C1B04A444A9E30D20B732F /* ProgressView.swift */, - 54DA508F61BBDC2CBAB4BB7448496D71 /* ViewController.swift */, - 9F83EB65CF5F60E95FA40F6979DC5F13 /* ZoomingAnimationController.swift */, - ); - path = Classes; - sourceTree = ""; - }; - E8D711A4F22EE6DE85C5C1A5C91A843E /* Pods-PhotoSliderDemoTests */ = { - isa = PBXGroup; - children = ( - 7FDFA89DC64D11AD8C835818CF7C62E6 /* Info.plist */, - 5CF855111CBBA53DF4FCBBFD5613F34F /* Pods-PhotoSliderDemoTests.modulemap */, - 7B63843BB01BBB4848FDA2F1305096D6 /* Pods-PhotoSliderDemoTests-acknowledgements.markdown */, - DB6217F0AC48EF7A74E934D67C853F9F /* Pods-PhotoSliderDemoTests-acknowledgements.plist */, - 9C314689C29F6117E52CE715A2E008C6 /* Pods-PhotoSliderDemoTests-dummy.m */, - 9B5FF6B1D953C2B45D745C93CEA88FB1 /* Pods-PhotoSliderDemoTests-frameworks.sh */, - 1669186C9571E18AD5DB9B4087797EF4 /* Pods-PhotoSliderDemoTests-resources.sh */, - 1FEBE13551244B980DB798E179559453 /* Pods-PhotoSliderDemoTests-umbrella.h */, - 338C25BDDA1F97C2825EC85F8119686F /* Pods-PhotoSliderDemoTests.debug.xcconfig */, - A7F9ED0B569B57EAF2DFEE02696E5DF6 /* Pods-PhotoSliderDemoTests.release.xcconfig */, - ); - name = "Pods-PhotoSliderDemoTests"; - path = "Target Support Files/Pods-PhotoSliderDemoTests"; - sourceTree = ""; - }; - ED33E5DACFB107F9CF83DF148DBB3B85 /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - DE2228F06FD6CF38AE883D2299707B09 /* Pods-PhotoSlider */, - 2CD310FB9F5D68608CCBEA595BA1C0C5 /* Pods-PhotoSliderDemo */, - E8D711A4F22EE6DE85C5C1A5C91A843E /* Pods-PhotoSliderDemoTests */, - 5573201CED44059EF9DC61FA88C53205 /* Pods-PhotoSliderDemoUITests */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - FC5E5FA450635A0F012DCF30264FE384 /* PhotoSlider */ = { - isa = PBXGroup; - children = ( - 474DDBD905E0ABEC7A5717B25A3F3B96 /* Pod */, - CA3823E8BEEC183662553D74AC3AB64B /* Resources */, - 01B9DA7AA1E359BC7BCD030B2621D165 /* Support Files */, - ); - name = PhotoSlider; - path = ../..; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 3820C67D4AC437267275B73AD34BDC1B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - AA49567C1B7A4C19CA6C290B153FFE9E /* Kingfisher-umbrella.h in Headers */, - F06730BEBDD7F73F53E0D65DFFBB86A4 /* Kingfisher.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 557B721DFE4BFBAA55F27EE441C78C2D /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 78C663691365A81F9F3C87A2DAA59788 /* Pods-PhotoSliderDemo-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7980B67C8EB5D571551F4A95B25F846A /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 1ADD714C9EDB3559C8879A53D7FE6715 /* Pods-PhotoSlider-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97AC8625ED1CFB60CD79CB9FE5117A17 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - A2F3C0FB7B57442752FF4F8DA92E43B8 /* Pods-PhotoSliderDemoTests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DE7B622F44F62CAACB5AD17CAD1B91A4 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - EBB81973E059C8A97865611C0003E4F4 /* PhotoSlider-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - E5136FED602FB3EC9435BB7944AAA253 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 599634A7E470BDE95476BD4110214F62 /* Pods-PhotoSliderDemoUITests-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 0C9C4346833DBEE6DAF3FEF8821C8BDC /* Pods-PhotoSliderDemoTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = B108BF55895357EAA635CAA2FE5A7897 /* Build configuration list for PBXNativeTarget "Pods-PhotoSliderDemoTests" */; - buildPhases = ( - 43B5F3F8EE5D3947F52C3771A57F3F2F /* Sources */, - A7860351C522216E42B6F5B7E01EE471 /* Frameworks */, - 97AC8625ED1CFB60CD79CB9FE5117A17 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - B16B2B3D99D110F9327A399100ED81E3 /* PBXTargetDependency */, - 97C73278BDF5ACA321682C6BA15247F6 /* PBXTargetDependency */, - ); - name = "Pods-PhotoSliderDemoTests"; - productName = "Pods-PhotoSliderDemoTests"; - productReference = 9D0E4E95976C1342DAA7FE5AF6888FF5 /* Pods_PhotoSliderDemoTests.framework */; - productType = "com.apple.product-type.framework"; - }; - 403BCB3712FC9A358EA8014B21DF5E3A /* Pods-PhotoSlider */ = { - isa = PBXNativeTarget; - buildConfigurationList = 57C44FD7C56812DE12BEBC5A2FFFABD1 /* Build configuration list for PBXNativeTarget "Pods-PhotoSlider" */; - buildPhases = ( - BFBD5DDDF613F2F243032B418B57EC66 /* Sources */, - ED1C06ECF43EEA5203FB7C0948A89805 /* Frameworks */, - 7980B67C8EB5D571551F4A95B25F846A /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - B6721BB2A60E69D51D87B37025441F0E /* PBXTargetDependency */, - 5A486715C65CE2C68DE5CD9284F345D1 /* PBXTargetDependency */, - ); - name = "Pods-PhotoSlider"; - productName = "Pods-PhotoSlider"; - productReference = 301B4E415AA0D457E10823BD7C1D198D /* Pods_PhotoSlider.framework */; - productType = "com.apple.product-type.framework"; - }; - 40CFCF6DAE2462819BF53240663646C7 /* PhotoSlider-PhotoSlider */ = { - isa = PBXNativeTarget; - buildConfigurationList = C608A12458B69ED3BE7879FBBD89A060 /* Build configuration list for PBXNativeTarget "PhotoSlider-PhotoSlider" */; - buildPhases = ( - 8CB9F5BFFDE4980BCADC8015156174E8 /* Sources */, - 19A534EB727BB023F37F2685923C5DD6 /* Frameworks */, - 1F83B74DF54F022BDD52B71C33D92F62 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "PhotoSlider-PhotoSlider"; - productName = "PhotoSlider-PhotoSlider"; - productReference = 7737B585E8C35661C8E744226A359990 /* PhotoSlider.bundle */; - productType = "com.apple.product-type.bundle"; - }; - 569C8362165AEF50D41D6984C547B126 /* Pods-PhotoSliderDemoUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 81E51D6D1ABEE8ED72CBA0A422214291 /* Build configuration list for PBXNativeTarget "Pods-PhotoSliderDemoUITests" */; - buildPhases = ( - A8BF9A347CAC411B149DA3359707FCDE /* Sources */, - D2FF332CEA8010256A5C578A83E30A57 /* Frameworks */, - E5136FED602FB3EC9435BB7944AAA253 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - AF5CC89C65FD0899555B771E8E02B054 /* PBXTargetDependency */, - 83D0ABB4C0CB5012D9454548FA86F915 /* PBXTargetDependency */, - ); - name = "Pods-PhotoSliderDemoUITests"; - productName = "Pods-PhotoSliderDemoUITests"; - productReference = 3D7E3EAA69C22668262975F32D3C357D /* Pods_PhotoSliderDemoUITests.framework */; - productType = "com.apple.product-type.framework"; - }; - A7715291CF8194C4497714EAD2BCD7E1 /* PhotoSlider */ = { - isa = PBXNativeTarget; - buildConfigurationList = ED7E972054D795F8B01D4135AF37D8DC /* Build configuration list for PBXNativeTarget "PhotoSlider" */; - buildPhases = ( - B63D9945E079A30A91C85BF8A4118DB4 /* Sources */, - 256C5541011E8B8457523566C620ABD4 /* Frameworks */, - 7B2660641B107E599226221FC8B440B9 /* Resources */, - DE7B622F44F62CAACB5AD17CAD1B91A4 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - 301AD468984C1E46D3EBFE6E6C681B60 /* PBXTargetDependency */, - DC453FC6D3CE780892CC96E4672638F1 /* PBXTargetDependency */, - ); - name = PhotoSlider; - productName = PhotoSlider; - productReference = 5FAA542CBA483CE3A100EF5D28E642BF /* PhotoSlider.framework */; - productType = "com.apple.product-type.framework"; - }; - BD04DCDEAABD5A140AFD5331F35A274C /* Pods-PhotoSliderDemo */ = { - isa = PBXNativeTarget; - buildConfigurationList = B8405609CCADE83A49EA4C43A3980A00 /* Build configuration list for PBXNativeTarget "Pods-PhotoSliderDemo" */; - buildPhases = ( - 1AAE32685C8EF50FBCC125A767EB0166 /* Sources */, - F194724689660D22D05E18BBA2FB8444 /* Frameworks */, - 557B721DFE4BFBAA55F27EE441C78C2D /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - CC9A52439191D2F26E5B74383B234365 /* PBXTargetDependency */, - 74CDB11DB54A55C615004CA3311268BE /* PBXTargetDependency */, - ); - name = "Pods-PhotoSliderDemo"; - productName = "Pods-PhotoSliderDemo"; - productReference = 718DE718A8D8DD8F33FBA39BE0117632 /* Pods_PhotoSliderDemo.framework */; - productType = "com.apple.product-type.framework"; - }; - F91226101ECE8FCFD221A3EC54481F82 /* Kingfisher */ = { - isa = PBXNativeTarget; - buildConfigurationList = 2F9192A8C8463ADD52DF5741858AF3C8 /* Build configuration list for PBXNativeTarget "Kingfisher" */; - buildPhases = ( - 2D462943B80446E53D45D3166FA1FAF5 /* Sources */, - 30C729F14CFF26D4A42722B80DA4F528 /* Frameworks */, - 3820C67D4AC437267275B73AD34BDC1B /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Kingfisher; - productName = Kingfisher; - productReference = E9F67DB0287F7BBCA6827548DB90B345 /* Kingfisher.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0700; - }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 45924D00B2EF910090726636A819620E /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - F91226101ECE8FCFD221A3EC54481F82 /* Kingfisher */, - A7715291CF8194C4497714EAD2BCD7E1 /* PhotoSlider */, - 40CFCF6DAE2462819BF53240663646C7 /* PhotoSlider-PhotoSlider */, - 403BCB3712FC9A358EA8014B21DF5E3A /* Pods-PhotoSlider */, - BD04DCDEAABD5A140AFD5331F35A274C /* Pods-PhotoSliderDemo */, - 0C9C4346833DBEE6DAF3FEF8821C8BDC /* Pods-PhotoSliderDemoTests */, - 569C8362165AEF50D41D6984C547B126 /* Pods-PhotoSliderDemoUITests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 1F83B74DF54F022BDD52B71C33D92F62 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - A9535F6087AA009391ABEA4BB4C9C371 /* PhotoSliderClose.png in Resources */, - 4CBC3574F28012ABE40BAA117E9E29D1 /* PhotoSliderClose@2x.png in Resources */, - 3476C79EE10816D7C2C54696D5AFA588 /* PhotoSliderClose@3x.png in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 7B2660641B107E599226221FC8B440B9 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 487C9381870D7D84CBA99FF810F95AC1 /* PhotoSlider.bundle in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 1AAE32685C8EF50FBCC125A767EB0166 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 52ED0F7B1C59C244BC6BE86E6B2CF4BF /* Pods-PhotoSliderDemo-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2D462943B80446E53D45D3166FA1FAF5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - DCBECA5C3AAF6595DECAC0F7F47B4A7F /* ImageCache.swift in Sources */, - F1A8435CE1A88A07192DFCC35CB43100 /* ImageDownloader.swift in Sources */, - B34A9BAD21635DAAD707E7F35187E57D /* ImageTransition.swift in Sources */, - 33FFD53E35A807F56F3C1BD8B83BFD3B /* Kingfisher-dummy.m in Sources */, - 371CF8D3ACEDE3983CE1E8B275CAA7CA /* KingfisherManager.swift in Sources */, - 595F31BC126E162D9C52835625E2EF88 /* KingfisherOptions.swift in Sources */, - 0756056E457318F3D8A0A21D71CDF764 /* KingfisherOptionsInfo.swift in Sources */, - 92A5CFD00C87578664623EA396678237 /* Resource.swift in Sources */, - CAA0E03CED88D172A4DB164016620A15 /* String+MD5.swift in Sources */, - A009139EF4C25E7793E01B37DE67F8FC /* ThreadHelper.swift in Sources */, - 8CF73FB3C1E427EFBB585346864D2017 /* UIButton+Kingfisher.swift in Sources */, - 1253018525DC8EAFADC635BB999C6EC5 /* UIImage+Extension.swift in Sources */, - 0B3C904CCFE255DB5F3853B3725A542E /* UIImageView+Kingfisher.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 43B5F3F8EE5D3947F52C3771A57F3F2F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 99E14A430191C549E6B690989B954178 /* Pods-PhotoSliderDemoTests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8CB9F5BFFDE4980BCADC8015156174E8 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - A8BF9A347CAC411B149DA3359707FCDE /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - D723987319609040462242DFCDFB2183 /* Pods-PhotoSliderDemoUITests-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B63D9945E079A30A91C85BF8A4118DB4 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - BC104E9A528DB3ACD251EEA5BE69F1AC /* ImageView.swift in Sources */, - 5E5FD5449205F3346EFE8A642CF37902 /* Photo.swift in Sources */, - 3E7AC9DF6B012260B8E253EF051320A7 /* PhotoSlider-dummy.m in Sources */, - 1F9EB74A44B8D52F01B91BA7F091C411 /* ProgressView.swift in Sources */, - C28FB437EB0407299A78B3D8A9160611 /* ViewController.swift in Sources */, - 85577E0474D3552E2706D76E8110F43F /* ZoomingAnimationController.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - BFBD5DDDF613F2F243032B418B57EC66 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8934BE2C777590F589143CC5D1C12F87 /* Pods-PhotoSlider-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 301AD468984C1E46D3EBFE6E6C681B60 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Kingfisher; - target = F91226101ECE8FCFD221A3EC54481F82 /* Kingfisher */; - targetProxy = 602E6CD66E484988C657ECC23E945974 /* PBXContainerItemProxy */; - }; - 5A486715C65CE2C68DE5CD9284F345D1 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = PhotoSlider; - target = A7715291CF8194C4497714EAD2BCD7E1 /* PhotoSlider */; - targetProxy = 3DF66D6E00E498A0EE6ED559E973036D /* PBXContainerItemProxy */; - }; - 74CDB11DB54A55C615004CA3311268BE /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = PhotoSlider; - target = A7715291CF8194C4497714EAD2BCD7E1 /* PhotoSlider */; - targetProxy = D35F1525CDF20EB66A90CD3E5DEF2E35 /* PBXContainerItemProxy */; - }; - 83D0ABB4C0CB5012D9454548FA86F915 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = PhotoSlider; - target = A7715291CF8194C4497714EAD2BCD7E1 /* PhotoSlider */; - targetProxy = 4ACFB037958FA8BCDCD00D6311569773 /* PBXContainerItemProxy */; - }; - 97C73278BDF5ACA321682C6BA15247F6 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = PhotoSlider; - target = A7715291CF8194C4497714EAD2BCD7E1 /* PhotoSlider */; - targetProxy = 367AE50F379B7C2C641DF089A29DBE81 /* PBXContainerItemProxy */; - }; - AF5CC89C65FD0899555B771E8E02B054 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Kingfisher; - target = F91226101ECE8FCFD221A3EC54481F82 /* Kingfisher */; - targetProxy = C8D80E17767941F28949FFEFCBFDFCD6 /* PBXContainerItemProxy */; - }; - B16B2B3D99D110F9327A399100ED81E3 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Kingfisher; - target = F91226101ECE8FCFD221A3EC54481F82 /* Kingfisher */; - targetProxy = DA8620A46E7EAF65F6CA17774A76631F /* PBXContainerItemProxy */; - }; - B6721BB2A60E69D51D87B37025441F0E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Kingfisher; - target = F91226101ECE8FCFD221A3EC54481F82 /* Kingfisher */; - targetProxy = 9BADCA4546FA3F95D2FFF3941C618D72 /* PBXContainerItemProxy */; - }; - CC9A52439191D2F26E5B74383B234365 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Kingfisher; - target = F91226101ECE8FCFD221A3EC54481F82 /* Kingfisher */; - targetProxy = 01CA9358C0AA4938AC03CE820534481F /* PBXContainerItemProxy */; - }; - DC453FC6D3CE780892CC96E4672638F1 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "PhotoSlider-PhotoSlider"; - target = 40CFCF6DAE2462819BF53240663646C7 /* PhotoSlider-PhotoSlider */; - targetProxy = CC53814292E994BD6F50E56E907923C2 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 1AF496FEAA1B7A1EB0ECA53965BAC234 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D15FA2BF26CD3E85F4F78D2226B7909F /* Pods-PhotoSlider.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-PhotoSlider/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_PhotoSlider; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 32CBF65A5EC3691B59FF4ED18461B4E0 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = F4510A9A7C5E6D8C34E8AF6F2175BB87 /* PhotoSlider.xcconfig */; - buildSettings = { - ENABLE_STRICT_OBJC_MSGSEND = YES; - PRODUCT_NAME = PhotoSlider; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - WRAPPER_EXTENSION = bundle; - }; - name = Release; - }; - 51C4B2295A2198111D88A2A0D5254019 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 53EF38F3D11E96109B7469D39F878042 /* Pods-PhotoSliderDemoUITests.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-PhotoSliderDemoUITests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_PhotoSliderDemoUITests; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 5456292B5E2470B8C8AC60B449AF2420 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 123F04C1B84BDF29DE1672861AD2DBD2 /* Pods-PhotoSliderDemo.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-PhotoSliderDemo/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_PhotoSliderDemo; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 5B6B1AD1104114D4614D331C7A92022E /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E20F90850CDBFD8FF066AEC5B995AA96 /* Pods-PhotoSlider.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-PhotoSlider/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_PhotoSlider; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 691EA53F38F1BE33F6365D0EAC451818 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = F4510A9A7C5E6D8C34E8AF6F2175BB87 /* PhotoSlider.xcconfig */; - buildSettings = { - ENABLE_STRICT_OBJC_MSGSEND = YES; - PRODUCT_NAME = PhotoSlider; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - WRAPPER_EXTENSION = bundle; - }; - name = Debug; - }; - 7970DEEF0D1339FA1EA28AF6D9FED10F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E5FA0BD5104AAF69B5404312B3F5952E /* Pods-PhotoSliderDemoUITests.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-PhotoSliderDemoUITests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_PhotoSliderDemoUITests; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 7C1475A4F0A56DB4ADF714B0AA438527 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = EFFE48F0A90D6A470DD486AE1FC167ED /* Kingfisher.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_PREFIX_HEADER = "Target Support Files/Kingfisher/Kingfisher-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Kingfisher/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Kingfisher/Kingfisher.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = Kingfisher; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - A2A3FCA6599E8034578E80B9179C76CD /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - ONLY_ACTIVE_ARCH = YES; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - AB66C978656E240C917407B296597F92 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - AD7B18B3DC82BA2B2AFE460E231E4A31 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = F4510A9A7C5E6D8C34E8AF6F2175BB87 /* PhotoSlider.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_PREFIX_HEADER = "Target Support Files/PhotoSlider/PhotoSlider-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/PhotoSlider/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/PhotoSlider/PhotoSlider.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = PhotoSlider; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - B96BB0A2C11F6D598FA2FCA37B2F482F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = EFFE48F0A90D6A470DD486AE1FC167ED /* Kingfisher.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_PREFIX_HEADER = "Target Support Files/Kingfisher/Kingfisher-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Kingfisher/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/Kingfisher/Kingfisher.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = Kingfisher; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - C44D0056D2B01D87B933C8D030CA9D3C /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = F4510A9A7C5E6D8C34E8AF6F2175BB87 /* PhotoSlider.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_PREFIX_HEADER = "Target Support Files/PhotoSlider/PhotoSlider-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/PhotoSlider/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/PhotoSlider/PhotoSlider.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = PhotoSlider; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - CE17674411F610418337E1AEFEACA907 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 338C25BDDA1F97C2825EC85F8119686F /* Pods-PhotoSliderDemoTests.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-PhotoSliderDemoTests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_PhotoSliderDemoTests; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - E04E15384A3B0F1E1E9AD5703F20E124 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A7F9ED0B569B57EAF2DFEE02696E5DF6 /* Pods-PhotoSliderDemoTests.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-PhotoSliderDemoTests/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_PhotoSliderDemoTests; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - E9E931DC549A304CACD37B8C7303A019 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6ADEE61AFBC8EA9B696B981857829BD8 /* Pods-PhotoSliderDemo.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - INFOPLIST_FILE = "Target Support Files/Pods-PhotoSliderDemo/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.2; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_NAME = Pods_PhotoSliderDemo; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A2A3FCA6599E8034578E80B9179C76CD /* Debug */, - AB66C978656E240C917407B296597F92 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2F9192A8C8463ADD52DF5741858AF3C8 /* Build configuration list for PBXNativeTarget "Kingfisher" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B96BB0A2C11F6D598FA2FCA37B2F482F /* Debug */, - 7C1475A4F0A56DB4ADF714B0AA438527 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 57C44FD7C56812DE12BEBC5A2FFFABD1 /* Build configuration list for PBXNativeTarget "Pods-PhotoSlider" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 1AF496FEAA1B7A1EB0ECA53965BAC234 /* Debug */, - 5B6B1AD1104114D4614D331C7A92022E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 81E51D6D1ABEE8ED72CBA0A422214291 /* Build configuration list for PBXNativeTarget "Pods-PhotoSliderDemoUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 7970DEEF0D1339FA1EA28AF6D9FED10F /* Debug */, - 51C4B2295A2198111D88A2A0D5254019 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B108BF55895357EAA635CAA2FE5A7897 /* Build configuration list for PBXNativeTarget "Pods-PhotoSliderDemoTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - CE17674411F610418337E1AEFEACA907 /* Debug */, - E04E15384A3B0F1E1E9AD5703F20E124 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - B8405609CCADE83A49EA4C43A3980A00 /* Build configuration list for PBXNativeTarget "Pods-PhotoSliderDemo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 5456292B5E2470B8C8AC60B449AF2420 /* Debug */, - E9E931DC549A304CACD37B8C7303A019 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C608A12458B69ED3BE7879FBBD89A060 /* Build configuration list for PBXNativeTarget "PhotoSlider-PhotoSlider" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 691EA53F38F1BE33F6365D0EAC451818 /* Debug */, - 32CBF65A5EC3691B59FF4ED18461B4E0 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - ED7E972054D795F8B01D4135AF37D8DC /* Build configuration list for PBXNativeTarget "PhotoSlider" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - AD7B18B3DC82BA2B2AFE460E231E4A31 /* Debug */, - C44D0056D2B01D87B933C8D030CA9D3C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; -} diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/PhotoSlider.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/PhotoSlider.xcscheme deleted file mode 100644 index 03a4427..0000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/PhotoSlider.xcscheme +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Target Support Files/Kingfisher/Info.plist b/Example/Pods/Target Support Files/Kingfisher/Info.plist deleted file mode 100644 index 6a89c81..0000000 --- a/Example/Pods/Target Support Files/Kingfisher/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.8.5 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Kingfisher/Kingfisher-dummy.m b/Example/Pods/Target Support Files/Kingfisher/Kingfisher-dummy.m deleted file mode 100644 index 1b89d0e..0000000 --- a/Example/Pods/Target Support Files/Kingfisher/Kingfisher-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Kingfisher : NSObject -@end -@implementation PodsDummy_Kingfisher -@end diff --git a/Example/Pods/Target Support Files/Kingfisher/Kingfisher-prefix.pch b/Example/Pods/Target Support Files/Kingfisher/Kingfisher-prefix.pch deleted file mode 100644 index aa992a4..0000000 --- a/Example/Pods/Target Support Files/Kingfisher/Kingfisher-prefix.pch +++ /dev/null @@ -1,4 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - diff --git a/Example/Pods/Target Support Files/Kingfisher/Kingfisher-umbrella.h b/Example/Pods/Target Support Files/Kingfisher/Kingfisher-umbrella.h deleted file mode 100644 index 9fe5254..0000000 --- a/Example/Pods/Target Support Files/Kingfisher/Kingfisher-umbrella.h +++ /dev/null @@ -1,7 +0,0 @@ -#import - -#import "Kingfisher.h" - -FOUNDATION_EXPORT double KingfisherVersionNumber; -FOUNDATION_EXPORT const unsigned char KingfisherVersionString[]; - diff --git a/Example/Pods/Target Support Files/Kingfisher/Kingfisher.modulemap b/Example/Pods/Target Support Files/Kingfisher/Kingfisher.modulemap deleted file mode 100644 index 2a20d91..0000000 --- a/Example/Pods/Target Support Files/Kingfisher/Kingfisher.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Kingfisher { - umbrella header "Kingfisher-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Kingfisher/Kingfisher.xcconfig b/Example/Pods/Target Support Files/Kingfisher/Kingfisher.xcconfig deleted file mode 100644 index dc2f533..0000000 --- a/Example/Pods/Target Support Files/Kingfisher/Kingfisher.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Kingfisher" "${PODS_ROOT}/Headers/Public" -OTHER_LDFLAGS = -framework "CFNetwork" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/Pods/Target Support Files/PhotoSlider/Info.plist b/Example/Pods/Target Support Files/PhotoSlider/Info.plist deleted file mode 100644 index c194e39..0000000 --- a/Example/Pods/Target Support Files/PhotoSlider/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 0.12.1 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-dummy.m b/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-dummy.m deleted file mode 100644 index e97f858..0000000 --- a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_PhotoSlider : NSObject -@end -@implementation PodsDummy_PhotoSlider -@end diff --git a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-prefix.pch b/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-prefix.pch deleted file mode 100644 index aa992a4..0000000 --- a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-prefix.pch +++ /dev/null @@ -1,4 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - diff --git a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-umbrella.h b/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-umbrella.h deleted file mode 100644 index ed4165d..0000000 --- a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider-umbrella.h +++ /dev/null @@ -1,6 +0,0 @@ -#import - - -FOUNDATION_EXPORT double PhotoSliderVersionNumber; -FOUNDATION_EXPORT const unsigned char PhotoSliderVersionString[]; - diff --git a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider.modulemap b/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider.modulemap deleted file mode 100644 index d95306d..0000000 --- a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module PhotoSlider { - umbrella header "PhotoSlider-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider.xcconfig b/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider.xcconfig deleted file mode 100644 index 9f9dcc7..0000000 --- a/Example/Pods/Target Support Files/PhotoSlider/PhotoSlider.xcconfig +++ /dev/null @@ -1,5 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/PhotoSlider" "${PODS_ROOT}/Headers/Public" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Info.plist b/Example/Pods/Target Support Files/Pods-PhotoSlider/Info.plist deleted file mode 100644 index 6974542..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-acknowledgements.markdown deleted file mode 100644 index 900ce62..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-acknowledgements.markdown +++ /dev/null @@ -1,52 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Kingfisher - -The MIT License (MIT) - -Copyright (c) 2015 Wei Wang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - -## PhotoSlider - -Copyright (c) 2015 nakajijapan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Generated by CocoaPods - http://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-acknowledgements.plist deleted file mode 100644 index 520358d..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-acknowledgements.plist +++ /dev/null @@ -1,86 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - The MIT License (MIT) - -Copyright (c) 2015 Wei Wang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - Title - Kingfisher - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2015 nakajijapan <pp.kupepo.gattyanmo@gmail.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - Title - PhotoSlider - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - http://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-dummy.m b/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-dummy.m deleted file mode 100644 index b98544a..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_PhotoSlider : NSObject -@end -@implementation PodsDummy_Pods_PhotoSlider -@end diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-frameworks.sh b/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-frameworks.sh deleted file mode 100755 index d450a68..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-frameworks.sh +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "Pods-PhotoSlider/Kingfisher.framework" - install_framework "Pods-PhotoSlider/PhotoSlider.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "Pods-PhotoSlider/Kingfisher.framework" - install_framework "Pods-PhotoSlider/PhotoSlider.framework" -fi diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-resources.sh b/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-resources.sh deleted file mode 100755 index 16774fb..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-resources.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -realpath() { - DIRECTORY="$(cd "${1%/*}" && pwd)" - FILENAME="${1##*/}" - echo "$DIRECTORY/$FILENAME" -} - -install_resource() -{ - case $1 in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; - *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "`realpath $PODS_ROOT`*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-umbrella.h b/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-umbrella.h deleted file mode 100644 index b31ac5c..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider-umbrella.h +++ /dev/null @@ -1,6 +0,0 @@ -#import - - -FOUNDATION_EXPORT double Pods_PhotoSliderVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_PhotoSliderVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.debug.xcconfig b/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.debug.xcconfig deleted file mode 100644 index 0cc2594..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.debug.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -EMBEDDED_CONTENT_CONTAINS_SWIFT = YES -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Kingfisher.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PhotoSlider.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Kingfisher" -framework "PhotoSlider" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PhotoSlider -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.modulemap b/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.modulemap deleted file mode 100644 index eaa23a4..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_PhotoSlider { - umbrella header "Pods-PhotoSlider-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.release.xcconfig b/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.release.xcconfig deleted file mode 100644 index 0cc2594..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSlider/Pods-PhotoSlider.release.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -EMBEDDED_CONTENT_CONTAINS_SWIFT = YES -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Kingfisher.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PhotoSlider.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Kingfisher" -framework "PhotoSlider" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PhotoSlider -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Info.plist b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Info.plist deleted file mode 100644 index 6974542..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-acknowledgements.markdown deleted file mode 100644 index 900ce62..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-acknowledgements.markdown +++ /dev/null @@ -1,52 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Kingfisher - -The MIT License (MIT) - -Copyright (c) 2015 Wei Wang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - -## PhotoSlider - -Copyright (c) 2015 nakajijapan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Generated by CocoaPods - http://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-acknowledgements.plist deleted file mode 100644 index 520358d..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-acknowledgements.plist +++ /dev/null @@ -1,86 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - The MIT License (MIT) - -Copyright (c) 2015 Wei Wang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - Title - Kingfisher - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2015 nakajijapan <pp.kupepo.gattyanmo@gmail.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - Title - PhotoSlider - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - http://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-dummy.m b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-dummy.m deleted file mode 100644 index d5913e2..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_PhotoSliderDemo : NSObject -@end -@implementation PodsDummy_Pods_PhotoSliderDemo -@end diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-frameworks.sh b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-frameworks.sh deleted file mode 100755 index cefc382..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-frameworks.sh +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "Pods-PhotoSliderDemo/Kingfisher.framework" - install_framework "Pods-PhotoSliderDemo/PhotoSlider.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "Pods-PhotoSliderDemo/Kingfisher.framework" - install_framework "Pods-PhotoSliderDemo/PhotoSlider.framework" -fi diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-resources.sh b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-resources.sh deleted file mode 100755 index 16774fb..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-resources.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -realpath() { - DIRECTORY="$(cd "${1%/*}" && pwd)" - FILENAME="${1##*/}" - echo "$DIRECTORY/$FILENAME" -} - -install_resource() -{ - case $1 in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; - *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "`realpath $PODS_ROOT`*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-umbrella.h b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-umbrella.h deleted file mode 100644 index e1166a0..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo-umbrella.h +++ /dev/null @@ -1,6 +0,0 @@ -#import - - -FOUNDATION_EXPORT double Pods_PhotoSliderDemoVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_PhotoSliderDemoVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.debug.xcconfig b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.debug.xcconfig deleted file mode 100644 index f1da009..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.debug.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -EMBEDDED_CONTENT_CONTAINS_SWIFT = YES -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Kingfisher.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PhotoSlider.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Kingfisher" -framework "PhotoSlider" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PhotoSliderDemo -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.modulemap b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.modulemap deleted file mode 100644 index 577ad2b..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_PhotoSliderDemo { - umbrella header "Pods-PhotoSliderDemo-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.release.xcconfig b/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.release.xcconfig deleted file mode 100644 index f1da009..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemo/Pods-PhotoSliderDemo.release.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -EMBEDDED_CONTENT_CONTAINS_SWIFT = YES -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Kingfisher.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PhotoSlider.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Kingfisher" -framework "PhotoSlider" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PhotoSliderDemo -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Info.plist b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Info.plist deleted file mode 100644 index 6974542..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-acknowledgements.markdown deleted file mode 100644 index 900ce62..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-acknowledgements.markdown +++ /dev/null @@ -1,52 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Kingfisher - -The MIT License (MIT) - -Copyright (c) 2015 Wei Wang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - -## PhotoSlider - -Copyright (c) 2015 nakajijapan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Generated by CocoaPods - http://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-acknowledgements.plist deleted file mode 100644 index 520358d..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-acknowledgements.plist +++ /dev/null @@ -1,86 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - The MIT License (MIT) - -Copyright (c) 2015 Wei Wang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - Title - Kingfisher - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2015 nakajijapan <pp.kupepo.gattyanmo@gmail.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - Title - PhotoSlider - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - http://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-dummy.m b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-dummy.m deleted file mode 100644 index 0b47500..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_PhotoSliderDemoTests : NSObject -@end -@implementation PodsDummy_Pods_PhotoSliderDemoTests -@end diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-frameworks.sh b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-frameworks.sh deleted file mode 100755 index 0534982..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-frameworks.sh +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "Pods-PhotoSliderDemoTests/Kingfisher.framework" - install_framework "Pods-PhotoSliderDemoTests/PhotoSlider.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "Pods-PhotoSliderDemoTests/Kingfisher.framework" - install_framework "Pods-PhotoSliderDemoTests/PhotoSlider.framework" -fi diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-resources.sh b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-resources.sh deleted file mode 100755 index 16774fb..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-resources.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -realpath() { - DIRECTORY="$(cd "${1%/*}" && pwd)" - FILENAME="${1##*/}" - echo "$DIRECTORY/$FILENAME" -} - -install_resource() -{ - case $1 in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; - *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "`realpath $PODS_ROOT`*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-umbrella.h b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-umbrella.h deleted file mode 100644 index 51793c3..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests-umbrella.h +++ /dev/null @@ -1,6 +0,0 @@ -#import - - -FOUNDATION_EXPORT double Pods_PhotoSliderDemoTestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_PhotoSliderDemoTestsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.debug.xcconfig deleted file mode 100644 index 5674311..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.debug.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -EMBEDDED_CONTENT_CONTAINS_SWIFT = YES -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Kingfisher.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PhotoSlider.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Kingfisher" -framework "PhotoSlider" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PhotoSliderDemoTests -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.modulemap b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.modulemap deleted file mode 100644 index d04f468..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_PhotoSliderDemoTests { - umbrella header "Pods-PhotoSliderDemoTests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.release.xcconfig b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.release.xcconfig deleted file mode 100644 index 5674311..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoTests/Pods-PhotoSliderDemoTests.release.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -EMBEDDED_CONTENT_CONTAINS_SWIFT = YES -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Kingfisher.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PhotoSlider.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Kingfisher" -framework "PhotoSlider" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PhotoSliderDemoTests -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Info.plist b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Info.plist deleted file mode 100644 index 6974542..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.cocoapods.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-acknowledgements.markdown deleted file mode 100644 index 900ce62..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-acknowledgements.markdown +++ /dev/null @@ -1,52 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## Kingfisher - -The MIT License (MIT) - -Copyright (c) 2015 Wei Wang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - -## PhotoSlider - -Copyright (c) 2015 nakajijapan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Generated by CocoaPods - http://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-acknowledgements.plist deleted file mode 100644 index 520358d..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-acknowledgements.plist +++ /dev/null @@ -1,86 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - The MIT License (MIT) - -Copyright (c) 2015 Wei Wang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - Title - Kingfisher - Type - PSGroupSpecifier - - - FooterText - Copyright (c) 2015 nakajijapan <pp.kupepo.gattyanmo@gmail.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - Title - PhotoSlider - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - http://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-dummy.m b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-dummy.m deleted file mode 100644 index a5a4f32..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_PhotoSliderDemoUITests : NSObject -@end -@implementation PodsDummy_Pods_PhotoSliderDemoUITests -@end diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-frameworks.sh b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-frameworks.sh deleted file mode 100755 index 0593dcc..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-frameworks.sh +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - - -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_framework "Pods-PhotoSliderDemoUITests/Kingfisher.framework" - install_framework "Pods-PhotoSliderDemoUITests/PhotoSlider.framework" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_framework "Pods-PhotoSliderDemoUITests/Kingfisher.framework" - install_framework "Pods-PhotoSliderDemoUITests/PhotoSlider.framework" -fi diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-resources.sh b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-resources.sh deleted file mode 100755 index 16774fb..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-resources.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -realpath() { - DIRECTORY="$(cd "${1%/*}" && pwd)" - FILENAME="${1##*/}" - echo "$DIRECTORY/$FILENAME" -} - -install_resource() -{ - case $1 in - *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" - ;; - *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; - *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" - ;; - esac -} - -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "`realpath $PODS_ROOT`*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-umbrella.h b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-umbrella.h deleted file mode 100644 index 9cde761..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests-umbrella.h +++ /dev/null @@ -1,6 +0,0 @@ -#import - - -FOUNDATION_EXPORT double Pods_PhotoSliderDemoUITestsVersionNumber; -FOUNDATION_EXPORT const unsigned char Pods_PhotoSliderDemoUITestsVersionString[]; - diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.debug.xcconfig deleted file mode 100644 index 9757e80..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.debug.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -EMBEDDED_CONTENT_CONTAINS_SWIFT = YES -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Kingfisher.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PhotoSlider.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Kingfisher" -framework "PhotoSlider" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PhotoSliderDemoUITests -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.modulemap b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.modulemap deleted file mode 100644 index bf7e985..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module Pods_PhotoSliderDemoUITests { - umbrella header "Pods-PhotoSliderDemoUITests-umbrella.h" - - export * - module * { export * } -} diff --git a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.release.xcconfig b/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.release.xcconfig deleted file mode 100644 index 9757e80..0000000 --- a/Example/Pods/Target Support Files/Pods-PhotoSliderDemoUITests/Pods-PhotoSliderDemoUITests.release.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -EMBEDDED_CONTENT_CONTAINS_SWIFT = YES -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/Kingfisher.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PhotoSlider.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "Kingfisher" -framework "PhotoSlider" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PhotoSliderDemoUITests -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file diff --git a/PhotoSlider.podspec b/PhotoSlider.podspec index c08945d..fa07249 100644 --- a/PhotoSlider.podspec +++ b/PhotoSlider.podspec @@ -20,9 +20,9 @@ Pod::Spec.new do |s| s.platform = :ios, '8.0' s.requires_arc = true - s.source_files = 'Pod/Classes/**/*' + s.source_files = 'Sources/Classes/**/*' s.resource_bundles = { - 'PhotoSlider' => ['Pod/Assets/*.png'] + 'PhotoSlider' => ['Sources/Assets/*.png'] } s.dependency 'Kingfisher' diff --git a/PhotoSlider.xcodeproj/project.pbxproj b/PhotoSlider.xcodeproj/project.pbxproj new file mode 100644 index 0000000..845a310 --- /dev/null +++ b/PhotoSlider.xcodeproj/project.pbxproj @@ -0,0 +1,457 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + DC0E42021C3182080090AC94 /* ImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC0E41C71C317E850090AC94 /* ImageView.swift */; }; + DC0E42031C3182090090AC94 /* Photo.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC0E41C81C317E850090AC94 /* Photo.swift */; }; + DC0E42041C31820C0090AC94 /* ProgressView.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC0E41C91C317E850090AC94 /* ProgressView.swift */; }; + DC0E42051C3182110090AC94 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC0E41CA1C317E850090AC94 /* ViewController.swift */; }; + DC0E42061C3182130090AC94 /* ZoomingAnimationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC0E41CB1C317E850090AC94 /* ZoomingAnimationController.swift */; }; + DC0E42071C3182180090AC94 /* PhotoSliderClose.png in Resources */ = {isa = PBXBuildFile; fileRef = DC0E41C21C317E850090AC94 /* PhotoSliderClose.png */; }; + DC0E42081C31821B0090AC94 /* PhotoSliderClose@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC0E41C31C317E850090AC94 /* PhotoSliderClose@2x.png */; }; + DC0E42091C31821D0090AC94 /* PhotoSliderClose@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = DC0E41C41C317E850090AC94 /* PhotoSliderClose@3x.png */; }; + DC0E420A1C31822F0090AC94 /* Kingfisher.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC0E41F31C3181230090AC94 /* Kingfisher.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + DC0E42181C3184D80090AC94 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DC0E42101C3184D80090AC94 /* Kingfisher.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = D1ED2D0B1AD2CFA600CFC3EB; + remoteInfo = "Kingfisher-Demo"; + }; + DC0E421A1C3184D80090AC94 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DC0E42101C3184D80090AC94 /* Kingfisher.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = D1ED2D351AD2D09F00CFC3EB; + remoteInfo = Kingfisher; + }; + DC0E421C1C3184D80090AC94 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DC0E42101C3184D80090AC94 /* Kingfisher.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = D1ED2D3F1AD2D09F00CFC3EB; + remoteInfo = KingfisherTests; + }; + DC0E421E1C3184D80090AC94 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DC0E42101C3184D80090AC94 /* Kingfisher.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = D13F49C21BEDA53F00CE335D; + remoteInfo = "Kingfisher-tvOS-Demo"; + }; + DC0E42201C3184D80090AC94 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DC0E42101C3184D80090AC94 /* Kingfisher.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = D13F49D61BEDA67C00CE335D; + remoteInfo = "Kingfisher-tvOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + DC0E41BD1C317E850090AC94 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = PhotoSlider/Info.plist; sourceTree = ""; }; + DC0E41BE1C317E850090AC94 /* PhotoSlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PhotoSlider.h; path = PhotoSlider/PhotoSlider.h; sourceTree = ""; }; + DC0E41C21C317E850090AC94 /* PhotoSliderClose.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = PhotoSliderClose.png; sourceTree = ""; }; + DC0E41C31C317E850090AC94 /* PhotoSliderClose@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "PhotoSliderClose@2x.png"; sourceTree = ""; }; + DC0E41C41C317E850090AC94 /* PhotoSliderClose@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "PhotoSliderClose@3x.png"; sourceTree = ""; }; + DC0E41C71C317E850090AC94 /* ImageView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageView.swift; sourceTree = ""; }; + DC0E41C81C317E850090AC94 /* Photo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Photo.swift; sourceTree = ""; }; + DC0E41C91C317E850090AC94 /* ProgressView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgressView.swift; sourceTree = ""; }; + DC0E41CA1C317E850090AC94 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + DC0E41CB1C317E850090AC94 /* ZoomingAnimationController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ZoomingAnimationController.swift; sourceTree = ""; }; + DC0E41F31C3181230090AC94 /* Kingfisher.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Kingfisher.framework; path = Carthage/Build/iOS/Kingfisher.framework; sourceTree = ""; }; + DC0E41FA1C3181EE0090AC94 /* PhotoSlider.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PhotoSlider.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + DC0E42101C3184D80090AC94 /* Kingfisher.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Kingfisher.xcodeproj; path = Carthage/Checkouts/Kingfisher/Kingfisher.xcodeproj; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + DC0E41F61C3181EE0090AC94 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + DC0E420A1C31822F0090AC94 /* Kingfisher.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + DC0E419E1C317DD50090AC94 = { + isa = PBXGroup; + children = ( + DC0E42101C3184D80090AC94 /* Kingfisher.xcodeproj */, + DC0E41BC1C317E850090AC94 /* PhotoSlider */, + DC0E41BD1C317E850090AC94 /* Info.plist */, + DC0E41BE1C317E850090AC94 /* PhotoSlider.h */, + DC0E41BF1C317E850090AC94 /* Sources */, + DC0E420F1C3184880090AC94 /* Frameworks */, + DC0E41A81C317DD50090AC94 /* Products */, + ); + sourceTree = ""; + }; + DC0E41A81C317DD50090AC94 /* Products */ = { + isa = PBXGroup; + children = ( + DC0E41FA1C3181EE0090AC94 /* PhotoSlider.framework */, + ); + name = Products; + sourceTree = ""; + }; + DC0E41BC1C317E850090AC94 /* PhotoSlider */ = { + isa = PBXGroup; + children = ( + ); + path = PhotoSlider; + sourceTree = ""; + }; + DC0E41BF1C317E850090AC94 /* Sources */ = { + isa = PBXGroup; + children = ( + DC0E41C01C317E850090AC94 /* Assets */, + DC0E41C51C317E850090AC94 /* Classes */, + ); + path = Sources; + sourceTree = ""; + }; + DC0E41C01C317E850090AC94 /* Assets */ = { + isa = PBXGroup; + children = ( + DC0E41C21C317E850090AC94 /* PhotoSliderClose.png */, + DC0E41C31C317E850090AC94 /* PhotoSliderClose@2x.png */, + DC0E41C41C317E850090AC94 /* PhotoSliderClose@3x.png */, + ); + path = Assets; + sourceTree = ""; + }; + DC0E41C51C317E850090AC94 /* Classes */ = { + isa = PBXGroup; + children = ( + DC0E41C71C317E850090AC94 /* ImageView.swift */, + DC0E41C81C317E850090AC94 /* Photo.swift */, + DC0E41C91C317E850090AC94 /* ProgressView.swift */, + DC0E41CA1C317E850090AC94 /* ViewController.swift */, + DC0E41CB1C317E850090AC94 /* ZoomingAnimationController.swift */, + ); + path = Classes; + sourceTree = ""; + }; + DC0E420F1C3184880090AC94 /* Frameworks */ = { + isa = PBXGroup; + children = ( + DC0E41F31C3181230090AC94 /* Kingfisher.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + DC0E42111C3184D80090AC94 /* Products */ = { + isa = PBXGroup; + children = ( + DC0E42191C3184D80090AC94 /* Kingfisher-Demo.app */, + DC0E421B1C3184D80090AC94 /* Kingfisher.framework */, + DC0E421D1C3184D80090AC94 /* KingfisherTests.xctest */, + DC0E421F1C3184D80090AC94 /* Kingfisher-tvOS-Demo.app */, + DC0E42211C3184D80090AC94 /* Kingfisher.framework */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + DC0E41F71C3181EE0090AC94 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + DC0E41F91C3181EE0090AC94 /* PhotoSlider */ = { + isa = PBXNativeTarget; + buildConfigurationList = DC0E41FF1C3181EE0090AC94 /* Build configuration list for PBXNativeTarget "PhotoSlider" */; + buildPhases = ( + DC0E41F51C3181EE0090AC94 /* Sources */, + DC0E41F61C3181EE0090AC94 /* Frameworks */, + DC0E41F71C3181EE0090AC94 /* Headers */, + DC0E41F81C3181EE0090AC94 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PhotoSlider; + productName = PhotoSlider; + productReference = DC0E41FA1C3181EE0090AC94 /* PhotoSlider.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DC0E419F1C317DD50090AC94 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0720; + LastUpgradeCheck = 0720; + ORGANIZATIONNAME = nakajijapan; + TargetAttributes = { + DC0E41F91C3181EE0090AC94 = { + CreatedOnToolsVersion = 7.2; + }; + }; + }; + buildConfigurationList = DC0E41A21C317DD50090AC94 /* Build configuration list for PBXProject "PhotoSlider" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = DC0E419E1C317DD50090AC94; + productRefGroup = DC0E41A81C317DD50090AC94 /* Products */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = DC0E42111C3184D80090AC94 /* Products */; + ProjectRef = DC0E42101C3184D80090AC94 /* Kingfisher.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + DC0E41F91C3181EE0090AC94 /* PhotoSlider */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + DC0E42191C3184D80090AC94 /* Kingfisher-Demo.app */ = { + isa = PBXReferenceProxy; + fileType = wrapper.application; + path = "Kingfisher-Demo.app"; + remoteRef = DC0E42181C3184D80090AC94 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + DC0E421B1C3184D80090AC94 /* Kingfisher.framework */ = { + isa = PBXReferenceProxy; + fileType = wrapper.framework; + path = Kingfisher.framework; + remoteRef = DC0E421A1C3184D80090AC94 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + DC0E421D1C3184D80090AC94 /* KingfisherTests.xctest */ = { + isa = PBXReferenceProxy; + fileType = wrapper.cfbundle; + path = KingfisherTests.xctest; + remoteRef = DC0E421C1C3184D80090AC94 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + DC0E421F1C3184D80090AC94 /* Kingfisher-tvOS-Demo.app */ = { + isa = PBXReferenceProxy; + fileType = wrapper.application; + path = "Kingfisher-tvOS-Demo.app"; + remoteRef = DC0E421E1C3184D80090AC94 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + DC0E42211C3184D80090AC94 /* Kingfisher.framework */ = { + isa = PBXReferenceProxy; + fileType = wrapper.framework; + path = Kingfisher.framework; + remoteRef = DC0E42201C3184D80090AC94 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + DC0E41F81C3181EE0090AC94 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DC0E42071C3182180090AC94 /* PhotoSliderClose.png in Resources */, + DC0E42081C31821B0090AC94 /* PhotoSliderClose@2x.png in Resources */, + DC0E42091C31821D0090AC94 /* PhotoSliderClose@3x.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DC0E41F51C3181EE0090AC94 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DC0E42031C3182090090AC94 /* Photo.swift in Sources */, + DC0E42021C3182080090AC94 /* ImageView.swift in Sources */, + DC0E42041C31820C0090AC94 /* ProgressView.swift in Sources */, + DC0E42051C3182110090AC94 /* ViewController.swift in Sources */, + DC0E42061C3182130090AC94 /* ZoomingAnimationController.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + DC0E41B71C317DD50090AC94 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + DC0E41B81C317DD50090AC94 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + DC0E42001C3181EE0090AC94 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + INFOPLIST_FILE = PhotoSlider/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.nakajijapan.PhotoSlider; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + DC0E42011C3181EE0090AC94 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + INFOPLIST_FILE = PhotoSlider/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.nakajijapan.PhotoSlider; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DC0E41A21C317DD50090AC94 /* Build configuration list for PBXProject "PhotoSlider" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC0E41B71C317DD50090AC94 /* Debug */, + DC0E41B81C317DD50090AC94 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DC0E41FF1C3181EE0090AC94 /* Build configuration list for PBXNativeTarget "PhotoSlider" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC0E42001C3181EE0090AC94 /* Debug */, + DC0E42011C3181EE0090AC94 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = DC0E419F1C317DD50090AC94 /* Project object */; +} diff --git a/Example/PhotoSlider/Info.plist b/PhotoSlider/Info.plist similarity index 100% rename from Example/PhotoSlider/Info.plist rename to PhotoSlider/Info.plist diff --git a/Example/PhotoSlider/PhotoSlider.h b/PhotoSlider/PhotoSlider.h similarity index 79% rename from Example/PhotoSlider/PhotoSlider.h rename to PhotoSlider/PhotoSlider.h index 3ea4536..85f78e3 100644 --- a/Example/PhotoSlider/PhotoSlider.h +++ b/PhotoSlider/PhotoSlider.h @@ -2,8 +2,8 @@ // PhotoSlider.h // PhotoSlider // -// Created by nakajijapan on 2015/11/21. -// Copyright © 2015年 net.nakajijapan. All rights reserved. +// Created by nakajijapan on 2015/12/28. +// Copyright © 2015年 nakajijapan. All rights reserved. // #import diff --git a/PhotoSliderDemo.xcodeproj/project.pbxproj b/PhotoSliderDemo.xcodeproj/project.pbxproj new file mode 100644 index 0000000..7128521 --- /dev/null +++ b/PhotoSliderDemo.xcodeproj/project.pbxproj @@ -0,0 +1,523 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + DC0E41DA1C3180290090AC94 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = DC0E41D71C3180290090AC94 /* LICENSE */; }; + DC0E41DB1C3180290090AC94 /* PhotoSlider.podspec in Resources */ = {isa = PBXBuildFile; fileRef = DC0E41D81C3180290090AC94 /* PhotoSlider.podspec */; }; + DC0E420D1C31830E0090AC94 /* PhotoSlider.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC0E420C1C31830E0090AC94 /* PhotoSlider.framework */; }; + DC0E420E1C31830E0090AC94 /* PhotoSlider.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = DC0E420C1C31830E0090AC94 /* PhotoSlider.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + DC0E42231C3185720090AC94 /* Kingfisher.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC0E42221C3185720090AC94 /* Kingfisher.framework */; }; + DC0E42241C3185720090AC94 /* Kingfisher.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = DC0E42221C3185720090AC94 /* Kingfisher.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + DC20F45D1ADA871D009A4C64 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC20F45C1ADA871D009A4C64 /* AppDelegate.swift */; }; + DC20F45F1ADA871D009A4C64 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC20F45E1ADA871D009A4C64 /* ViewController.swift */; }; + DC20F4621ADA871D009A4C64 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DC20F4601ADA871D009A4C64 /* Main.storyboard */; }; + DC20F4641ADA871D009A4C64 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DC20F4631ADA871D009A4C64 /* Images.xcassets */; }; + DC20F4671ADA871D009A4C64 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = DC20F4651ADA871D009A4C64 /* LaunchScreen.xib */; }; + DC917AC71BB29B7300031F84 /* PhotoSliderDemoUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC917AC61BB29B7300031F84 /* PhotoSliderDemoUITests.swift */; }; + DC917AF11BB3BC5700031F84 /* ImageCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC917AF01BB3BC5700031F84 /* ImageCollectionViewCell.swift */; }; + DCE8F5351B94A2EA00B2D224 /* image001.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F52D1B94A2EA00B2D224 /* image001.jpg */; }; + DCE8F5361B94A2EA00B2D224 /* image002.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F52E1B94A2EA00B2D224 /* image002.jpg */; }; + DCE8F5371B94A2EA00B2D224 /* image003.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F52F1B94A2EA00B2D224 /* image003.jpg */; }; + DCE8F5381B94A2EA00B2D224 /* image004.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5301B94A2EA00B2D224 /* image004.jpg */; }; + DCE8F5391B94A2EA00B2D224 /* image005.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5311B94A2EA00B2D224 /* image005.jpg */; }; + DCE8F53A1B94A2EA00B2D224 /* image006.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5321B94A2EA00B2D224 /* image006.jpg */; }; + DCE8F53B1B94A2EA00B2D224 /* image007.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5331B94A2EA00B2D224 /* image007.jpg */; }; + DCE8F53C1B94A2EA00B2D224 /* image008.jpg in Resources */ = {isa = PBXBuildFile; fileRef = DCE8F5341B94A2EA00B2D224 /* image008.jpg */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + DC917AC91BB29B7300031F84 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DC20F44F1ADA871D009A4C64 /* Project object */; + proxyType = 1; + remoteGlobalIDString = DC20F4561ADA871D009A4C64; + remoteInfo = PhotoSliderDemo; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + DC917AE91BB2ABAD00031F84 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + DC0E42241C3185720090AC94 /* Kingfisher.framework in Embed Frameworks */, + DC0E420E1C31830E0090AC94 /* PhotoSlider.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + DC0E41D71C3180290090AC94 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + DC0E41D81C3180290090AC94 /* PhotoSlider.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = PhotoSlider.podspec; sourceTree = ""; }; + DC0E420C1C31830E0090AC94 /* PhotoSlider.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; name = PhotoSlider.framework; path = "/Users/nakajijapan/Library/Developer/Xcode/DerivedData/PhotoSlider-byrmymvccrtyklewavlmpcbihuhj/Build/Products/Debug-iphoneos/PhotoSlider.framework"; sourceTree = ""; }; + DC0E42221C3185720090AC94 /* Kingfisher.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; name = Kingfisher.framework; path = "/Users/nakajijapan/Library/Developer/Xcode/DerivedData/PhotoSlider-byrmymvccrtyklewavlmpcbihuhj/Build/Products/Debug-iphoneos/Kingfisher.framework"; sourceTree = ""; }; + DC20F4571ADA871D009A4C64 /* PhotoSliderDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PhotoSliderDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; + DC20F45B1ADA871D009A4C64 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DC20F45C1ADA871D009A4C64 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + DC20F45E1ADA871D009A4C64 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + DC20F4611ADA871D009A4C64 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + DC20F4631ADA871D009A4C64 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + DC20F4661ADA871D009A4C64 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; + DC20F4801ADA9657009A4C64 /* PhotoSliderDemo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PhotoSliderDemo-Bridging-Header.h"; sourceTree = ""; }; + DC917AC41BB29B7300031F84 /* PhotoSliderDemoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PhotoSliderDemoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + DC917AC61BB29B7300031F84 /* PhotoSliderDemoUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PhotoSliderDemoUITests.swift; sourceTree = ""; }; + DC917AC81BB29B7300031F84 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DC917AF01BB3BC5700031F84 /* ImageCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageCollectionViewCell.swift; sourceTree = ""; }; + DCE8F52D1B94A2EA00B2D224 /* image001.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image001.jpg; sourceTree = ""; }; + DCE8F52E1B94A2EA00B2D224 /* image002.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image002.jpg; sourceTree = ""; }; + DCE8F52F1B94A2EA00B2D224 /* image003.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image003.jpg; sourceTree = ""; }; + DCE8F5301B94A2EA00B2D224 /* image004.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image004.jpg; sourceTree = ""; }; + DCE8F5311B94A2EA00B2D224 /* image005.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image005.jpg; sourceTree = ""; }; + DCE8F5321B94A2EA00B2D224 /* image006.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image006.jpg; sourceTree = ""; }; + DCE8F5331B94A2EA00B2D224 /* image007.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image007.jpg; sourceTree = ""; }; + DCE8F5341B94A2EA00B2D224 /* image008.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = image008.jpg; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + DC20F4541ADA871D009A4C64 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + DC0E42231C3185720090AC94 /* Kingfisher.framework in Frameworks */, + DC0E420D1C31830E0090AC94 /* PhotoSlider.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DC917AC11BB29B7300031F84 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 66A3BAA23076667DA79DC70A /* Frameworks */ = { + isa = PBXGroup; + children = ( + DC0E420C1C31830E0090AC94 /* PhotoSlider.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + DC20F44E1ADA871D009A4C64 = { + isa = PBXGroup; + children = ( + DC0E42221C3185720090AC94 /* Kingfisher.framework */, + DCE8F52C1B94A2EA00B2D224 /* Resources */, + DC740B151AEC6A0900079D30 /* Podspec Metadata */, + DC20F4591ADA871D009A4C64 /* PhotoSliderDemo */, + DC917AC51BB29B7300031F84 /* PhotoSliderDemoUITests */, + DC20F4581ADA871D009A4C64 /* Products */, + 66A3BAA23076667DA79DC70A /* Frameworks */, + ); + sourceTree = ""; + }; + DC20F4581ADA871D009A4C64 /* Products */ = { + isa = PBXGroup; + children = ( + DC20F4571ADA871D009A4C64 /* PhotoSliderDemo.app */, + DC917AC41BB29B7300031F84 /* PhotoSliderDemoUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + DC20F4591ADA871D009A4C64 /* PhotoSliderDemo */ = { + isa = PBXGroup; + children = ( + DC20F45C1ADA871D009A4C64 /* AppDelegate.swift */, + DC20F45E1ADA871D009A4C64 /* ViewController.swift */, + DC917AF01BB3BC5700031F84 /* ImageCollectionViewCell.swift */, + DC20F4601ADA871D009A4C64 /* Main.storyboard */, + DC20F4631ADA871D009A4C64 /* Images.xcassets */, + DC20F4651ADA871D009A4C64 /* LaunchScreen.xib */, + DC20F45A1ADA871D009A4C64 /* Supporting Files */, + ); + path = PhotoSliderDemo; + sourceTree = ""; + }; + DC20F45A1ADA871D009A4C64 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + DC20F45B1ADA871D009A4C64 /* Info.plist */, + DC20F4801ADA9657009A4C64 /* PhotoSliderDemo-Bridging-Header.h */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + DC740B151AEC6A0900079D30 /* Podspec Metadata */ = { + isa = PBXGroup; + children = ( + DC0E41D71C3180290090AC94 /* LICENSE */, + DC0E41D81C3180290090AC94 /* PhotoSlider.podspec */, + ); + name = "Podspec Metadata"; + sourceTree = ""; + }; + DC917AC51BB29B7300031F84 /* PhotoSliderDemoUITests */ = { + isa = PBXGroup; + children = ( + DC917AC61BB29B7300031F84 /* PhotoSliderDemoUITests.swift */, + DC917AC81BB29B7300031F84 /* Info.plist */, + ); + path = PhotoSliderDemoUITests; + sourceTree = ""; + }; + DCE8F52C1B94A2EA00B2D224 /* Resources */ = { + isa = PBXGroup; + children = ( + DCE8F52D1B94A2EA00B2D224 /* image001.jpg */, + DCE8F52E1B94A2EA00B2D224 /* image002.jpg */, + DCE8F52F1B94A2EA00B2D224 /* image003.jpg */, + DCE8F5301B94A2EA00B2D224 /* image004.jpg */, + DCE8F5311B94A2EA00B2D224 /* image005.jpg */, + DCE8F5321B94A2EA00B2D224 /* image006.jpg */, + DCE8F5331B94A2EA00B2D224 /* image007.jpg */, + DCE8F5341B94A2EA00B2D224 /* image008.jpg */, + ); + path = Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + DC20F4561ADA871D009A4C64 /* PhotoSliderDemo */ = { + isa = PBXNativeTarget; + buildConfigurationList = DC20F4761ADA871D009A4C64 /* Build configuration list for PBXNativeTarget "PhotoSliderDemo" */; + buildPhases = ( + DC20F4531ADA871D009A4C64 /* Sources */, + DC20F4541ADA871D009A4C64 /* Frameworks */, + DC20F4551ADA871D009A4C64 /* Resources */, + DC917AE91BB2ABAD00031F84 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PhotoSliderDemo; + productName = PhotoSliderDemo; + productReference = DC20F4571ADA871D009A4C64 /* PhotoSliderDemo.app */; + productType = "com.apple.product-type.application"; + }; + DC917AC31BB29B7300031F84 /* PhotoSliderDemoUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DC917ACD1BB29B7300031F84 /* Build configuration list for PBXNativeTarget "PhotoSliderDemoUITests" */; + buildPhases = ( + DC917AC01BB29B7300031F84 /* Sources */, + DC917AC11BB29B7300031F84 /* Frameworks */, + DC917AC21BB29B7300031F84 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DC917ACA1BB29B7300031F84 /* PBXTargetDependency */, + ); + name = PhotoSliderDemoUITests; + productName = PhotoSliderDemoUITests; + productReference = DC917AC41BB29B7300031F84 /* PhotoSliderDemoUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DC20F44F1ADA871D009A4C64 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0700; + LastUpgradeCheck = 0700; + ORGANIZATIONNAME = net.nakajijapan; + TargetAttributes = { + DC20F4561ADA871D009A4C64 = { + CreatedOnToolsVersion = 6.2; + }; + DC917AC31BB29B7300031F84 = { + CreatedOnToolsVersion = 7.0; + TestTargetID = DC20F4561ADA871D009A4C64; + }; + }; + }; + buildConfigurationList = DC20F4521ADA871D009A4C64 /* Build configuration list for PBXProject "PhotoSliderDemo" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = DC20F44E1ADA871D009A4C64; + productRefGroup = DC20F4581ADA871D009A4C64 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DC20F4561ADA871D009A4C64 /* PhotoSliderDemo */, + DC917AC31BB29B7300031F84 /* PhotoSliderDemoUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + DC20F4551ADA871D009A4C64 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DC20F4621ADA871D009A4C64 /* Main.storyboard in Resources */, + DCE8F5371B94A2EA00B2D224 /* image003.jpg in Resources */, + DC20F4671ADA871D009A4C64 /* LaunchScreen.xib in Resources */, + DCE8F5361B94A2EA00B2D224 /* image002.jpg in Resources */, + DCE8F53B1B94A2EA00B2D224 /* image007.jpg in Resources */, + DCE8F53A1B94A2EA00B2D224 /* image006.jpg in Resources */, + DC20F4641ADA871D009A4C64 /* Images.xcassets in Resources */, + DC0E41DB1C3180290090AC94 /* PhotoSlider.podspec in Resources */, + DCE8F5391B94A2EA00B2D224 /* image005.jpg in Resources */, + DC0E41DA1C3180290090AC94 /* LICENSE in Resources */, + DCE8F5351B94A2EA00B2D224 /* image001.jpg in Resources */, + DCE8F5381B94A2EA00B2D224 /* image004.jpg in Resources */, + DCE8F53C1B94A2EA00B2D224 /* image008.jpg in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DC917AC21BB29B7300031F84 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DC20F4531ADA871D009A4C64 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DC917AF11BB3BC5700031F84 /* ImageCollectionViewCell.swift in Sources */, + DC20F45F1ADA871D009A4C64 /* ViewController.swift in Sources */, + DC20F45D1ADA871D009A4C64 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DC917AC01BB29B7300031F84 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DC917AC71BB29B7300031F84 /* PhotoSliderDemoUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + DC917ACA1BB29B7300031F84 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DC20F4561ADA871D009A4C64 /* PhotoSliderDemo */; + targetProxy = DC917AC91BB29B7300031F84 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + DC20F4601ADA871D009A4C64 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + DC20F4611ADA871D009A4C64 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + DC20F4651ADA871D009A4C64 /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + DC20F4661ADA871D009A4C64 /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + DC20F4741ADA871D009A4C64 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + DC20F4751ADA871D009A4C64 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.2; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + DC20F4771ADA871D009A4C64 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/build/Debug-iphoneos", + ); + INFOPLIST_FILE = PhotoSliderDemo/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "net.nakajijapan.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "PhotoSliderDemo/PhotoSliderDemo-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + DC20F4781ADA871D009A4C64 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/build/Debug-iphoneos", + ); + INFOPLIST_FILE = PhotoSliderDemo/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "net.nakajijapan.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "PhotoSliderDemo/PhotoSliderDemo-Bridging-Header.h"; + }; + name = Release; + }; + DC917ACB1BB29B7300031F84 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = PhotoSliderDemoUITests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.nakajijapan.PhotoSliderDemoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = PhotoSliderDemo; + USES_XCTRUNNER = YES; + }; + name = Debug; + }; + DC917ACC1BB29B7300031F84 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = PhotoSliderDemoUITests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.nakajijapan.PhotoSliderDemoUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_TARGET_NAME = PhotoSliderDemo; + USES_XCTRUNNER = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DC20F4521ADA871D009A4C64 /* Build configuration list for PBXProject "PhotoSliderDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC20F4741ADA871D009A4C64 /* Debug */, + DC20F4751ADA871D009A4C64 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DC20F4761ADA871D009A4C64 /* Build configuration list for PBXNativeTarget "PhotoSliderDemo" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC20F4771ADA871D009A4C64 /* Debug */, + DC20F4781ADA871D009A4C64 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DC917ACD1BB29B7300031F84 /* Build configuration list for PBXNativeTarget "PhotoSliderDemoUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DC917ACB1BB29B7300031F84 /* Debug */, + DC917ACC1BB29B7300031F84 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DC20F44F1ADA871D009A4C64 /* Project object */; +} diff --git a/Example/PhotoSliderDemo.xcodeproj/xcshareddata/xcschemes/PhotoSliderDemo.xcscheme b/PhotoSliderDemo.xcodeproj/xcshareddata/xcschemes/PhotoSliderDemo.xcscheme similarity index 100% rename from Example/PhotoSliderDemo.xcodeproj/xcshareddata/xcschemes/PhotoSliderDemo.xcscheme rename to PhotoSliderDemo.xcodeproj/xcshareddata/xcschemes/PhotoSliderDemo.xcscheme diff --git a/Example/PhotoSliderDemo/AppDelegate.swift b/PhotoSliderDemo/AppDelegate.swift similarity index 100% rename from Example/PhotoSliderDemo/AppDelegate.swift rename to PhotoSliderDemo/AppDelegate.swift diff --git a/Example/PhotoSliderDemo/Base.lproj/LaunchScreen.xib b/PhotoSliderDemo/Base.lproj/LaunchScreen.xib similarity index 100% rename from Example/PhotoSliderDemo/Base.lproj/LaunchScreen.xib rename to PhotoSliderDemo/Base.lproj/LaunchScreen.xib diff --git a/Example/PhotoSliderDemo/Base.lproj/Main.storyboard b/PhotoSliderDemo/Base.lproj/Main.storyboard similarity index 100% rename from Example/PhotoSliderDemo/Base.lproj/Main.storyboard rename to PhotoSliderDemo/Base.lproj/Main.storyboard diff --git a/Example/PhotoSliderDemo/ImageCollectionViewCell.swift b/PhotoSliderDemo/ImageCollectionViewCell.swift similarity index 100% rename from Example/PhotoSliderDemo/ImageCollectionViewCell.swift rename to PhotoSliderDemo/ImageCollectionViewCell.swift diff --git a/Example/PhotoSliderDemo/Images.xcassets/AppIcon.appiconset/Contents.json b/PhotoSliderDemo/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Example/PhotoSliderDemo/Images.xcassets/AppIcon.appiconset/Contents.json rename to PhotoSliderDemo/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/Example/PhotoSliderDemo/Info.plist b/PhotoSliderDemo/Info.plist similarity index 100% rename from Example/PhotoSliderDemo/Info.plist rename to PhotoSliderDemo/Info.plist diff --git a/Example/PhotoSliderDemo/PhotoSliderDemo-Bridging-Header.h b/PhotoSliderDemo/PhotoSliderDemo-Bridging-Header.h similarity index 100% rename from Example/PhotoSliderDemo/PhotoSliderDemo-Bridging-Header.h rename to PhotoSliderDemo/PhotoSliderDemo-Bridging-Header.h diff --git a/Example/PhotoSliderDemo/ViewController.swift b/PhotoSliderDemo/ViewController.swift similarity index 100% rename from Example/PhotoSliderDemo/ViewController.swift rename to PhotoSliderDemo/ViewController.swift diff --git a/Example/PhotoSliderDemoUITests/Info.plist b/PhotoSliderDemoUITests/Info.plist similarity index 100% rename from Example/PhotoSliderDemoUITests/Info.plist rename to PhotoSliderDemoUITests/Info.plist diff --git a/Example/PhotoSliderDemoUITests/PhotoSliderDemoUITests.swift b/PhotoSliderDemoUITests/PhotoSliderDemoUITests.swift similarity index 100% rename from Example/PhotoSliderDemoUITests/PhotoSliderDemoUITests.swift rename to PhotoSliderDemoUITests/PhotoSliderDemoUITests.swift diff --git a/Example/Resources/image001.jpg b/Resources/image001.jpg similarity index 100% rename from Example/Resources/image001.jpg rename to Resources/image001.jpg diff --git a/Example/Resources/image002.jpg b/Resources/image002.jpg similarity index 100% rename from Example/Resources/image002.jpg rename to Resources/image002.jpg diff --git a/Example/Resources/image003.jpg b/Resources/image003.jpg similarity index 100% rename from Example/Resources/image003.jpg rename to Resources/image003.jpg diff --git a/Example/Resources/image004.jpg b/Resources/image004.jpg similarity index 100% rename from Example/Resources/image004.jpg rename to Resources/image004.jpg diff --git a/Example/Resources/image005.jpg b/Resources/image005.jpg similarity index 100% rename from Example/Resources/image005.jpg rename to Resources/image005.jpg diff --git a/Example/Resources/image006.jpg b/Resources/image006.jpg similarity index 100% rename from Example/Resources/image006.jpg rename to Resources/image006.jpg diff --git a/Example/Resources/image007.jpg b/Resources/image007.jpg similarity index 100% rename from Example/Resources/image007.jpg rename to Resources/image007.jpg diff --git a/Example/Resources/image008.jpg b/Resources/image008.jpg similarity index 100% rename from Example/Resources/image008.jpg rename to Resources/image008.jpg diff --git a/Pod/Assets/.gitkeep b/Sources/Assets/.gitkeep similarity index 100% rename from Pod/Assets/.gitkeep rename to Sources/Assets/.gitkeep diff --git a/Pod/Assets/PhotoSliderClose.png b/Sources/Assets/PhotoSliderClose.png similarity index 100% rename from Pod/Assets/PhotoSliderClose.png rename to Sources/Assets/PhotoSliderClose.png diff --git a/Pod/Assets/PhotoSliderClose@2x.png b/Sources/Assets/PhotoSliderClose@2x.png similarity index 100% rename from Pod/Assets/PhotoSliderClose@2x.png rename to Sources/Assets/PhotoSliderClose@2x.png diff --git a/Pod/Assets/PhotoSliderClose@3x.png b/Sources/Assets/PhotoSliderClose@3x.png similarity index 100% rename from Pod/Assets/PhotoSliderClose@3x.png rename to Sources/Assets/PhotoSliderClose@3x.png diff --git a/Pod/Classes/.gitkeep b/Sources/Classes/.gitkeep similarity index 100% rename from Pod/Classes/.gitkeep rename to Sources/Classes/.gitkeep diff --git a/Pod/Classes/ImageView.swift b/Sources/Classes/ImageView.swift similarity index 100% rename from Pod/Classes/ImageView.swift rename to Sources/Classes/ImageView.swift diff --git a/Pod/Classes/Photo.swift b/Sources/Classes/Photo.swift similarity index 100% rename from Pod/Classes/Photo.swift rename to Sources/Classes/Photo.swift diff --git a/Pod/Classes/ProgressView.swift b/Sources/Classes/ProgressView.swift similarity index 100% rename from Pod/Classes/ProgressView.swift rename to Sources/Classes/ProgressView.swift diff --git a/Pod/Classes/ViewController.swift b/Sources/Classes/ViewController.swift similarity index 100% rename from Pod/Classes/ViewController.swift rename to Sources/Classes/ViewController.swift diff --git a/Pod/Classes/ZoomingAnimationController.swift b/Sources/Classes/ZoomingAnimationController.swift similarity index 100% rename from Pod/Classes/ZoomingAnimationController.swift rename to Sources/Classes/ZoomingAnimationController.swift