├── .gitignore ├── .travis.yml ├── Example ├── KLParallaxView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── KLParallaxView-Example.xcscheme ├── KLParallaxView.xcworkspace │ └── contents.xcworkspacedata ├── KLParallaxView │ ├── Images.xcassets │ │ ├── 007.imageset │ │ │ ├── 007.png │ │ │ └── Contents.json │ │ ├── 1.imageset │ │ │ ├── 1.png │ │ │ └── Contents.json │ │ ├── 2.imageset │ │ │ ├── 2.png │ │ │ └── Contents.json │ │ ├── 3.imageset │ │ │ ├── 3.png │ │ │ └── Contents.json │ │ ├── 4.imageset │ │ │ ├── 4.png │ │ │ └── Contents.json │ │ ├── 5.imageset │ │ │ ├── 5.png │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── LaunchImage.launchimage │ │ │ └── Contents.json │ │ ├── james.imageset │ │ │ ├── Contents.json │ │ │ └── james.png │ │ ├── lea.imageset │ │ │ ├── Contents.json │ │ │ └── lea.png │ │ └── spectrelogo.imageset │ │ │ ├── Contents.json │ │ │ └── spectrelogo.png │ ├── KLAppDelegate.h │ ├── KLAppDelegate.m │ ├── KLParallaxView-Info.plist │ ├── KLParallaxView-Prefix.pch │ ├── KLViewController.h │ ├── KLViewController.m │ ├── Main.storyboard │ ├── en.lproj │ │ └── InfoPlist.strings │ └── main.m ├── Podfile ├── Podfile.lock ├── Pods │ ├── Headers │ │ └── Private │ │ │ └── KLParallaxView │ │ │ └── KLParallaxView.h │ ├── Local Podspecs │ │ └── KLParallaxView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── KLParallaxView.xcscheme │ └── Target Support Files │ │ ├── KLParallaxView │ │ ├── Info.plist │ │ ├── KLParallaxView-dummy.m │ │ ├── KLParallaxView-prefix.pch │ │ ├── KLParallaxView-umbrella.h │ │ ├── KLParallaxView.modulemap │ │ └── KLParallaxView.xcconfig │ │ ├── Pods-KLParallaxView_Example │ │ ├── Info.plist │ │ ├── Pods-KLParallaxView_Example-acknowledgements.markdown │ │ ├── Pods-KLParallaxView_Example-acknowledgements.plist │ │ ├── Pods-KLParallaxView_Example-dummy.m │ │ ├── Pods-KLParallaxView_Example-frameworks.sh │ │ ├── Pods-KLParallaxView_Example-resources.sh │ │ ├── Pods-KLParallaxView_Example-umbrella.h │ │ ├── Pods-KLParallaxView_Example.debug.xcconfig │ │ ├── Pods-KLParallaxView_Example.modulemap │ │ └── Pods-KLParallaxView_Example.release.xcconfig │ │ └── Pods-KLParallaxView_Tests │ │ ├── Info.plist │ │ ├── Pods-KLParallaxView_Tests-acknowledgements.markdown │ │ ├── Pods-KLParallaxView_Tests-acknowledgements.plist │ │ ├── Pods-KLParallaxView_Tests-dummy.m │ │ ├── Pods-KLParallaxView_Tests-frameworks.sh │ │ ├── Pods-KLParallaxView_Tests-resources.sh │ │ ├── Pods-KLParallaxView_Tests-umbrella.h │ │ ├── Pods-KLParallaxView_Tests.debug.xcconfig │ │ ├── Pods-KLParallaxView_Tests.modulemap │ │ └── Pods-KLParallaxView_Tests.release.xcconfig └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ └── InfoPlist.strings ├── KLParallaxView.podspec ├── LICENSE.md ├── Pod ├── Assets │ ├── .gitkeep │ └── gloweffect.png └── Classes │ ├── .gitkeep │ ├── KLParallaxView.h │ └── KLParallaxView.m ├── README.md └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | # cache: cocoapods 7 | # podfile: Example/Podfile 8 | # before_install: 9 | # - gem install cocoapods # Since Travis is not always on latest version 10 | # - pod install --project-directory=Example 11 | script: 12 | - set -o pipefail && xcodebuild test -workspace Example/KLParallaxView.xcworkspace -scheme KLParallaxView-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty 13 | - pod lib lint 14 | -------------------------------------------------------------------------------- /Example/KLParallaxView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1B76931BB0729C58E11E4869 /* Pods_KLParallaxView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 10085ECE2E635EC554DE96DC /* Pods_KLParallaxView_Tests.framework */; }; 11 | 256A46FC66A0D1C026A057AB /* Pods_KLParallaxView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 16535FE2076D74B51E20DAA4 /* Pods_KLParallaxView_Example.framework */; }; 12 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 13 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 14 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 15 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 16 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 17 | 6003F59E195388D20070C39A /* KLAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* KLAppDelegate.m */; }; 18 | 6003F5A7195388D20070C39A /* KLViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* KLViewController.m */; }; 19 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 20 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 21 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 22 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 23 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 24 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 25 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 26 | /* End PBXBuildFile section */ 27 | 28 | /* Begin PBXContainerItemProxy section */ 29 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 30 | isa = PBXContainerItemProxy; 31 | containerPortal = 6003F582195388D10070C39A /* Project object */; 32 | proxyType = 1; 33 | remoteGlobalIDString = 6003F589195388D20070C39A; 34 | remoteInfo = KLParallaxView; 35 | }; 36 | /* End PBXContainerItemProxy section */ 37 | 38 | /* Begin PBXFileReference section */ 39 | 0633130C5B339D8B6C90E777 /* Pods-KLParallaxView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KLParallaxView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests.release.xcconfig"; sourceTree = ""; }; 40 | 10085ECE2E635EC554DE96DC /* Pods_KLParallaxView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KLParallaxView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 16535FE2076D74B51E20DAA4 /* Pods_KLParallaxView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KLParallaxView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 193D65A0C59375AEECF3A325 /* Pods-KLParallaxView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KLParallaxView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example.release.xcconfig"; sourceTree = ""; }; 43 | 5E249D411C0FADB71EC2E723 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 44 | 6003F58A195388D20070C39A /* KLParallaxView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KLParallaxView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 46 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 47 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 48 | 6003F595195388D20070C39A /* KLParallaxView-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "KLParallaxView-Info.plist"; sourceTree = ""; }; 49 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 50 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 51 | 6003F59B195388D20070C39A /* KLParallaxView-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "KLParallaxView-Prefix.pch"; sourceTree = ""; }; 52 | 6003F59C195388D20070C39A /* KLAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KLAppDelegate.h; sourceTree = ""; }; 53 | 6003F59D195388D20070C39A /* KLAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KLAppDelegate.m; sourceTree = ""; }; 54 | 6003F5A5195388D20070C39A /* KLViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KLViewController.h; sourceTree = ""; }; 55 | 6003F5A6195388D20070C39A /* KLViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KLViewController.m; sourceTree = ""; }; 56 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 57 | 6003F5AE195388D20070C39A /* KLParallaxView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KLParallaxView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 59 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 60 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 61 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 62 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 63 | 72D9D81A08F385BC335A1A95 /* Pods-KLParallaxView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KLParallaxView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests.debug.xcconfig"; sourceTree = ""; }; 64 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; 65 | 94EF97453F17B5814218F2B4 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 66 | C9552523054F640DA2EAF193 /* Pods-KLParallaxView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KLParallaxView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example.debug.xcconfig"; sourceTree = ""; }; 67 | E8654FC3109F3A24C8484BEC /* KLParallaxView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = KLParallaxView.podspec; path = ../KLParallaxView.podspec; sourceTree = ""; }; 68 | /* End PBXFileReference section */ 69 | 70 | /* Begin PBXFrameworksBuildPhase section */ 71 | 6003F587195388D20070C39A /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 76 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 77 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 78 | 256A46FC66A0D1C026A057AB /* Pods_KLParallaxView_Example.framework in Frameworks */, 79 | ); 80 | runOnlyForDeploymentPostprocessing = 0; 81 | }; 82 | 6003F5AB195388D20070C39A /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 87 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 88 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 89 | 1B76931BB0729C58E11E4869 /* Pods_KLParallaxView_Tests.framework in Frameworks */, 90 | ); 91 | runOnlyForDeploymentPostprocessing = 0; 92 | }; 93 | /* End PBXFrameworksBuildPhase section */ 94 | 95 | /* Begin PBXGroup section */ 96 | 6003F581195388D10070C39A = { 97 | isa = PBXGroup; 98 | children = ( 99 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 100 | 6003F593195388D20070C39A /* Example for KLParallaxView */, 101 | 6003F5B5195388D20070C39A /* Tests */, 102 | 6003F58C195388D20070C39A /* Frameworks */, 103 | 6003F58B195388D20070C39A /* Products */, 104 | 9519BC636083C892CAC70A65 /* Pods */, 105 | ); 106 | sourceTree = ""; 107 | }; 108 | 6003F58B195388D20070C39A /* Products */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 6003F58A195388D20070C39A /* KLParallaxView_Example.app */, 112 | 6003F5AE195388D20070C39A /* KLParallaxView_Tests.xctest */, 113 | ); 114 | name = Products; 115 | sourceTree = ""; 116 | }; 117 | 6003F58C195388D20070C39A /* Frameworks */ = { 118 | isa = PBXGroup; 119 | children = ( 120 | 6003F58D195388D20070C39A /* Foundation.framework */, 121 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 122 | 6003F591195388D20070C39A /* UIKit.framework */, 123 | 6003F5AF195388D20070C39A /* XCTest.framework */, 124 | 16535FE2076D74B51E20DAA4 /* Pods_KLParallaxView_Example.framework */, 125 | 10085ECE2E635EC554DE96DC /* Pods_KLParallaxView_Tests.framework */, 126 | ); 127 | name = Frameworks; 128 | sourceTree = ""; 129 | }; 130 | 6003F593195388D20070C39A /* Example for KLParallaxView */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 6003F59C195388D20070C39A /* KLAppDelegate.h */, 134 | 6003F59D195388D20070C39A /* KLAppDelegate.m */, 135 | 6003F5A5195388D20070C39A /* KLViewController.h */, 136 | 6003F5A6195388D20070C39A /* KLViewController.m */, 137 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 138 | 6003F5A8195388D20070C39A /* Images.xcassets */, 139 | 6003F594195388D20070C39A /* Supporting Files */, 140 | ); 141 | name = "Example for KLParallaxView"; 142 | path = KLParallaxView; 143 | sourceTree = ""; 144 | }; 145 | 6003F594195388D20070C39A /* Supporting Files */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 6003F595195388D20070C39A /* KLParallaxView-Info.plist */, 149 | 6003F596195388D20070C39A /* InfoPlist.strings */, 150 | 6003F599195388D20070C39A /* main.m */, 151 | 6003F59B195388D20070C39A /* KLParallaxView-Prefix.pch */, 152 | ); 153 | name = "Supporting Files"; 154 | sourceTree = ""; 155 | }; 156 | 6003F5B5195388D20070C39A /* Tests */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | 6003F5BB195388D20070C39A /* Tests.m */, 160 | 6003F5B6195388D20070C39A /* Supporting Files */, 161 | ); 162 | path = Tests; 163 | sourceTree = ""; 164 | }; 165 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 166 | isa = PBXGroup; 167 | children = ( 168 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 169 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 170 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 171 | ); 172 | name = "Supporting Files"; 173 | sourceTree = ""; 174 | }; 175 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 176 | isa = PBXGroup; 177 | children = ( 178 | E8654FC3109F3A24C8484BEC /* KLParallaxView.podspec */, 179 | 94EF97453F17B5814218F2B4 /* README.md */, 180 | 5E249D411C0FADB71EC2E723 /* LICENSE */, 181 | ); 182 | name = "Podspec Metadata"; 183 | sourceTree = ""; 184 | }; 185 | 9519BC636083C892CAC70A65 /* Pods */ = { 186 | isa = PBXGroup; 187 | children = ( 188 | C9552523054F640DA2EAF193 /* Pods-KLParallaxView_Example.debug.xcconfig */, 189 | 193D65A0C59375AEECF3A325 /* Pods-KLParallaxView_Example.release.xcconfig */, 190 | 72D9D81A08F385BC335A1A95 /* Pods-KLParallaxView_Tests.debug.xcconfig */, 191 | 0633130C5B339D8B6C90E777 /* Pods-KLParallaxView_Tests.release.xcconfig */, 192 | ); 193 | name = Pods; 194 | sourceTree = ""; 195 | }; 196 | /* End PBXGroup section */ 197 | 198 | /* Begin PBXNativeTarget section */ 199 | 6003F589195388D20070C39A /* KLParallaxView_Example */ = { 200 | isa = PBXNativeTarget; 201 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "KLParallaxView_Example" */; 202 | buildPhases = ( 203 | 4841986B98F172ABA8614638 /* Check Pods Manifest.lock */, 204 | 6003F586195388D20070C39A /* Sources */, 205 | 6003F587195388D20070C39A /* Frameworks */, 206 | 6003F588195388D20070C39A /* Resources */, 207 | 7B814CE015D4851DF45BFE2B /* Embed Pods Frameworks */, 208 | 61D6DACD4A3E995FE00688DD /* Copy Pods Resources */, 209 | ); 210 | buildRules = ( 211 | ); 212 | dependencies = ( 213 | ); 214 | name = KLParallaxView_Example; 215 | productName = KLParallaxView; 216 | productReference = 6003F58A195388D20070C39A /* KLParallaxView_Example.app */; 217 | productType = "com.apple.product-type.application"; 218 | }; 219 | 6003F5AD195388D20070C39A /* KLParallaxView_Tests */ = { 220 | isa = PBXNativeTarget; 221 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "KLParallaxView_Tests" */; 222 | buildPhases = ( 223 | 2EAF67406425788381E8E6B7 /* Check Pods Manifest.lock */, 224 | 6003F5AA195388D20070C39A /* Sources */, 225 | 6003F5AB195388D20070C39A /* Frameworks */, 226 | 6003F5AC195388D20070C39A /* Resources */, 227 | 218C5986A076739CC9F16869 /* Embed Pods Frameworks */, 228 | 4C1F2D4BC10CF4DDF403E15E /* Copy Pods Resources */, 229 | ); 230 | buildRules = ( 231 | ); 232 | dependencies = ( 233 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 234 | ); 235 | name = KLParallaxView_Tests; 236 | productName = KLParallaxViewTests; 237 | productReference = 6003F5AE195388D20070C39A /* KLParallaxView_Tests.xctest */; 238 | productType = "com.apple.product-type.bundle.unit-test"; 239 | }; 240 | /* End PBXNativeTarget section */ 241 | 242 | /* Begin PBXProject section */ 243 | 6003F582195388D10070C39A /* Project object */ = { 244 | isa = PBXProject; 245 | attributes = { 246 | CLASSPREFIX = KL; 247 | LastUpgradeCheck = 0510; 248 | ORGANIZATIONNAME = dara; 249 | TargetAttributes = { 250 | 6003F5AD195388D20070C39A = { 251 | TestTargetID = 6003F589195388D20070C39A; 252 | }; 253 | }; 254 | }; 255 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "KLParallaxView" */; 256 | compatibilityVersion = "Xcode 3.2"; 257 | developmentRegion = English; 258 | hasScannedForEncodings = 0; 259 | knownRegions = ( 260 | en, 261 | Base, 262 | ); 263 | mainGroup = 6003F581195388D10070C39A; 264 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 265 | projectDirPath = ""; 266 | projectRoot = ""; 267 | targets = ( 268 | 6003F589195388D20070C39A /* KLParallaxView_Example */, 269 | 6003F5AD195388D20070C39A /* KLParallaxView_Tests */, 270 | ); 271 | }; 272 | /* End PBXProject section */ 273 | 274 | /* Begin PBXResourcesBuildPhase section */ 275 | 6003F588195388D20070C39A /* Resources */ = { 276 | isa = PBXResourcesBuildPhase; 277 | buildActionMask = 2147483647; 278 | files = ( 279 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 280 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 281 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 282 | ); 283 | runOnlyForDeploymentPostprocessing = 0; 284 | }; 285 | 6003F5AC195388D20070C39A /* Resources */ = { 286 | isa = PBXResourcesBuildPhase; 287 | buildActionMask = 2147483647; 288 | files = ( 289 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 290 | ); 291 | runOnlyForDeploymentPostprocessing = 0; 292 | }; 293 | /* End PBXResourcesBuildPhase section */ 294 | 295 | /* Begin PBXShellScriptBuildPhase section */ 296 | 218C5986A076739CC9F16869 /* Embed Pods Frameworks */ = { 297 | isa = PBXShellScriptBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | ); 301 | inputPaths = ( 302 | ); 303 | name = "Embed Pods Frameworks"; 304 | outputPaths = ( 305 | ); 306 | runOnlyForDeploymentPostprocessing = 0; 307 | shellPath = /bin/sh; 308 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests-frameworks.sh\"\n"; 309 | showEnvVarsInLog = 0; 310 | }; 311 | 2EAF67406425788381E8E6B7 /* Check Pods Manifest.lock */ = { 312 | isa = PBXShellScriptBuildPhase; 313 | buildActionMask = 2147483647; 314 | files = ( 315 | ); 316 | inputPaths = ( 317 | ); 318 | name = "Check Pods Manifest.lock"; 319 | outputPaths = ( 320 | ); 321 | runOnlyForDeploymentPostprocessing = 0; 322 | shellPath = /bin/sh; 323 | 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"; 324 | showEnvVarsInLog = 0; 325 | }; 326 | 4841986B98F172ABA8614638 /* Check Pods Manifest.lock */ = { 327 | isa = PBXShellScriptBuildPhase; 328 | buildActionMask = 2147483647; 329 | files = ( 330 | ); 331 | inputPaths = ( 332 | ); 333 | name = "Check Pods Manifest.lock"; 334 | outputPaths = ( 335 | ); 336 | runOnlyForDeploymentPostprocessing = 0; 337 | shellPath = /bin/sh; 338 | 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"; 339 | showEnvVarsInLog = 0; 340 | }; 341 | 4C1F2D4BC10CF4DDF403E15E /* Copy Pods Resources */ = { 342 | isa = PBXShellScriptBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | ); 346 | inputPaths = ( 347 | ); 348 | name = "Copy Pods Resources"; 349 | outputPaths = ( 350 | ); 351 | runOnlyForDeploymentPostprocessing = 0; 352 | shellPath = /bin/sh; 353 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests-resources.sh\"\n"; 354 | showEnvVarsInLog = 0; 355 | }; 356 | 61D6DACD4A3E995FE00688DD /* Copy Pods Resources */ = { 357 | isa = PBXShellScriptBuildPhase; 358 | buildActionMask = 2147483647; 359 | files = ( 360 | ); 361 | inputPaths = ( 362 | ); 363 | name = "Copy Pods Resources"; 364 | outputPaths = ( 365 | ); 366 | runOnlyForDeploymentPostprocessing = 0; 367 | shellPath = /bin/sh; 368 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example-resources.sh\"\n"; 369 | showEnvVarsInLog = 0; 370 | }; 371 | 7B814CE015D4851DF45BFE2B /* Embed Pods Frameworks */ = { 372 | isa = PBXShellScriptBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | ); 376 | inputPaths = ( 377 | ); 378 | name = "Embed Pods Frameworks"; 379 | outputPaths = ( 380 | ); 381 | runOnlyForDeploymentPostprocessing = 0; 382 | shellPath = /bin/sh; 383 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example-frameworks.sh\"\n"; 384 | showEnvVarsInLog = 0; 385 | }; 386 | /* End PBXShellScriptBuildPhase section */ 387 | 388 | /* Begin PBXSourcesBuildPhase section */ 389 | 6003F586195388D20070C39A /* Sources */ = { 390 | isa = PBXSourcesBuildPhase; 391 | buildActionMask = 2147483647; 392 | files = ( 393 | 6003F59E195388D20070C39A /* KLAppDelegate.m in Sources */, 394 | 6003F5A7195388D20070C39A /* KLViewController.m in Sources */, 395 | 6003F59A195388D20070C39A /* main.m in Sources */, 396 | ); 397 | runOnlyForDeploymentPostprocessing = 0; 398 | }; 399 | 6003F5AA195388D20070C39A /* Sources */ = { 400 | isa = PBXSourcesBuildPhase; 401 | buildActionMask = 2147483647; 402 | files = ( 403 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 404 | ); 405 | runOnlyForDeploymentPostprocessing = 0; 406 | }; 407 | /* End PBXSourcesBuildPhase section */ 408 | 409 | /* Begin PBXTargetDependency section */ 410 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 411 | isa = PBXTargetDependency; 412 | target = 6003F589195388D20070C39A /* KLParallaxView_Example */; 413 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 414 | }; 415 | /* End PBXTargetDependency section */ 416 | 417 | /* Begin PBXVariantGroup section */ 418 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 419 | isa = PBXVariantGroup; 420 | children = ( 421 | 6003F597195388D20070C39A /* en */, 422 | ); 423 | name = InfoPlist.strings; 424 | sourceTree = ""; 425 | }; 426 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 427 | isa = PBXVariantGroup; 428 | children = ( 429 | 6003F5B9195388D20070C39A /* en */, 430 | ); 431 | name = InfoPlist.strings; 432 | sourceTree = ""; 433 | }; 434 | /* End PBXVariantGroup section */ 435 | 436 | /* Begin XCBuildConfiguration section */ 437 | 6003F5BD195388D20070C39A /* Debug */ = { 438 | isa = XCBuildConfiguration; 439 | buildSettings = { 440 | ALWAYS_SEARCH_USER_PATHS = NO; 441 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 442 | CLANG_CXX_LIBRARY = "libc++"; 443 | CLANG_ENABLE_MODULES = YES; 444 | CLANG_ENABLE_OBJC_ARC = YES; 445 | CLANG_WARN_BOOL_CONVERSION = YES; 446 | CLANG_WARN_CONSTANT_CONVERSION = YES; 447 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 448 | CLANG_WARN_EMPTY_BODY = YES; 449 | CLANG_WARN_ENUM_CONVERSION = YES; 450 | CLANG_WARN_INT_CONVERSION = YES; 451 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 452 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 453 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 454 | COPY_PHASE_STRIP = NO; 455 | GCC_C_LANGUAGE_STANDARD = gnu99; 456 | GCC_DYNAMIC_NO_PIC = NO; 457 | GCC_OPTIMIZATION_LEVEL = 0; 458 | GCC_PREPROCESSOR_DEFINITIONS = ( 459 | "DEBUG=1", 460 | "$(inherited)", 461 | ); 462 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 463 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 464 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 465 | GCC_WARN_UNDECLARED_SELECTOR = YES; 466 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 467 | GCC_WARN_UNUSED_FUNCTION = YES; 468 | GCC_WARN_UNUSED_VARIABLE = YES; 469 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 470 | ONLY_ACTIVE_ARCH = YES; 471 | SDKROOT = iphoneos; 472 | TARGETED_DEVICE_FAMILY = "1,2"; 473 | }; 474 | name = Debug; 475 | }; 476 | 6003F5BE195388D20070C39A /* Release */ = { 477 | isa = XCBuildConfiguration; 478 | buildSettings = { 479 | ALWAYS_SEARCH_USER_PATHS = NO; 480 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 481 | CLANG_CXX_LIBRARY = "libc++"; 482 | CLANG_ENABLE_MODULES = YES; 483 | CLANG_ENABLE_OBJC_ARC = YES; 484 | CLANG_WARN_BOOL_CONVERSION = YES; 485 | CLANG_WARN_CONSTANT_CONVERSION = YES; 486 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 487 | CLANG_WARN_EMPTY_BODY = YES; 488 | CLANG_WARN_ENUM_CONVERSION = YES; 489 | CLANG_WARN_INT_CONVERSION = YES; 490 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 491 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 492 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 493 | COPY_PHASE_STRIP = YES; 494 | ENABLE_NS_ASSERTIONS = NO; 495 | GCC_C_LANGUAGE_STANDARD = gnu99; 496 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 497 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 498 | GCC_WARN_UNDECLARED_SELECTOR = YES; 499 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 500 | GCC_WARN_UNUSED_FUNCTION = YES; 501 | GCC_WARN_UNUSED_VARIABLE = YES; 502 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 503 | SDKROOT = iphoneos; 504 | TARGETED_DEVICE_FAMILY = "1,2"; 505 | VALIDATE_PRODUCT = YES; 506 | }; 507 | name = Release; 508 | }; 509 | 6003F5C0195388D20070C39A /* Debug */ = { 510 | isa = XCBuildConfiguration; 511 | baseConfigurationReference = C9552523054F640DA2EAF193 /* Pods-KLParallaxView_Example.debug.xcconfig */; 512 | buildSettings = { 513 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 514 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 515 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 516 | GCC_PREFIX_HEADER = "KLParallaxView/KLParallaxView-Prefix.pch"; 517 | INFOPLIST_FILE = "KLParallaxView/KLParallaxView-Info.plist"; 518 | MODULE_NAME = ExampleApp; 519 | PRODUCT_NAME = "$(TARGET_NAME)"; 520 | WRAPPER_EXTENSION = app; 521 | }; 522 | name = Debug; 523 | }; 524 | 6003F5C1195388D20070C39A /* Release */ = { 525 | isa = XCBuildConfiguration; 526 | baseConfigurationReference = 193D65A0C59375AEECF3A325 /* Pods-KLParallaxView_Example.release.xcconfig */; 527 | buildSettings = { 528 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 529 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 530 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 531 | GCC_PREFIX_HEADER = "KLParallaxView/KLParallaxView-Prefix.pch"; 532 | INFOPLIST_FILE = "KLParallaxView/KLParallaxView-Info.plist"; 533 | MODULE_NAME = ExampleApp; 534 | PRODUCT_NAME = "$(TARGET_NAME)"; 535 | WRAPPER_EXTENSION = app; 536 | }; 537 | name = Release; 538 | }; 539 | 6003F5C3195388D20070C39A /* Debug */ = { 540 | isa = XCBuildConfiguration; 541 | baseConfigurationReference = 72D9D81A08F385BC335A1A95 /* Pods-KLParallaxView_Tests.debug.xcconfig */; 542 | buildSettings = { 543 | BUNDLE_LOADER = "$(TEST_HOST)"; 544 | FRAMEWORK_SEARCH_PATHS = ( 545 | "$(SDKROOT)/Developer/Library/Frameworks", 546 | "$(inherited)", 547 | "$(DEVELOPER_FRAMEWORKS_DIR)", 548 | ); 549 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 550 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 551 | GCC_PREPROCESSOR_DEFINITIONS = ( 552 | "DEBUG=1", 553 | "$(inherited)", 554 | ); 555 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 556 | PRODUCT_NAME = "$(TARGET_NAME)"; 557 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KLParallaxView_Example.app/KLParallaxView_Example"; 558 | WRAPPER_EXTENSION = xctest; 559 | }; 560 | name = Debug; 561 | }; 562 | 6003F5C4195388D20070C39A /* Release */ = { 563 | isa = XCBuildConfiguration; 564 | baseConfigurationReference = 0633130C5B339D8B6C90E777 /* Pods-KLParallaxView_Tests.release.xcconfig */; 565 | buildSettings = { 566 | BUNDLE_LOADER = "$(TEST_HOST)"; 567 | FRAMEWORK_SEARCH_PATHS = ( 568 | "$(SDKROOT)/Developer/Library/Frameworks", 569 | "$(inherited)", 570 | "$(DEVELOPER_FRAMEWORKS_DIR)", 571 | ); 572 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 573 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 574 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 575 | PRODUCT_NAME = "$(TARGET_NAME)"; 576 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KLParallaxView_Example.app/KLParallaxView_Example"; 577 | WRAPPER_EXTENSION = xctest; 578 | }; 579 | name = Release; 580 | }; 581 | /* End XCBuildConfiguration section */ 582 | 583 | /* Begin XCConfigurationList section */ 584 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "KLParallaxView" */ = { 585 | isa = XCConfigurationList; 586 | buildConfigurations = ( 587 | 6003F5BD195388D20070C39A /* Debug */, 588 | 6003F5BE195388D20070C39A /* Release */, 589 | ); 590 | defaultConfigurationIsVisible = 0; 591 | defaultConfigurationName = Release; 592 | }; 593 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "KLParallaxView_Example" */ = { 594 | isa = XCConfigurationList; 595 | buildConfigurations = ( 596 | 6003F5C0195388D20070C39A /* Debug */, 597 | 6003F5C1195388D20070C39A /* Release */, 598 | ); 599 | defaultConfigurationIsVisible = 0; 600 | defaultConfigurationName = Release; 601 | }; 602 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "KLParallaxView_Tests" */ = { 603 | isa = XCConfigurationList; 604 | buildConfigurations = ( 605 | 6003F5C3195388D20070C39A /* Debug */, 606 | 6003F5C4195388D20070C39A /* Release */, 607 | ); 608 | defaultConfigurationIsVisible = 0; 609 | defaultConfigurationName = Release; 610 | }; 611 | /* End XCConfigurationList section */ 612 | }; 613 | rootObject = 6003F582195388D10070C39A /* Project object */; 614 | } 615 | -------------------------------------------------------------------------------- /Example/KLParallaxView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/KLParallaxView.xcodeproj/xcshareddata/xcschemes/KLParallaxView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 61 | 63 | 69 | 70 | 71 | 72 | 73 | 74 | 80 | 82 | 88 | 89 | 90 | 91 | 93 | 94 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /Example/KLParallaxView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/007.imageset/007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Example/KLParallaxView/Images.xcassets/007.imageset/007.png -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/007.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "007.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/1.imageset/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Example/KLParallaxView/Images.xcassets/1.imageset/1.png -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/2.imageset/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Example/KLParallaxView/Images.xcassets/2.imageset/2.png -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "2.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/3.imageset/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Example/KLParallaxView/Images.xcassets/3.imageset/3.png -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "3.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/4.imageset/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Example/KLParallaxView/Images.xcassets/4.imageset/4.png -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "4.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/5.imageset/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Example/KLParallaxView/Images.xcassets/5.imageset/5.png -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/5.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "5.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/james.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "james.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/james.imageset/james.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Example/KLParallaxView/Images.xcassets/james.imageset/james.png -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/lea.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "lea.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/lea.imageset/lea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Example/KLParallaxView/Images.xcassets/lea.imageset/lea.png -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/spectrelogo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "spectrelogo.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/KLParallaxView/Images.xcassets/spectrelogo.imageset/spectrelogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Example/KLParallaxView/Images.xcassets/spectrelogo.imageset/spectrelogo.png -------------------------------------------------------------------------------- /Example/KLParallaxView/KLAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // KLAppDelegate.h 3 | // KLParallaxView 4 | // 5 | // Created by dara on 11/15/2015. 6 | // Copyright (c) 2015 dara. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface KLAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/KLParallaxView/KLAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // KLAppDelegate.m 3 | // KLParallaxView 4 | // 5 | // Created by dara on 11/15/2015. 6 | // Copyright (c) 2015 dara. All rights reserved. 7 | // 8 | 9 | #import "KLAppDelegate.h" 10 | 11 | @implementation KLAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/KLParallaxView/KLParallaxView-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | Main 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/KLParallaxView/KLParallaxView-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/KLParallaxView/KLViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // KLViewController.h 3 | // KLParallaxView 4 | // 5 | // Created by dara on 11/15/2015. 6 | // Copyright (c) 2015 dara. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface KLViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/KLParallaxView/KLViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // KLViewController.m 3 | // KLParallaxView 4 | // 5 | // Created by dara on 11/15/2015. 6 | // Copyright (c) 2015 dara. All rights reserved. 7 | // 8 | 9 | #import "KLViewController.h" 10 | #import 11 | 12 | @interface KLViewController () 13 | 14 | @property (nonatomic) CGRect parallaxFrame; 15 | 16 | @end 17 | 18 | @implementation KLViewController 19 | 20 | - (void)viewDidLoad { 21 | [super viewDidLoad]; 22 | 23 | self.parallaxFrame = CGRectMake(0.0, 0.0, 300, 469); // This is a good size to fit the images 24 | [self setupSegmentedControl]; 25 | [self addSpectreParallaxView]; 26 | } 27 | 28 | - (NSArray *)loadSpectreResources 29 | { 30 | UIImageView *imageView1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"007"]]; 31 | imageView1.tag = 34; 32 | 33 | UIImageView *imageView2 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"lea"]]; 34 | imageView2.tag = 8; 35 | 36 | UIImageView *imageView3 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"james"]]; 37 | imageView3.tag = 11; 38 | 39 | UIImageView *imageView4 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"spectrelogo"]]; 40 | imageView4.tag = 18; 41 | 42 | NSMutableArray *imageViews = [@[ imageView1, imageView2, imageView3, imageView4 ] mutableCopy]; 43 | 44 | for (UIImageView *imageView in imageViews) { 45 | imageView.frame = self.parallaxFrame; 46 | } 47 | 48 | imageViews.firstObject.frame = CGRectMake(-50, 0, 600, 469); // One of the images (007 backdrop) is a different size 49 | return [imageViews copy]; 50 | } 51 | 52 | - (NSArray *)loadInterstellarResources 53 | { 54 | UIImageView *imageView1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"1"]]; 55 | imageView1.tag = 0; 56 | 57 | UIImageView *imageView2 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"2"]]; 58 | imageView2.tag = 11; 59 | 60 | UIImageView *imageView3 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"3"]]; 61 | imageView3.tag = 2; 62 | 63 | UIImageView *imageView4 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"4"]]; 64 | imageView4.tag = 4; 65 | 66 | UIImageView *imageView5 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"5"]]; 67 | imageView5.tag = 13; 68 | 69 | NSMutableArray *imageViews = [@[ imageView1, imageView2, imageView3, imageView4, imageView5 ] mutableCopy]; 70 | 71 | for (UIImageView *imageView in imageViews) { 72 | imageView.frame = self.parallaxFrame; 73 | } 74 | 75 | return [imageViews copy]; 76 | } 77 | 78 | - (void)setupSegmentedControl 79 | { 80 | UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:@[ @"Spectre", @"Interstellar" ]]; 81 | segmentedControl.center = CGPointMake(self.view.center.x, self.view.bounds.size.height - 20); 82 | [segmentedControl addTarget:self action:@selector(segmentDidChange:) forControlEvents:UIControlEventValueChanged]; 83 | [self.view addSubview:segmentedControl]; 84 | } 85 | 86 | - (void)addSpectreParallaxView 87 | { 88 | 89 | NSArray *subviews = [self loadSpectreResources]; 90 | [self addParallaxViewWithSubviews:subviews]; 91 | } 92 | 93 | - (void)addInterstellarParallaxView 94 | { 95 | NSArray *subviews = [self loadInterstellarResources]; 96 | [self addParallaxViewWithSubviews:subviews]; 97 | } 98 | 99 | - (void)addParallaxViewWithSubviews:(NSArray *)subviews 100 | { 101 | [self clearParallaxViews]; 102 | KLParallaxView *parallaxView = [[KLParallaxView alloc] initWithFrame:self.parallaxFrame subviews:subviews]; 103 | parallaxView.cornerRadius = 5.0; 104 | parallaxView.layer.zPosition = 100.0; 105 | parallaxView.backgroundColor = [UIColor whiteColor]; 106 | parallaxView.center = self.view.center; 107 | [self.view addSubview:parallaxView]; 108 | } 109 | 110 | - (void)clearParallaxViews 111 | { 112 | for (UIView *view in self.view.subviews) { 113 | if ([view isKindOfClass:[KLParallaxView class]]) { 114 | [view removeFromSuperview]; 115 | } 116 | } 117 | } 118 | 119 | - (void)segmentDidChange:(UISegmentedControl *)sender 120 | { 121 | switch (sender.selectedSegmentIndex) { 122 | case 0: 123 | [self addSpectreParallaxView]; 124 | break; 125 | 126 | case 1: 127 | [self addInterstellarParallaxView]; 128 | break; 129 | } 130 | } 131 | 132 | @end 133 | -------------------------------------------------------------------------------- /Example/KLParallaxView/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Example/KLParallaxView/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/KLParallaxView/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // KLParallaxView 4 | // 5 | // Created by dara on 11/15/2015. 6 | // Copyright (c) 2015 dara. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "KLAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([KLAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | use_frameworks! 3 | 4 | target 'KLParallaxView_Example', :exclusive => true do 5 | pod "KLParallaxView", :path => "../" 6 | end 7 | 8 | target 'KLParallaxView_Tests', :exclusive => true do 9 | pod "KLParallaxView", :path => "../" 10 | 11 | 12 | end 13 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - KLParallaxView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - KLParallaxView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | KLParallaxView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | KLParallaxView: 5f98cdcd98b333d610ec77af55aae6e8f642b056 13 | 14 | COCOAPODS: 0.39.0 15 | -------------------------------------------------------------------------------- /Example/Pods/Headers/Private/KLParallaxView/KLParallaxView.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/KLParallaxView.h -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/KLParallaxView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "KLParallaxView", 3 | "version": "0.1.0", 4 | "summary": "KLParallaxView is a UIView subclass that copies Apple TV's parallax effect.", 5 | "description": "KLParallaxView is an Objective-C UIView subclass that imitates Apple TV's parallax effect, based on the MPParallaxView Swift implementation.", 6 | "homepage": "https://github.com/klop/KLParallaxView", 7 | "license": "MIT", 8 | "authors": { 9 | "klop": "none@gmail.com" 10 | }, 11 | "source": { 12 | "git": "https://github.com/klop/KLParallaxView.git", 13 | "tag": "0.1.0" 14 | }, 15 | "platforms": { 16 | "ios": "7.0" 17 | }, 18 | "requires_arc": true, 19 | "source_files": "Pod/Classes/**/*", 20 | "resource_bundles": { 21 | "KLParallaxView": [ 22 | "Pod/Assets/*.png" 23 | ] 24 | }, 25 | "public_header_files": "Pod/Classes/**/*.h" 26 | } 27 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - KLParallaxView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - KLParallaxView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | KLParallaxView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | KLParallaxView: 5f98cdcd98b333d610ec77af55aae6e8f642b056 13 | 14 | COCOAPODS: 0.39.0 15 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0561C634A12AD24857696BA7E3BB8D93 /* Pods-KLParallaxView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A0FAC328741BC01562C0D062C891380C /* Pods-KLParallaxView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 1AE3A5FDC3149943ABEA6F4A3829EDD5 /* KLParallaxView.h in Headers */ = {isa = PBXBuildFile; fileRef = E219F08F7E92BFC830823C07C229CDD7 /* KLParallaxView.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 1F898DF8091D9623DDB2E86CC40C3836 /* KLParallaxView.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3412EC73723A064B8035333B5ACFEDA4 /* KLParallaxView.bundle */; }; 13 | 37AF18F66513E1552BCBF1CC409347D0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; 14 | 4BA4CDEB54E1B18C2508C32B103DA488 /* KLParallaxView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 467F01F6FE2B009E550788647FF3694F /* KLParallaxView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 618DFE5B569438257255E3998BAE5E5F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; 16 | 78627A4AA3EC945B18B7B4DAAB231156 /* Pods-KLParallaxView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 68B94287ACACF3278CD6D2750D37FD12 /* Pods-KLParallaxView_Example-dummy.m */; }; 17 | 89DFDD037E2A8B1D9B7A5254F23AF37A /* Pods-KLParallaxView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1BEC93897AF0DB5B37BDA5DF130EB3BA /* Pods-KLParallaxView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | 9A1D5C6678B541219E6FF288287273EE /* KLParallaxView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8561FC4E319A7CBD5626AA4B89BEF436 /* KLParallaxView.m */; }; 19 | AC571F3E12A55D6B39999367D9A0504A /* Pods-KLParallaxView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6FA32F851C8A9DBC492F602A0FE31F28 /* Pods-KLParallaxView_Tests-dummy.m */; }; 20 | BC7457C7E368DD841C1C314BD7BE1BB8 /* KLParallaxView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9967FB1D3764EFAB2C107A2F5CEA3F6D /* KLParallaxView-dummy.m */; }; 21 | D441079528266FEF02E106BCBDD8E997 /* gloweffect.png in Resources */ = {isa = PBXBuildFile; fileRef = 84E75F24958FA1EE933F21A37E57B553 /* gloweffect.png */; }; 22 | E5AA5AB76894E7C686793BE66EC21D64 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | 495C29B5C39CA0C6EF4FE5906398D659 /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = B7F6E8F0629B55E7D620376023477221; 31 | remoteInfo = "KLParallaxView-KLParallaxView"; 32 | }; 33 | 767520648D771BD8F6E13E19DFE7D6DD /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = 1D64445DACDD923F8FDBE516F323E154; 38 | remoteInfo = KLParallaxView; 39 | }; 40 | DFAECB7E802230415477A648C7F9A625 /* PBXContainerItemProxy */ = { 41 | isa = PBXContainerItemProxy; 42 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 43 | proxyType = 1; 44 | remoteGlobalIDString = 1D64445DACDD923F8FDBE516F323E154; 45 | remoteInfo = KLParallaxView; 46 | }; 47 | /* End PBXContainerItemProxy section */ 48 | 49 | /* Begin PBXFileReference section */ 50 | 04BBD8E7994DD2573D5DFFAACAC89F5B /* KLParallaxView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KLParallaxView.xcconfig; sourceTree = ""; }; 51 | 0A413CF9D3BFD817B8261C090BEDCFEB /* Pods-KLParallaxView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-KLParallaxView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 52 | 199407E6B399097CFC88EC14C8DDDBA8 /* Pods-KLParallaxView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KLParallaxView_Example-frameworks.sh"; sourceTree = ""; }; 53 | 1BEC93897AF0DB5B37BDA5DF130EB3BA /* Pods-KLParallaxView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KLParallaxView_Example-umbrella.h"; sourceTree = ""; }; 54 | 1D0724731F170BEC9514658EF0E23F0A /* Pods-KLParallaxView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KLParallaxView_Tests-acknowledgements.plist"; sourceTree = ""; }; 55 | 3412EC73723A064B8035333B5ACFEDA4 /* KLParallaxView.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KLParallaxView.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 3E4E89230EF59BC255123B67864ACF77 /* 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; }; 57 | 467F01F6FE2B009E550788647FF3694F /* KLParallaxView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KLParallaxView-umbrella.h"; sourceTree = ""; }; 58 | 497F8CB93179B5E7E0AD6FAEED065099 /* KLParallaxView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = KLParallaxView.modulemap; sourceTree = ""; }; 59 | 4D57F7904C3CA52BFA4CFB8618623613 /* Pods-KLParallaxView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-KLParallaxView_Example-acknowledgements.plist"; sourceTree = ""; }; 60 | 505C2C5ABA385D514EEC859D7396C907 /* Pods-KLParallaxView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-KLParallaxView_Example.modulemap"; sourceTree = ""; }; 61 | 54BF2B68DA2312E5B2E571086D4950EB /* KLParallaxView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KLParallaxView-prefix.pch"; sourceTree = ""; }; 62 | 662A8A335B94D4898546AB10D3B83D2A /* KLParallaxView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KLParallaxView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | 68B94287ACACF3278CD6D2750D37FD12 /* Pods-KLParallaxView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KLParallaxView_Example-dummy.m"; sourceTree = ""; }; 64 | 6FA32F851C8A9DBC492F602A0FE31F28 /* Pods-KLParallaxView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-KLParallaxView_Tests-dummy.m"; sourceTree = ""; }; 65 | 82B7AE538904A5136DAA671E99F724D2 /* Pods-KLParallaxView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KLParallaxView_Tests-frameworks.sh"; sourceTree = ""; }; 66 | 839E6112DBC10D4EA6D1EA6A2D04EF4B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 67 | 84E75F24958FA1EE933F21A37E57B553 /* gloweffect.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; path = gloweffect.png; sourceTree = ""; }; 68 | 8561FC4E319A7CBD5626AA4B89BEF436 /* KLParallaxView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = KLParallaxView.m; sourceTree = ""; }; 69 | 8C74D9A2779D34FD953DB2B88660439E /* Pods-KLParallaxView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KLParallaxView_Tests.debug.xcconfig"; sourceTree = ""; }; 70 | 8DD42032DD3A434D9C76EBE8F107A8C9 /* Pods-KLParallaxView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KLParallaxView_Example-resources.sh"; sourceTree = ""; }; 71 | 913C60C938158904C3ABAEEE2E6CDFF3 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 72 | 9249BA17BCCDD0D392A49D984540114D /* Pods-KLParallaxView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KLParallaxView_Example.release.xcconfig"; sourceTree = ""; }; 73 | 9967FB1D3764EFAB2C107A2F5CEA3F6D /* KLParallaxView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KLParallaxView-dummy.m"; sourceTree = ""; }; 74 | 9B5934B3D9000164424D974A41EA96EA /* Pods-KLParallaxView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-KLParallaxView_Example-acknowledgements.markdown"; sourceTree = ""; }; 75 | A0FAC328741BC01562C0D062C891380C /* Pods-KLParallaxView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-KLParallaxView_Tests-umbrella.h"; sourceTree = ""; }; 76 | A3ABAEA1DAE31EC52347B8BDB103AA5C /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 77 | B4DFC4F508BFAA4AC391D6A8FC6FBDD3 /* Pods-KLParallaxView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KLParallaxView_Example.debug.xcconfig"; sourceTree = ""; }; 78 | B4E3EC68D0CE592DBB92C46F4C217EA3 /* Pods_KLParallaxView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KLParallaxView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 79 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 80 | BD4F5A591E71B773351B148E0B3494B1 /* Pods-KLParallaxView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-KLParallaxView_Tests-resources.sh"; sourceTree = ""; }; 81 | C85DA67DF04EC96351A24B97218AFBC6 /* Pods_KLParallaxView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_KLParallaxView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 82 | D2A04D3054A40971B94D9AC9DD6B758E /* Pods-KLParallaxView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-KLParallaxView_Tests.release.xcconfig"; sourceTree = ""; }; 83 | E1BE8783EBAD46BE3584B0042A3F1A05 /* Pods-KLParallaxView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-KLParallaxView_Tests.modulemap"; sourceTree = ""; }; 84 | E219F08F7E92BFC830823C07C229CDD7 /* KLParallaxView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = KLParallaxView.h; sourceTree = ""; }; 85 | /* End PBXFileReference section */ 86 | 87 | /* Begin PBXFrameworksBuildPhase section */ 88 | 1B4A8CB419824E42119E9C7154F869A2 /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | CD18E9EFF1DD14D830100D4FC97F9C06 /* Frameworks */ = { 96 | isa = PBXFrameworksBuildPhase; 97 | buildActionMask = 2147483647; 98 | files = ( 99 | 37AF18F66513E1552BCBF1CC409347D0 /* Foundation.framework in Frameworks */, 100 | ); 101 | runOnlyForDeploymentPostprocessing = 0; 102 | }; 103 | F9A848C61EF425C183E220EF4F62E1FC /* Frameworks */ = { 104 | isa = PBXFrameworksBuildPhase; 105 | buildActionMask = 2147483647; 106 | files = ( 107 | E5AA5AB76894E7C686793BE66EC21D64 /* Foundation.framework in Frameworks */, 108 | ); 109 | runOnlyForDeploymentPostprocessing = 0; 110 | }; 111 | FCD356CD2A44F6171D1AF115BCF534C9 /* Frameworks */ = { 112 | isa = PBXFrameworksBuildPhase; 113 | buildActionMask = 2147483647; 114 | files = ( 115 | 618DFE5B569438257255E3998BAE5E5F /* Foundation.framework in Frameworks */, 116 | ); 117 | runOnlyForDeploymentPostprocessing = 0; 118 | }; 119 | /* End PBXFrameworksBuildPhase section */ 120 | 121 | /* Begin PBXGroup section */ 122 | 25E7EC251E0CA81F14ADABFC361C1276 /* Pods-KLParallaxView_Tests */ = { 123 | isa = PBXGroup; 124 | children = ( 125 | 913C60C938158904C3ABAEEE2E6CDFF3 /* Info.plist */, 126 | E1BE8783EBAD46BE3584B0042A3F1A05 /* Pods-KLParallaxView_Tests.modulemap */, 127 | 0A413CF9D3BFD817B8261C090BEDCFEB /* Pods-KLParallaxView_Tests-acknowledgements.markdown */, 128 | 1D0724731F170BEC9514658EF0E23F0A /* Pods-KLParallaxView_Tests-acknowledgements.plist */, 129 | 6FA32F851C8A9DBC492F602A0FE31F28 /* Pods-KLParallaxView_Tests-dummy.m */, 130 | 82B7AE538904A5136DAA671E99F724D2 /* Pods-KLParallaxView_Tests-frameworks.sh */, 131 | BD4F5A591E71B773351B148E0B3494B1 /* Pods-KLParallaxView_Tests-resources.sh */, 132 | A0FAC328741BC01562C0D062C891380C /* Pods-KLParallaxView_Tests-umbrella.h */, 133 | 8C74D9A2779D34FD953DB2B88660439E /* Pods-KLParallaxView_Tests.debug.xcconfig */, 134 | D2A04D3054A40971B94D9AC9DD6B758E /* Pods-KLParallaxView_Tests.release.xcconfig */, 135 | ); 136 | name = "Pods-KLParallaxView_Tests"; 137 | path = "Target Support Files/Pods-KLParallaxView_Tests"; 138 | sourceTree = ""; 139 | }; 140 | 2998E74154389C6585C107562D09D78A /* Products */ = { 141 | isa = PBXGroup; 142 | children = ( 143 | 3412EC73723A064B8035333B5ACFEDA4 /* KLParallaxView.bundle */, 144 | 662A8A335B94D4898546AB10D3B83D2A /* KLParallaxView.framework */, 145 | C85DA67DF04EC96351A24B97218AFBC6 /* Pods_KLParallaxView_Example.framework */, 146 | B4E3EC68D0CE592DBB92C46F4C217EA3 /* Pods_KLParallaxView_Tests.framework */, 147 | ); 148 | name = Products; 149 | sourceTree = ""; 150 | }; 151 | 2FB22CFE2E75D90F9A68BE361685441C /* Support Files */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 839E6112DBC10D4EA6D1EA6A2D04EF4B /* Info.plist */, 155 | 497F8CB93179B5E7E0AD6FAEED065099 /* KLParallaxView.modulemap */, 156 | 04BBD8E7994DD2573D5DFFAACAC89F5B /* KLParallaxView.xcconfig */, 157 | 9967FB1D3764EFAB2C107A2F5CEA3F6D /* KLParallaxView-dummy.m */, 158 | 54BF2B68DA2312E5B2E571086D4950EB /* KLParallaxView-prefix.pch */, 159 | 467F01F6FE2B009E550788647FF3694F /* KLParallaxView-umbrella.h */, 160 | ); 161 | name = "Support Files"; 162 | path = "Example/Pods/Target Support Files/KLParallaxView"; 163 | sourceTree = ""; 164 | }; 165 | 4093B9973E1214B9D7CA0D1F20501223 /* Pod */ = { 166 | isa = PBXGroup; 167 | children = ( 168 | 590FE69DF664A92AFA7977BECEF743E1 /* Assets */, 169 | ); 170 | path = Pod; 171 | sourceTree = ""; 172 | }; 173 | 56A00891227453B33B14047361EEC004 /* Development Pods */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | E47F598BD67090AB25CCF0FAC725048E /* KLParallaxView */, 177 | ); 178 | name = "Development Pods"; 179 | sourceTree = ""; 180 | }; 181 | 590FE69DF664A92AFA7977BECEF743E1 /* Assets */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | 84E75F24958FA1EE933F21A37E57B553 /* gloweffect.png */, 185 | ); 186 | path = Assets; 187 | sourceTree = ""; 188 | }; 189 | 6348B040BCD70ABA5F151EA2C3408C60 /* Pod */ = { 190 | isa = PBXGroup; 191 | children = ( 192 | 6369F2C253024EFC057BAF222A14D217 /* Classes */, 193 | ); 194 | path = Pod; 195 | sourceTree = ""; 196 | }; 197 | 6369F2C253024EFC057BAF222A14D217 /* Classes */ = { 198 | isa = PBXGroup; 199 | children = ( 200 | E219F08F7E92BFC830823C07C229CDD7 /* KLParallaxView.h */, 201 | 8561FC4E319A7CBD5626AA4B89BEF436 /* KLParallaxView.m */, 202 | ); 203 | path = Classes; 204 | sourceTree = ""; 205 | }; 206 | 7B1AD947F128B80A142ED2F69B6721C0 /* Resources */ = { 207 | isa = PBXGroup; 208 | children = ( 209 | 4093B9973E1214B9D7CA0D1F20501223 /* Pod */, 210 | ); 211 | name = Resources; 212 | sourceTree = ""; 213 | }; 214 | 7DB346D0F39D3F0E887471402A8071AB = { 215 | isa = PBXGroup; 216 | children = ( 217 | BA6428E9F66FD5A23C0A2E06ED26CD2F /* Podfile */, 218 | 56A00891227453B33B14047361EEC004 /* Development Pods */, 219 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 220 | 2998E74154389C6585C107562D09D78A /* Products */, 221 | FCC6D3A916666BF19E4265081EE11234 /* Targets Support Files */, 222 | ); 223 | sourceTree = ""; 224 | }; 225 | B3B45F032E451C8F81354011D9788E7D /* Pods-KLParallaxView_Example */ = { 226 | isa = PBXGroup; 227 | children = ( 228 | A3ABAEA1DAE31EC52347B8BDB103AA5C /* Info.plist */, 229 | 505C2C5ABA385D514EEC859D7396C907 /* Pods-KLParallaxView_Example.modulemap */, 230 | 9B5934B3D9000164424D974A41EA96EA /* Pods-KLParallaxView_Example-acknowledgements.markdown */, 231 | 4D57F7904C3CA52BFA4CFB8618623613 /* Pods-KLParallaxView_Example-acknowledgements.plist */, 232 | 68B94287ACACF3278CD6D2750D37FD12 /* Pods-KLParallaxView_Example-dummy.m */, 233 | 199407E6B399097CFC88EC14C8DDDBA8 /* Pods-KLParallaxView_Example-frameworks.sh */, 234 | 8DD42032DD3A434D9C76EBE8F107A8C9 /* Pods-KLParallaxView_Example-resources.sh */, 235 | 1BEC93897AF0DB5B37BDA5DF130EB3BA /* Pods-KLParallaxView_Example-umbrella.h */, 236 | B4DFC4F508BFAA4AC391D6A8FC6FBDD3 /* Pods-KLParallaxView_Example.debug.xcconfig */, 237 | 9249BA17BCCDD0D392A49D984540114D /* Pods-KLParallaxView_Example.release.xcconfig */, 238 | ); 239 | name = "Pods-KLParallaxView_Example"; 240 | path = "Target Support Files/Pods-KLParallaxView_Example"; 241 | sourceTree = ""; 242 | }; 243 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 244 | isa = PBXGroup; 245 | children = ( 246 | BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */, 247 | ); 248 | name = Frameworks; 249 | sourceTree = ""; 250 | }; 251 | BF6342C8B29F4CEEA088EFF7AB4DE362 /* iOS */ = { 252 | isa = PBXGroup; 253 | children = ( 254 | 3E4E89230EF59BC255123B67864ACF77 /* Foundation.framework */, 255 | ); 256 | name = iOS; 257 | sourceTree = ""; 258 | }; 259 | E47F598BD67090AB25CCF0FAC725048E /* KLParallaxView */ = { 260 | isa = PBXGroup; 261 | children = ( 262 | 6348B040BCD70ABA5F151EA2C3408C60 /* Pod */, 263 | 7B1AD947F128B80A142ED2F69B6721C0 /* Resources */, 264 | 2FB22CFE2E75D90F9A68BE361685441C /* Support Files */, 265 | ); 266 | name = KLParallaxView; 267 | path = ../..; 268 | sourceTree = ""; 269 | }; 270 | FCC6D3A916666BF19E4265081EE11234 /* Targets Support Files */ = { 271 | isa = PBXGroup; 272 | children = ( 273 | B3B45F032E451C8F81354011D9788E7D /* Pods-KLParallaxView_Example */, 274 | 25E7EC251E0CA81F14ADABFC361C1276 /* Pods-KLParallaxView_Tests */, 275 | ); 276 | name = "Targets Support Files"; 277 | sourceTree = ""; 278 | }; 279 | /* End PBXGroup section */ 280 | 281 | /* Begin PBXHeadersBuildPhase section */ 282 | 0EA9CFBBF61AFFB2F3B7E41AEBFC7DFB /* Headers */ = { 283 | isa = PBXHeadersBuildPhase; 284 | buildActionMask = 2147483647; 285 | files = ( 286 | 0561C634A12AD24857696BA7E3BB8D93 /* Pods-KLParallaxView_Tests-umbrella.h in Headers */, 287 | ); 288 | runOnlyForDeploymentPostprocessing = 0; 289 | }; 290 | 5061DE95C9318361F0471BCA215A2C21 /* Headers */ = { 291 | isa = PBXHeadersBuildPhase; 292 | buildActionMask = 2147483647; 293 | files = ( 294 | 89DFDD037E2A8B1D9B7A5254F23AF37A /* Pods-KLParallaxView_Example-umbrella.h in Headers */, 295 | ); 296 | runOnlyForDeploymentPostprocessing = 0; 297 | }; 298 | AB124A800964703B85D55611A9CF02DE /* Headers */ = { 299 | isa = PBXHeadersBuildPhase; 300 | buildActionMask = 2147483647; 301 | files = ( 302 | 4BA4CDEB54E1B18C2508C32B103DA488 /* KLParallaxView-umbrella.h in Headers */, 303 | 1AE3A5FDC3149943ABEA6F4A3829EDD5 /* KLParallaxView.h in Headers */, 304 | ); 305 | runOnlyForDeploymentPostprocessing = 0; 306 | }; 307 | /* End PBXHeadersBuildPhase section */ 308 | 309 | /* Begin PBXNativeTarget section */ 310 | 1D64445DACDD923F8FDBE516F323E154 /* KLParallaxView */ = { 311 | isa = PBXNativeTarget; 312 | buildConfigurationList = AAAE0C94977500C8DEFDD8BE3ED4E24B /* Build configuration list for PBXNativeTarget "KLParallaxView" */; 313 | buildPhases = ( 314 | 901118AEB9CAB8DDA02E0AF8F841221D /* Sources */, 315 | CD18E9EFF1DD14D830100D4FC97F9C06 /* Frameworks */, 316 | 81FA8DFA0FADF9B358F70304BF6959BA /* Resources */, 317 | AB124A800964703B85D55611A9CF02DE /* Headers */, 318 | ); 319 | buildRules = ( 320 | ); 321 | dependencies = ( 322 | 1A449A7E82194D1DB245AC73ABE65520 /* PBXTargetDependency */, 323 | ); 324 | name = KLParallaxView; 325 | productName = KLParallaxView; 326 | productReference = 662A8A335B94D4898546AB10D3B83D2A /* KLParallaxView.framework */; 327 | productType = "com.apple.product-type.framework"; 328 | }; 329 | 3B017A303A95BB8162A5C6F1E7416AFA /* Pods-KLParallaxView_Tests */ = { 330 | isa = PBXNativeTarget; 331 | buildConfigurationList = 9B0DA8E76CAE3D4E74AB74146F2CA9D0 /* Build configuration list for PBXNativeTarget "Pods-KLParallaxView_Tests" */; 332 | buildPhases = ( 333 | 37D308481026F89F1443AE354FBD0FBB /* Sources */, 334 | FCD356CD2A44F6171D1AF115BCF534C9 /* Frameworks */, 335 | 0EA9CFBBF61AFFB2F3B7E41AEBFC7DFB /* Headers */, 336 | ); 337 | buildRules = ( 338 | ); 339 | dependencies = ( 340 | 22F625D868592D0C07DC481E1A90481A /* PBXTargetDependency */, 341 | ); 342 | name = "Pods-KLParallaxView_Tests"; 343 | productName = "Pods-KLParallaxView_Tests"; 344 | productReference = B4E3EC68D0CE592DBB92C46F4C217EA3 /* Pods_KLParallaxView_Tests.framework */; 345 | productType = "com.apple.product-type.framework"; 346 | }; 347 | 42CB99A10595E1EEE33B5114B655624A /* Pods-KLParallaxView_Example */ = { 348 | isa = PBXNativeTarget; 349 | buildConfigurationList = 70D6E5751DD942C657F8F707009A919B /* Build configuration list for PBXNativeTarget "Pods-KLParallaxView_Example" */; 350 | buildPhases = ( 351 | 680C3A3EAF133E9494C0FDDE04D9F227 /* Sources */, 352 | F9A848C61EF425C183E220EF4F62E1FC /* Frameworks */, 353 | 5061DE95C9318361F0471BCA215A2C21 /* Headers */, 354 | ); 355 | buildRules = ( 356 | ); 357 | dependencies = ( 358 | FBA029DA0BA170736E80DE6E29CDC903 /* PBXTargetDependency */, 359 | ); 360 | name = "Pods-KLParallaxView_Example"; 361 | productName = "Pods-KLParallaxView_Example"; 362 | productReference = C85DA67DF04EC96351A24B97218AFBC6 /* Pods_KLParallaxView_Example.framework */; 363 | productType = "com.apple.product-type.framework"; 364 | }; 365 | B7F6E8F0629B55E7D620376023477221 /* KLParallaxView-KLParallaxView */ = { 366 | isa = PBXNativeTarget; 367 | buildConfigurationList = A0F21457B1342A11AC1C3C694DF9330E /* Build configuration list for PBXNativeTarget "KLParallaxView-KLParallaxView" */; 368 | buildPhases = ( 369 | 19875B6BA6403A34A2D989ECCCFCA187 /* Sources */, 370 | 1B4A8CB419824E42119E9C7154F869A2 /* Frameworks */, 371 | E62E5A6219B1ED498B2A13B2B2C72984 /* Resources */, 372 | ); 373 | buildRules = ( 374 | ); 375 | dependencies = ( 376 | ); 377 | name = "KLParallaxView-KLParallaxView"; 378 | productName = "KLParallaxView-KLParallaxView"; 379 | productReference = 3412EC73723A064B8035333B5ACFEDA4 /* KLParallaxView.bundle */; 380 | productType = "com.apple.product-type.bundle"; 381 | }; 382 | /* End PBXNativeTarget section */ 383 | 384 | /* Begin PBXProject section */ 385 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 386 | isa = PBXProject; 387 | attributes = { 388 | LastSwiftUpdateCheck = 0700; 389 | LastUpgradeCheck = 0700; 390 | }; 391 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 392 | compatibilityVersion = "Xcode 3.2"; 393 | developmentRegion = English; 394 | hasScannedForEncodings = 0; 395 | knownRegions = ( 396 | en, 397 | ); 398 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 399 | productRefGroup = 2998E74154389C6585C107562D09D78A /* Products */; 400 | projectDirPath = ""; 401 | projectRoot = ""; 402 | targets = ( 403 | 1D64445DACDD923F8FDBE516F323E154 /* KLParallaxView */, 404 | B7F6E8F0629B55E7D620376023477221 /* KLParallaxView-KLParallaxView */, 405 | 42CB99A10595E1EEE33B5114B655624A /* Pods-KLParallaxView_Example */, 406 | 3B017A303A95BB8162A5C6F1E7416AFA /* Pods-KLParallaxView_Tests */, 407 | ); 408 | }; 409 | /* End PBXProject section */ 410 | 411 | /* Begin PBXResourcesBuildPhase section */ 412 | 81FA8DFA0FADF9B358F70304BF6959BA /* Resources */ = { 413 | isa = PBXResourcesBuildPhase; 414 | buildActionMask = 2147483647; 415 | files = ( 416 | 1F898DF8091D9623DDB2E86CC40C3836 /* KLParallaxView.bundle in Resources */, 417 | ); 418 | runOnlyForDeploymentPostprocessing = 0; 419 | }; 420 | E62E5A6219B1ED498B2A13B2B2C72984 /* Resources */ = { 421 | isa = PBXResourcesBuildPhase; 422 | buildActionMask = 2147483647; 423 | files = ( 424 | D441079528266FEF02E106BCBDD8E997 /* gloweffect.png in Resources */, 425 | ); 426 | runOnlyForDeploymentPostprocessing = 0; 427 | }; 428 | /* End PBXResourcesBuildPhase section */ 429 | 430 | /* Begin PBXSourcesBuildPhase section */ 431 | 19875B6BA6403A34A2D989ECCCFCA187 /* Sources */ = { 432 | isa = PBXSourcesBuildPhase; 433 | buildActionMask = 2147483647; 434 | files = ( 435 | ); 436 | runOnlyForDeploymentPostprocessing = 0; 437 | }; 438 | 37D308481026F89F1443AE354FBD0FBB /* Sources */ = { 439 | isa = PBXSourcesBuildPhase; 440 | buildActionMask = 2147483647; 441 | files = ( 442 | AC571F3E12A55D6B39999367D9A0504A /* Pods-KLParallaxView_Tests-dummy.m in Sources */, 443 | ); 444 | runOnlyForDeploymentPostprocessing = 0; 445 | }; 446 | 680C3A3EAF133E9494C0FDDE04D9F227 /* Sources */ = { 447 | isa = PBXSourcesBuildPhase; 448 | buildActionMask = 2147483647; 449 | files = ( 450 | 78627A4AA3EC945B18B7B4DAAB231156 /* Pods-KLParallaxView_Example-dummy.m in Sources */, 451 | ); 452 | runOnlyForDeploymentPostprocessing = 0; 453 | }; 454 | 901118AEB9CAB8DDA02E0AF8F841221D /* Sources */ = { 455 | isa = PBXSourcesBuildPhase; 456 | buildActionMask = 2147483647; 457 | files = ( 458 | BC7457C7E368DD841C1C314BD7BE1BB8 /* KLParallaxView-dummy.m in Sources */, 459 | 9A1D5C6678B541219E6FF288287273EE /* KLParallaxView.m in Sources */, 460 | ); 461 | runOnlyForDeploymentPostprocessing = 0; 462 | }; 463 | /* End PBXSourcesBuildPhase section */ 464 | 465 | /* Begin PBXTargetDependency section */ 466 | 1A449A7E82194D1DB245AC73ABE65520 /* PBXTargetDependency */ = { 467 | isa = PBXTargetDependency; 468 | name = "KLParallaxView-KLParallaxView"; 469 | target = B7F6E8F0629B55E7D620376023477221 /* KLParallaxView-KLParallaxView */; 470 | targetProxy = 495C29B5C39CA0C6EF4FE5906398D659 /* PBXContainerItemProxy */; 471 | }; 472 | 22F625D868592D0C07DC481E1A90481A /* PBXTargetDependency */ = { 473 | isa = PBXTargetDependency; 474 | name = KLParallaxView; 475 | target = 1D64445DACDD923F8FDBE516F323E154 /* KLParallaxView */; 476 | targetProxy = 767520648D771BD8F6E13E19DFE7D6DD /* PBXContainerItemProxy */; 477 | }; 478 | FBA029DA0BA170736E80DE6E29CDC903 /* PBXTargetDependency */ = { 479 | isa = PBXTargetDependency; 480 | name = KLParallaxView; 481 | target = 1D64445DACDD923F8FDBE516F323E154 /* KLParallaxView */; 482 | targetProxy = DFAECB7E802230415477A648C7F9A625 /* PBXContainerItemProxy */; 483 | }; 484 | /* End PBXTargetDependency section */ 485 | 486 | /* Begin XCBuildConfiguration section */ 487 | 03CA91998D6773EC5D02B3DB87B8353E /* Release */ = { 488 | isa = XCBuildConfiguration; 489 | buildSettings = { 490 | ALWAYS_SEARCH_USER_PATHS = NO; 491 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 492 | CLANG_CXX_LIBRARY = "libc++"; 493 | CLANG_ENABLE_MODULES = YES; 494 | CLANG_ENABLE_OBJC_ARC = YES; 495 | CLANG_WARN_BOOL_CONVERSION = YES; 496 | CLANG_WARN_CONSTANT_CONVERSION = YES; 497 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 498 | CLANG_WARN_EMPTY_BODY = YES; 499 | CLANG_WARN_ENUM_CONVERSION = YES; 500 | CLANG_WARN_INT_CONVERSION = YES; 501 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 502 | CLANG_WARN_UNREACHABLE_CODE = YES; 503 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 504 | COPY_PHASE_STRIP = YES; 505 | ENABLE_NS_ASSERTIONS = NO; 506 | GCC_C_LANGUAGE_STANDARD = gnu99; 507 | GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; 508 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 509 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 510 | GCC_WARN_UNDECLARED_SELECTOR = YES; 511 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 512 | GCC_WARN_UNUSED_FUNCTION = YES; 513 | GCC_WARN_UNUSED_VARIABLE = YES; 514 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 515 | STRIP_INSTALLED_PRODUCT = NO; 516 | SYMROOT = "${SRCROOT}/../build"; 517 | VALIDATE_PRODUCT = YES; 518 | }; 519 | name = Release; 520 | }; 521 | 0B57334D6C23DADAA4F7D802A5760EB2 /* Debug */ = { 522 | isa = XCBuildConfiguration; 523 | buildSettings = { 524 | ALWAYS_SEARCH_USER_PATHS = NO; 525 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 526 | CLANG_CXX_LIBRARY = "libc++"; 527 | CLANG_ENABLE_MODULES = YES; 528 | CLANG_ENABLE_OBJC_ARC = YES; 529 | CLANG_WARN_BOOL_CONVERSION = YES; 530 | CLANG_WARN_CONSTANT_CONVERSION = YES; 531 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 532 | CLANG_WARN_EMPTY_BODY = YES; 533 | CLANG_WARN_ENUM_CONVERSION = YES; 534 | CLANG_WARN_INT_CONVERSION = YES; 535 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 536 | CLANG_WARN_UNREACHABLE_CODE = YES; 537 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 538 | COPY_PHASE_STRIP = NO; 539 | GCC_C_LANGUAGE_STANDARD = gnu99; 540 | GCC_DYNAMIC_NO_PIC = NO; 541 | GCC_OPTIMIZATION_LEVEL = 0; 542 | GCC_PREPROCESSOR_DEFINITIONS = ( 543 | "DEBUG=1", 544 | "$(inherited)", 545 | ); 546 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 547 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 548 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 549 | GCC_WARN_UNDECLARED_SELECTOR = YES; 550 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 551 | GCC_WARN_UNUSED_FUNCTION = YES; 552 | GCC_WARN_UNUSED_VARIABLE = YES; 553 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 554 | ONLY_ACTIVE_ARCH = YES; 555 | STRIP_INSTALLED_PRODUCT = NO; 556 | SYMROOT = "${SRCROOT}/../build"; 557 | }; 558 | name = Debug; 559 | }; 560 | 14385C2E0FDE5D00C5DE01EA5E0F928D /* Release */ = { 561 | isa = XCBuildConfiguration; 562 | baseConfigurationReference = 04BBD8E7994DD2573D5DFFAACAC89F5B /* KLParallaxView.xcconfig */; 563 | buildSettings = { 564 | ENABLE_STRICT_OBJC_MSGSEND = YES; 565 | PRODUCT_NAME = KLParallaxView; 566 | SDKROOT = iphoneos; 567 | SKIP_INSTALL = YES; 568 | WRAPPER_EXTENSION = bundle; 569 | }; 570 | name = Release; 571 | }; 572 | 46D0949200249F29E326908B965B2F30 /* Debug */ = { 573 | isa = XCBuildConfiguration; 574 | baseConfigurationReference = B4DFC4F508BFAA4AC391D6A8FC6FBDD3 /* Pods-KLParallaxView_Example.debug.xcconfig */; 575 | buildSettings = { 576 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 577 | CURRENT_PROJECT_VERSION = 1; 578 | DEFINES_MODULE = YES; 579 | DYLIB_COMPATIBILITY_VERSION = 1; 580 | DYLIB_CURRENT_VERSION = 1; 581 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 582 | ENABLE_STRICT_OBJC_MSGSEND = YES; 583 | INFOPLIST_FILE = "Target Support Files/Pods-KLParallaxView_Example/Info.plist"; 584 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 585 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 586 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 587 | MACH_O_TYPE = staticlib; 588 | MODULEMAP_FILE = "Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example.modulemap"; 589 | MTL_ENABLE_DEBUG_INFO = YES; 590 | OTHER_LDFLAGS = ""; 591 | OTHER_LIBTOOLFLAGS = ""; 592 | PODS_ROOT = "$(SRCROOT)"; 593 | PRODUCT_NAME = Pods_KLParallaxView_Example; 594 | SDKROOT = iphoneos; 595 | SKIP_INSTALL = YES; 596 | TARGETED_DEVICE_FAMILY = "1,2"; 597 | VERSIONING_SYSTEM = "apple-generic"; 598 | VERSION_INFO_PREFIX = ""; 599 | }; 600 | name = Debug; 601 | }; 602 | 64A0BD226F0D65E37D0ECE5FF0AADBF2 /* Release */ = { 603 | isa = XCBuildConfiguration; 604 | baseConfigurationReference = D2A04D3054A40971B94D9AC9DD6B758E /* Pods-KLParallaxView_Tests.release.xcconfig */; 605 | buildSettings = { 606 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 607 | CURRENT_PROJECT_VERSION = 1; 608 | DEFINES_MODULE = YES; 609 | DYLIB_COMPATIBILITY_VERSION = 1; 610 | DYLIB_CURRENT_VERSION = 1; 611 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 612 | ENABLE_STRICT_OBJC_MSGSEND = YES; 613 | INFOPLIST_FILE = "Target Support Files/Pods-KLParallaxView_Tests/Info.plist"; 614 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 615 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 616 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 617 | MACH_O_TYPE = staticlib; 618 | MODULEMAP_FILE = "Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests.modulemap"; 619 | MTL_ENABLE_DEBUG_INFO = NO; 620 | OTHER_LDFLAGS = ""; 621 | OTHER_LIBTOOLFLAGS = ""; 622 | PODS_ROOT = "$(SRCROOT)"; 623 | PRODUCT_NAME = Pods_KLParallaxView_Tests; 624 | SDKROOT = iphoneos; 625 | SKIP_INSTALL = YES; 626 | TARGETED_DEVICE_FAMILY = "1,2"; 627 | VERSIONING_SYSTEM = "apple-generic"; 628 | VERSION_INFO_PREFIX = ""; 629 | }; 630 | name = Release; 631 | }; 632 | 816376FD4CC8274CC2EBDFD8D5762FB0 /* Debug */ = { 633 | isa = XCBuildConfiguration; 634 | baseConfigurationReference = 8C74D9A2779D34FD953DB2B88660439E /* Pods-KLParallaxView_Tests.debug.xcconfig */; 635 | buildSettings = { 636 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 637 | CURRENT_PROJECT_VERSION = 1; 638 | DEFINES_MODULE = YES; 639 | DYLIB_COMPATIBILITY_VERSION = 1; 640 | DYLIB_CURRENT_VERSION = 1; 641 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 642 | ENABLE_STRICT_OBJC_MSGSEND = YES; 643 | INFOPLIST_FILE = "Target Support Files/Pods-KLParallaxView_Tests/Info.plist"; 644 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 645 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 646 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 647 | MACH_O_TYPE = staticlib; 648 | MODULEMAP_FILE = "Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests.modulemap"; 649 | MTL_ENABLE_DEBUG_INFO = YES; 650 | OTHER_LDFLAGS = ""; 651 | OTHER_LIBTOOLFLAGS = ""; 652 | PODS_ROOT = "$(SRCROOT)"; 653 | PRODUCT_NAME = Pods_KLParallaxView_Tests; 654 | SDKROOT = iphoneos; 655 | SKIP_INSTALL = YES; 656 | TARGETED_DEVICE_FAMILY = "1,2"; 657 | VERSIONING_SYSTEM = "apple-generic"; 658 | VERSION_INFO_PREFIX = ""; 659 | }; 660 | name = Debug; 661 | }; 662 | 9D727FE98C6A70569D4643A2D4DB8E83 /* Debug */ = { 663 | isa = XCBuildConfiguration; 664 | baseConfigurationReference = 04BBD8E7994DD2573D5DFFAACAC89F5B /* KLParallaxView.xcconfig */; 665 | buildSettings = { 666 | ENABLE_STRICT_OBJC_MSGSEND = YES; 667 | PRODUCT_NAME = KLParallaxView; 668 | SDKROOT = iphoneos; 669 | SKIP_INSTALL = YES; 670 | WRAPPER_EXTENSION = bundle; 671 | }; 672 | name = Debug; 673 | }; 674 | B6E13E33E0FA673C884656E182976985 /* Release */ = { 675 | isa = XCBuildConfiguration; 676 | baseConfigurationReference = 9249BA17BCCDD0D392A49D984540114D /* Pods-KLParallaxView_Example.release.xcconfig */; 677 | buildSettings = { 678 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 679 | CURRENT_PROJECT_VERSION = 1; 680 | DEFINES_MODULE = YES; 681 | DYLIB_COMPATIBILITY_VERSION = 1; 682 | DYLIB_CURRENT_VERSION = 1; 683 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 684 | ENABLE_STRICT_OBJC_MSGSEND = YES; 685 | INFOPLIST_FILE = "Target Support Files/Pods-KLParallaxView_Example/Info.plist"; 686 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 687 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 688 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 689 | MACH_O_TYPE = staticlib; 690 | MODULEMAP_FILE = "Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example.modulemap"; 691 | MTL_ENABLE_DEBUG_INFO = NO; 692 | OTHER_LDFLAGS = ""; 693 | OTHER_LIBTOOLFLAGS = ""; 694 | PODS_ROOT = "$(SRCROOT)"; 695 | PRODUCT_NAME = Pods_KLParallaxView_Example; 696 | SDKROOT = iphoneos; 697 | SKIP_INSTALL = YES; 698 | TARGETED_DEVICE_FAMILY = "1,2"; 699 | VERSIONING_SYSTEM = "apple-generic"; 700 | VERSION_INFO_PREFIX = ""; 701 | }; 702 | name = Release; 703 | }; 704 | E4DDC71D6CB6F2C609787AEECC6D41AC /* Debug */ = { 705 | isa = XCBuildConfiguration; 706 | baseConfigurationReference = 04BBD8E7994DD2573D5DFFAACAC89F5B /* KLParallaxView.xcconfig */; 707 | buildSettings = { 708 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 709 | CURRENT_PROJECT_VERSION = 1; 710 | DEFINES_MODULE = YES; 711 | DYLIB_COMPATIBILITY_VERSION = 1; 712 | DYLIB_CURRENT_VERSION = 1; 713 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 714 | ENABLE_STRICT_OBJC_MSGSEND = YES; 715 | GCC_PREFIX_HEADER = "Target Support Files/KLParallaxView/KLParallaxView-prefix.pch"; 716 | INFOPLIST_FILE = "Target Support Files/KLParallaxView/Info.plist"; 717 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 718 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 719 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 720 | MODULEMAP_FILE = "Target Support Files/KLParallaxView/KLParallaxView.modulemap"; 721 | MTL_ENABLE_DEBUG_INFO = YES; 722 | PRODUCT_NAME = KLParallaxView; 723 | SDKROOT = iphoneos; 724 | SKIP_INSTALL = YES; 725 | TARGETED_DEVICE_FAMILY = "1,2"; 726 | VERSIONING_SYSTEM = "apple-generic"; 727 | VERSION_INFO_PREFIX = ""; 728 | }; 729 | name = Debug; 730 | }; 731 | ECB1EC80B0CEEA24835835F386E160C7 /* Release */ = { 732 | isa = XCBuildConfiguration; 733 | baseConfigurationReference = 04BBD8E7994DD2573D5DFFAACAC89F5B /* KLParallaxView.xcconfig */; 734 | buildSettings = { 735 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 736 | CURRENT_PROJECT_VERSION = 1; 737 | DEFINES_MODULE = YES; 738 | DYLIB_COMPATIBILITY_VERSION = 1; 739 | DYLIB_CURRENT_VERSION = 1; 740 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 741 | ENABLE_STRICT_OBJC_MSGSEND = YES; 742 | GCC_PREFIX_HEADER = "Target Support Files/KLParallaxView/KLParallaxView-prefix.pch"; 743 | INFOPLIST_FILE = "Target Support Files/KLParallaxView/Info.plist"; 744 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 745 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 746 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 747 | MODULEMAP_FILE = "Target Support Files/KLParallaxView/KLParallaxView.modulemap"; 748 | MTL_ENABLE_DEBUG_INFO = NO; 749 | PRODUCT_NAME = KLParallaxView; 750 | SDKROOT = iphoneos; 751 | SKIP_INSTALL = YES; 752 | TARGETED_DEVICE_FAMILY = "1,2"; 753 | VERSIONING_SYSTEM = "apple-generic"; 754 | VERSION_INFO_PREFIX = ""; 755 | }; 756 | name = Release; 757 | }; 758 | /* End XCBuildConfiguration section */ 759 | 760 | /* Begin XCConfigurationList section */ 761 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 762 | isa = XCConfigurationList; 763 | buildConfigurations = ( 764 | 0B57334D6C23DADAA4F7D802A5760EB2 /* Debug */, 765 | 03CA91998D6773EC5D02B3DB87B8353E /* Release */, 766 | ); 767 | defaultConfigurationIsVisible = 0; 768 | defaultConfigurationName = Release; 769 | }; 770 | 70D6E5751DD942C657F8F707009A919B /* Build configuration list for PBXNativeTarget "Pods-KLParallaxView_Example" */ = { 771 | isa = XCConfigurationList; 772 | buildConfigurations = ( 773 | 46D0949200249F29E326908B965B2F30 /* Debug */, 774 | B6E13E33E0FA673C884656E182976985 /* Release */, 775 | ); 776 | defaultConfigurationIsVisible = 0; 777 | defaultConfigurationName = Release; 778 | }; 779 | 9B0DA8E76CAE3D4E74AB74146F2CA9D0 /* Build configuration list for PBXNativeTarget "Pods-KLParallaxView_Tests" */ = { 780 | isa = XCConfigurationList; 781 | buildConfigurations = ( 782 | 816376FD4CC8274CC2EBDFD8D5762FB0 /* Debug */, 783 | 64A0BD226F0D65E37D0ECE5FF0AADBF2 /* Release */, 784 | ); 785 | defaultConfigurationIsVisible = 0; 786 | defaultConfigurationName = Release; 787 | }; 788 | A0F21457B1342A11AC1C3C694DF9330E /* Build configuration list for PBXNativeTarget "KLParallaxView-KLParallaxView" */ = { 789 | isa = XCConfigurationList; 790 | buildConfigurations = ( 791 | 9D727FE98C6A70569D4643A2D4DB8E83 /* Debug */, 792 | 14385C2E0FDE5D00C5DE01EA5E0F928D /* Release */, 793 | ); 794 | defaultConfigurationIsVisible = 0; 795 | defaultConfigurationName = Release; 796 | }; 797 | AAAE0C94977500C8DEFDD8BE3ED4E24B /* Build configuration list for PBXNativeTarget "KLParallaxView" */ = { 798 | isa = XCConfigurationList; 799 | buildConfigurations = ( 800 | E4DDC71D6CB6F2C609787AEECC6D41AC /* Debug */, 801 | ECB1EC80B0CEEA24835835F386E160C7 /* Release */, 802 | ); 803 | defaultConfigurationIsVisible = 0; 804 | defaultConfigurationName = Release; 805 | }; 806 | /* End XCConfigurationList section */ 807 | }; 808 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 809 | } 810 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/KLParallaxView.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/KLParallaxView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/KLParallaxView/KLParallaxView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_KLParallaxView : NSObject 3 | @end 4 | @implementation PodsDummy_KLParallaxView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/KLParallaxView/KLParallaxView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/KLParallaxView/KLParallaxView-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "KLParallaxView.h" 4 | 5 | FOUNDATION_EXPORT double KLParallaxViewVersionNumber; 6 | FOUNDATION_EXPORT const unsigned char KLParallaxViewVersionString[]; 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/KLParallaxView/KLParallaxView.modulemap: -------------------------------------------------------------------------------- 1 | framework module KLParallaxView { 2 | umbrella header "KLParallaxView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/KLParallaxView/KLParallaxView.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/KLParallaxView" "${PODS_ROOT}/Headers/Public" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## KLParallaxView 5 | 6 | Copyright (c) 2015 dara 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2015 dara <dara.farimani@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | Title 38 | KLParallaxView 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_KLParallaxView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_KLParallaxView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "Pods-KLParallaxView_Example/KLParallaxView.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "Pods-KLParallaxView_Example/KLParallaxView.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | 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}" 22 | 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}" 23 | ;; 24 | *.xib) 25 | 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}" 26 | 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}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | 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}" 95 | fi 96 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_KLParallaxView_ExampleVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_KLParallaxView_ExampleVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/KLParallaxView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "KLParallaxView" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-KLParallaxView_Example 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_KLParallaxView_Example { 2 | umbrella header "Pods-KLParallaxView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Example/Pods-KLParallaxView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/KLParallaxView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "KLParallaxView" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-KLParallaxView_Example 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## KLParallaxView 5 | 6 | Copyright (c) 2015 dara 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - http://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2015 dara <dara.farimani@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | Title 38 | KLParallaxView 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - http://cocoapods.org 45 | Title 46 | 47 | Type 48 | PSGroupSpecifier 49 | 50 | 51 | StringsTable 52 | Acknowledgements 53 | Title 54 | Acknowledgements 55 | 56 | 57 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_KLParallaxView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_KLParallaxView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" 64 | fi 65 | } 66 | 67 | # Strip invalid architectures 68 | strip_invalid_archs() { 69 | binary="$1" 70 | # Get architectures for current file 71 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 72 | stripped="" 73 | for arch in $archs; do 74 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 75 | # Strip non-valid architectures in-place 76 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 77 | stripped="$stripped $arch" 78 | fi 79 | done 80 | if [[ "$stripped" ]]; then 81 | echo "Stripped $binary of architectures:$stripped" 82 | fi 83 | } 84 | 85 | 86 | if [[ "$CONFIGURATION" == "Debug" ]]; then 87 | install_framework "Pods-KLParallaxView_Tests/KLParallaxView.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "Pods-KLParallaxView_Tests/KLParallaxView.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY="$(cd "${1%/*}" && pwd)" 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | 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}" 22 | 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}" 23 | ;; 24 | *.xib) 25 | 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}" 26 | 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}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 63 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 64 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 65 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 66 | fi 67 | rm -f "$RESOURCES_TO_COPY" 68 | 69 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 70 | then 71 | case "${TARGETED_DEVICE_FAMILY}" in 72 | 1,2) 73 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 74 | ;; 75 | 1) 76 | TARGET_DEVICE_ARGS="--target-device iphone" 77 | ;; 78 | 2) 79 | TARGET_DEVICE_ARGS="--target-device ipad" 80 | ;; 81 | *) 82 | TARGET_DEVICE_ARGS="--target-device mac" 83 | ;; 84 | esac 85 | 86 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 87 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 88 | while read line; do 89 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 90 | XCASSET_FILES+=("$line") 91 | fi 92 | done <<<"$OTHER_XCASSETS" 93 | 94 | 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}" 95 | fi 96 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_KLParallaxView_TestsVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_KLParallaxView_TestsVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/KLParallaxView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "KLParallaxView" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-KLParallaxView_Tests 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_KLParallaxView_Tests { 2 | umbrella header "Pods-KLParallaxView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-KLParallaxView_Tests/Pods-KLParallaxView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 3 | OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/KLParallaxView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "KLParallaxView" 5 | PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-KLParallaxView_Tests 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // KLParallaxViewTests.m 3 | // KLParallaxViewTests 4 | // 5 | // Created by dara on 11/15/2015. 6 | // Copyright (c) 2015 dara. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /KLParallaxView.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint KLParallaxView.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = "KLParallaxView" 11 | s.version = "0.1.0" 12 | s.summary = "KLParallaxView is a UIView subclass that copies Apple TV's parallax effect." 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | s.description = <<-DESC 20 | KLParallaxView is an Objective-C UIView subclass that imitates Apple TV's parallax effect, based on the MPParallaxView Swift implementation. 21 | DESC 22 | 23 | s.homepage = "https://github.com/klop/KLParallaxView" 24 | # s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" 25 | s.license = 'MIT' 26 | s.author = { "klop" => "none@gmail.com" } 27 | s.source = { :git => "https://github.com/klop/KLParallaxView.git", :tag => s.version.to_s } 28 | 29 | s.platform = :ios, '7.0' 30 | s.requires_arc = true 31 | 32 | s.source_files = 'Pod/Classes/**/*' 33 | s.resource_bundles = { 34 | 'KLParallaxView' => ['Pod/Assets/*.png'] 35 | } 36 | 37 | s.public_header_files = 'Pod/Classes/**/*.h' 38 | # s.frameworks = 'UIKit', 'MapKit' 39 | # s.dependency 'AFNetworking', '~> 2.3' 40 | end 41 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Pod/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Pod/Assets/.gitkeep -------------------------------------------------------------------------------- /Pod/Assets/gloweffect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Pod/Assets/gloweffect.png -------------------------------------------------------------------------------- /Pod/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/klop/KLParallaxView/633626003eb58891400ad2c45d1f26c6b83802b7/Pod/Classes/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/KLParallaxView.h: -------------------------------------------------------------------------------- 1 | // 2 | // KLParallaxView.h 3 | // KLParallaxView 4 | // 5 | // Created by Dara on 09/11/2015. 6 | // Copyright (c) 2015 Dara. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface KLParallaxView : UIView 13 | 14 | /** 15 | * The initializer for KLParallaxView. 16 | * 17 | * @param frame Frame of the view. 18 | * @param subviews An array of views. The strength of the parallax effect on each view is determined by 19 | * its tag property or position in the view hierachy if basedOnHierchy is YES. 20 | * 21 | * @return An KLParallaxView instance. 22 | */ 23 | - (instancetype)initWithFrame:(CGRect)frame subviews:(NSArray *)subviews; 24 | 25 | @property (nonatomic) CGFloat cornerRadius; 26 | @property (nonatomic) CGFloat parallaxMultiplier; 27 | @property (nonatomic) CGFloat zoomMultiplier; 28 | @property (nonatomic) CGFloat initialShadowRadius; 29 | @property (nonatomic) CGFloat finalShadowRadius; 30 | @property (nonatomic) CGFloat shadowOpacity; 31 | @property (nonatomic, getter=isBasedOnHierachy) BOOL basedOnHierachy; 32 | @property (strong, nonatomic) UIColor *shadowColor; 33 | @property (strong, nonatomic) UIColor *glowColor; 34 | @property (nonatomic) BOOL glows; 35 | 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Pod/Classes/KLParallaxView.m: -------------------------------------------------------------------------------- 1 | // 2 | // KLParallaxView.m 3 | // KLParallaxView 4 | // 5 | // Created by Dara on 09/11/2015. 6 | // Copyright (c) 2015 Dara. All rights reserved. 7 | // 8 | 9 | #import "KLParallaxView.h" 10 | 11 | static CGFloat const kInitialParallaxOffset = 15.0; 12 | static CGFloat const kInitialZoomMultiplier = 1.05; 13 | static CGFloat const kInitialParallaxOffsetDuringPick = 15.0; 14 | static CGFloat const kInitialParallaxMultiplier = 1.0; 15 | static CGFloat const kInitialShadowOpacity = 0.8; 16 | static CGFloat const kInitialShadowRadius = 10.0; 17 | static CGFloat const kFinalShadowRadius = 20.0; 18 | static NSString *const kGlowImageName = @"gloweffect"; 19 | 20 | @interface KLParallaxView () 21 | 22 | @property (strong, nonatomic) UIView *contentView; 23 | @property (strong, nonatomic) UIImageView *glowEffect; 24 | 25 | @end 26 | 27 | @implementation KLParallaxView 28 | 29 | #pragma mark - Init 30 | 31 | - (instancetype)initWithFrame:(CGRect)frame subviews:(NSArray *)subviews 32 | { 33 | if ((self = [super initWithFrame:frame])) { 34 | _contentView = [UIView new]; 35 | _parallaxMultiplier = kInitialParallaxMultiplier; 36 | _initialShadowRadius = kInitialShadowRadius; 37 | _finalShadowRadius = kFinalShadowRadius; 38 | _zoomMultiplier = kInitialZoomMultiplier; 39 | _basedOnHierachy = NO; 40 | _glows = YES; 41 | 42 | self.backgroundColor = [UIColor clearColor]; 43 | self.layer.shadowRadius = _initialShadowRadius; 44 | self.layer.shadowOpacity = kInitialShadowOpacity; 45 | self.layer.shadowColor = [UIColor blackColor].CGColor; 46 | 47 | UIBezierPath *path = [UIBezierPath new]; 48 | [path moveToPoint:CGPointMake(4, CGRectGetHeight(self.bounds))]; 49 | [path addLineToPoint:CGPointMake(CGRectGetWidth(self.bounds) - 4, 50 | CGRectGetHeight(self.bounds))]; 51 | [path addLineToPoint:CGPointMake(CGRectGetWidth(self.bounds) - 4, 20)]; 52 | [path addLineToPoint:CGPointMake(4, 20)]; 53 | [path closePath]; 54 | self.layer.shadowPath = path.CGPath; 55 | 56 | _contentView.frame = frame; 57 | _contentView.layer.masksToBounds = YES; 58 | _contentView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; 59 | _contentView.translatesAutoresizingMaskIntoConstraints = YES; 60 | 61 | for (UIView *subview in subviews) { 62 | CGRect frame = subview.frame; 63 | frame.origin.x -= kInitialParallaxOffset; 64 | frame.origin.y -= kInitialParallaxOffset; 65 | frame.size.width += kInitialParallaxOffset * 2.0; 66 | frame.size.height += kInitialParallaxOffset * 2.0; 67 | subview.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; 68 | subview.translatesAutoresizingMaskIntoConstraints = YES; 69 | subview.frame = frame; 70 | [_contentView addSubview:subview]; 71 | } 72 | 73 | NSString *bundlePath = [[NSBundle bundleForClass:[self class]] pathForResource:nil ofType:@"bundle"]; 74 | NSBundle *bundle = [NSBundle bundleWithPath:bundlePath]; 75 | UIImage *glowImage = [UIImage imageNamed:kGlowImageName inBundle:bundle compatibleWithTraitCollection:nil]; 76 | _glowEffect = [[UIImageView alloc] initWithImage:glowImage]; 77 | _glowEffect.image = [_glowEffect.image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; 78 | _glowEffect.tintColor = [UIColor whiteColor]; 79 | _glowEffect.alpha = 0.0; 80 | _glowEffect.layer.zPosition = MAXFLOAT; 81 | [_contentView addSubview:_glowEffect]; 82 | 83 | [self addSubview:_contentView]; 84 | } 85 | return self; 86 | } 87 | 88 | #pragma mark - Shadow animations 89 | 90 | - (void)createShadow 91 | { 92 | CGSize shadowOffset = CGSizeMake(0.0, 30.0); 93 | [self addGroupAnimationWithShadowOffset:shadowOffset 94 | shadowRadius:self.finalShadowRadius 95 | duration:0.1 96 | layer:self.layer]; 97 | } 98 | 99 | - (void)removeShadow 100 | { 101 | CGSize shadowOffset = CGSizeZero; 102 | [self addGroupAnimationWithShadowOffset:shadowOffset 103 | shadowRadius:self.initialShadowRadius 104 | duration:0.3 105 | layer:self.layer]; 106 | } 107 | 108 | - (void)addGroupAnimationWithShadowOffset:(CGSize)shadowOffset 109 | shadowRadius:(CGFloat)shadowRadius 110 | duration:(NSTimeInterval)duration 111 | layer:(CALayer *)layer 112 | { 113 | if (!CGSizeEqualToSize(layer.shadowOffset, shadowOffset) && layer.shadowRadius != shadowRadius) { 114 | CALayer *presentationLayer = (CALayer *)layer.presentationLayer; 115 | CABasicAnimation *offsetAnimation = [CABasicAnimation animationWithKeyPath:@"shadowOffset"]; 116 | offsetAnimation.fromValue = [NSValue valueWithCGSize:presentationLayer.shadowOffset]; 117 | offsetAnimation.toValue = [NSValue valueWithCGSize:shadowOffset]; 118 | 119 | CABasicAnimation *radiusAnimation = [CABasicAnimation animationWithKeyPath:@"shadowRadius"]; 120 | radiusAnimation.fromValue = [NSNumber numberWithFloat:presentationLayer.shadowRadius]; 121 | radiusAnimation.toValue = [NSNumber numberWithFloat:shadowRadius]; 122 | 123 | CAAnimationGroup *animationGroup = [CAAnimationGroup new]; 124 | animationGroup.duration = duration; 125 | animationGroup.animations = @[ offsetAnimation, radiusAnimation ]; 126 | 127 | [layer addAnimation:animationGroup forKey:@"shadowRadius"]; 128 | layer.shadowRadius = shadowRadius; 129 | layer.shadowOffset = shadowOffset; 130 | } 131 | } 132 | 133 | #pragma mark - Parallax effect 134 | 135 | - (void)parallaxEffectAtPoint:(CGPoint)point 136 | { 137 | UIView *superview = self.superview; 138 | CGFloat offsetX = (0.5 - point.x / superview.bounds.size.width) * -1; 139 | CGFloat offsetY = (0.5 - point.y / superview.bounds.size.height) * -1; 140 | 141 | CATransform3D transform = CATransform3DMakeScale(1.1, 1.1, 1.1); 142 | transform.m34 = 1.0/-500; 143 | 144 | CGFloat radiansPerDegree = M_PI / 180.0; 145 | 146 | CGFloat xAngle = (offsetX * kInitialParallaxOffsetDuringPick) * radiansPerDegree; 147 | CGFloat yAngle = (offsetY * kInitialParallaxOffsetDuringPick) * radiansPerDegree; 148 | 149 | transform = CATransform3DRotate(transform, xAngle, 0, -(0.5 - offsetY), 0); 150 | transform = CATransform3DRotate(transform, yAngle, (0.5 - offsetY) * 2, 0, 0); 151 | 152 | CALayer *presentationLayer = (CALayer *)self.layer.presentationLayer; 153 | CGFloat currentScale = [[presentationLayer valueForKeyPath: @"transform.scale"] floatValue]; 154 | 155 | if (currentScale < 1.1) { 156 | CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"transform"]; 157 | animation.fromValue = [NSValue valueWithCATransform3D:presentationLayer.transform]; 158 | animation.toValue = [NSValue valueWithCATransform3D:transform]; 159 | animation.duration = 0.1; 160 | [self.layer addAnimation:animation forKey:@"transform"]; 161 | } 162 | 163 | self.layer.transform = transform; 164 | [self parallaxSubviewsForOffset:CGPointMake(offsetX, offsetY)]; 165 | } 166 | 167 | - (void)parallaxSubviewsForOffset:(CGPoint)offset 168 | { 169 | CGFloat parallaxOffset; 170 | CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"transform"]; 171 | for (UIView *subview in self.contentView.subviews) { 172 | parallaxOffset = [self parallaxOffsetForView:subview]; 173 | CGFloat xParallaxOffsetAndSuperviewOffset = offset.x * parallaxOffset; 174 | CGFloat yParallaxOffsetAndSuperviewOffset = offset.y * parallaxOffset; 175 | CATransform3D transform = CATransform3DMakeTranslation(xParallaxOffsetAndSuperviewOffset, 176 | yParallaxOffsetAndSuperviewOffset, 177 | 0); 178 | transform = CATransform3DScale(transform, self.zoomMultiplier, self.zoomMultiplier, 1.0); 179 | CALayer *presentationLayer = (CALayer *)subview.layer; 180 | animation.fromValue = [NSValue valueWithCATransform3D:presentationLayer.transform]; 181 | animation.toValue = [NSValue valueWithCATransform3D:transform]; 182 | animation.duration = 0.05; 183 | [subview.layer addAnimation:animation forKey:@"transform"]; 184 | subview.layer.transform = transform; 185 | } 186 | } 187 | 188 | - (CGFloat)parallaxOffsetForView:(UIView *)view 189 | { 190 | CGFloat secondaryMultiplier = 2.0; 191 | if (!self.basedOnHierachy) { 192 | return (CGFloat)view.tag * secondaryMultiplier * self.parallaxMultiplier; 193 | } else { 194 | CGFloat index = [view.superview.subviews indexOfObject:view]; 195 | return index * secondaryMultiplier * self.parallaxMultiplier; 196 | } 197 | } 198 | 199 | - (void)removeParallaxEffect 200 | { 201 | CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"transform"]; 202 | CALayer *presentationLayer = (CALayer *)self.layer.presentationLayer; 203 | CATransform3D transform = CATransform3DIdentity; 204 | animation.fromValue = [NSValue valueWithCATransform3D:presentationLayer.transform]; 205 | animation.toValue = [NSValue valueWithCATransform3D:transform]; 206 | animation.duration = 0.25; 207 | [self.layer addAnimation:animation forKey:@"transform"]; 208 | self.layer.transform = transform; 209 | 210 | for (UIView *subview in self.contentView.subviews) { 211 | presentationLayer = (CALayer *)subview.layer.presentationLayer; 212 | animation.fromValue = [NSValue valueWithCATransform3D:presentationLayer.transform]; 213 | [subview.layer addAnimation:animation forKey:@"transform"]; 214 | subview.layer.transform = transform; 215 | } 216 | } 217 | 218 | #pragma mark - Glow effect 219 | 220 | - (void)glowEffectAtPoint:(CGPoint)point 221 | { 222 | CGFloat delta = 0.05; 223 | if (point.y > self.bounds.size.height / 2) { 224 | self.glowEffect.center = point; 225 | [self applyGlowAlpha:self.glowEffect.alpha + delta]; 226 | } else { 227 | [self applyGlowAlpha:self.glowEffect.alpha - delta]; 228 | } 229 | } 230 | 231 | - (void)applyGlowAlpha:(CGFloat)alpha 232 | { 233 | if (alpha < 1.0 && alpha > 0.0) { 234 | self.glowEffect.alpha = alpha; 235 | } 236 | } 237 | 238 | #pragma mark - Start/stop animations 239 | 240 | - (void)startAnimationsWithTouch:(UITouch *)touch 241 | { 242 | CGPoint point = [touch locationInView:self.superview]; 243 | [self createShadow]; 244 | [self parallaxEffectAtPoint:point]; 245 | if (self.glows) [self glowEffectAtPoint:point]; 246 | } 247 | 248 | - (void)endAnimations 249 | { 250 | [self removeShadow]; 251 | [self removeParallaxEffect]; 252 | } 253 | 254 | #pragma mark - Touch handling 255 | 256 | - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 257 | { 258 | [super touchesBegan:touches withEvent:event]; 259 | [self startAnimationsWithTouch:[touches anyObject]]; 260 | } 261 | 262 | - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event 263 | { 264 | [super touchesMoved:touches withEvent:event]; 265 | [self startAnimationsWithTouch:[touches anyObject]]; 266 | } 267 | 268 | - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event 269 | { 270 | [super touchesEnded:touches withEvent:event]; 271 | [self endAnimations]; 272 | } 273 | 274 | #pragma mark - backgroundColor accessors 275 | 276 | - (void)setBackgroundColor:(UIColor *)backgroundColor 277 | { 278 | self.contentView.backgroundColor = backgroundColor; 279 | } 280 | 281 | - (UIColor *)backgroundColor 282 | { 283 | return self.contentView.backgroundColor; 284 | } 285 | 286 | #pragma mark - cornerRadius accessors 287 | 288 | - (void)setCornerRadius:(CGFloat)cornerRadius 289 | { 290 | self.contentView.layer.cornerRadius = cornerRadius; 291 | } 292 | 293 | - (CGFloat)cornerRadius 294 | { 295 | return self.contentView.layer.cornerRadius; 296 | } 297 | 298 | #pragma mark - shadowOpacity accessors 299 | 300 | - (void)setShadowOpacity:(CGFloat)shadowOpacity 301 | { 302 | self.layer.shadowOpacity = shadowOpacity; 303 | } 304 | 305 | - (CGFloat)shadowOpacity 306 | { 307 | return self.layer.shadowOpacity; 308 | } 309 | 310 | #pragma mark - shadowColor accessors 311 | 312 | - (void)setShadowColor:(UIColor *)shadowColor 313 | { 314 | self.layer.shadowColor = shadowColor.CGColor; 315 | } 316 | 317 | - (UIColor *)shadowColor 318 | { 319 | return [UIColor colorWithCGColor:self.layer.shadowColor]; 320 | } 321 | 322 | #pragma mark - glowColor accessors 323 | 324 | - (void)setGlowColor:(UIColor *)glowColor 325 | { 326 | self.glowEffect.tintColor = glowColor; 327 | } 328 | 329 | - (UIColor *)glowColor 330 | { 331 | return self.glowEffect.tintColor; 332 | } 333 | 334 | #pragma mark - glows accessors 335 | 336 | - (void)setGlows:(BOOL)glows 337 | { 338 | _glows = glows; 339 | self.glowEffect.hidden = !glows; 340 | } 341 | 342 | @end -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # KLParallaxView 2 | 3 | `KLParallaxView` is a `UIView` subclass that imitates [Apple TV's parallax effect](https://www.youtube.com/watch?v=Py21jv6kCnI), written in Objective-C, based on the similar [MPParallaxView](https://github.com/DroidsOnRoids/MPParallaxView) Swift implementation. 4 | 5 | ![KLParallaxView](http://i.imgur.com/xQHfm5x.gif) 6 | 7 | ## Installation 8 | 9 | `KLParallaxView` is available through CocoaPods. To install it, simply add the following line to your Podfile: 10 | ``` 11 | pod "KLParallaxView" 12 | ``` 13 | ## Example Project 14 | 15 | To run the example project, clone the repo and use the workspace in the Example directory, or alternatively run `pod try "KLParallaxView"` and run the example target. 16 | 17 | ## Usage 18 | 19 | `KLParallaxView` is initialized with an array of subviews whose ordering reflects their positioning in a view hierarchy i.e. `firstObject` is the bottommost view while `lastObject` is the topmost. By default, `KLParallaxView` controls each subview's movement during the parallax effect by the value of their `tag` property. 20 | 21 | ```Objective-C 22 | 23 | #import "ViewController.h" 24 | #import "KLParallaxView.h" 25 | 26 | @interface ViewController () 27 | 28 | @property (strong, nonatomic) KLParallaxView *parallaxView; 29 | 30 | @end 31 | 32 | @implementation ViewController 33 | 34 | - (void)viewDidLoad { 35 | [super viewDidLoad]; 36 | 37 | UIImageView *imageView1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"1"]]; 38 | imageView1.tag = 0; 39 | UIImageView *imageView2 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"2"]]; 40 | imageView2.tag = 11; 41 | UIImageView *imageView3 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"3"]]; 42 | imageView3.tag = 2; 43 | 44 | NSArray *subviews = @[ imageView1, imageView2, imageView3 ]; 45 | 46 | self.parallaxView = [[KLParallaxView alloc] initWithFrame:self.view.bounds subviews:subviews]; 47 | [self.view addSubview:self.parallaxView]; 48 | } 49 | ``` 50 | 51 | ## Configuration 52 | 53 | ### Parallax settings 54 | 55 | Set a subview's `tag` to control how much it moves. 56 | ```Objective-C 57 | UIImageView *subview = ... 58 | subview.tag = 3; 59 | ``` 60 | Use the subviews' positions in the view hierachy rather than their `tag` property. 61 | ```Objective-C 62 | self.parallaxView.basedOnHierachy = YES; 63 | ``` 64 | Multiply the parallax effect on all views by a given factor. 65 | ```Objective-C 66 | self.parallaxView.parallaxMultiplier = 2.5; 67 | ``` 68 | Multiply the zoom effect on all views by a given factor. 69 | ```Objective-C 70 | self.parallaxView.zoomMultiplier = 1.5; 71 | ``` 72 | ### Glow settings 73 | 74 | Toggle the glowing effect that follows touches. 75 | ```Objective-C 76 | self.parallaxView.glows = NO; 77 | ``` 78 | Change the glow's color. 79 | ```Objective-C 80 | self.parallaxView.glowColor = [UIColor aqua]; 81 | ``` 82 | ### Shadow settings 83 | 84 | Change the shadow opacity. 85 | ```Objective-C 86 | self.parallaxView.shadowOpacity = 0.3; 87 | ``` 88 | Change the shadow radius for when the view is not animating. 89 | ```Objective-C 90 | self.parallaxView.initalShadowRadius = 3.5; 91 | ``` 92 | Change the shadow radius for when the view is animating. 93 | ```Objective-C 94 | self.parallaxView.finalShadowRadius = 9.5; 95 | ``` 96 | Change the color of the shadow. 97 | ```Objective-C 98 | self.parallaxView.shadowColor = [UIColor cerulean]; 99 | ``` 100 | ### Other 101 | 102 | Set the view's corner radius. 103 | ```Objective-C 104 | self.parallaxView.cornerRadius = 5; 105 | ``` 106 | ## Assets 107 | 108 | Taken from [MPParallaxView](https://github.com/DroidsOnRoids/MPParallaxView): Thanks [Konstantine Trundayev](https://dribbble.com/k0t) for Interstellar assets! 109 | 110 | ## License 111 | 112 | KLParallaxView is available under the MIT license. See the LICENSE file for more info. 113 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------