├── VFParallaxController ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── VFParallaxController.swift ├── _Pods.xcodeproj ├── Example ├── Pods │ ├── Target Support Files │ │ ├── VFParallaxController │ │ │ ├── VFParallaxController-prefix.pch │ │ │ ├── VFParallaxController.modulemap │ │ │ ├── VFParallaxController-dummy.m │ │ │ ├── VFParallaxController-umbrella.h │ │ │ ├── VFParallaxController.xcconfig │ │ │ └── Info.plist │ │ ├── Pods-VFParallaxController_Tests │ │ │ ├── Pods-VFParallaxController_Tests-acknowledgements.markdown │ │ │ ├── Pods-VFParallaxController_Tests.modulemap │ │ │ ├── Pods-VFParallaxController_Tests-dummy.m │ │ │ ├── Pods-VFParallaxController_Tests-umbrella.h │ │ │ ├── Pods-VFParallaxController_Tests.debug.xcconfig │ │ │ ├── Pods-VFParallaxController_Tests.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-VFParallaxController_Tests-acknowledgements.plist │ │ │ ├── Pods-VFParallaxController_Tests-frameworks.sh │ │ │ └── Pods-VFParallaxController_Tests-resources.sh │ │ └── Pods-VFParallaxController_Example │ │ │ ├── Pods-VFParallaxController_Example.modulemap │ │ │ ├── Pods-VFParallaxController_Example-dummy.m │ │ │ ├── Pods-VFParallaxController_Example-umbrella.h │ │ │ ├── Pods-VFParallaxController_Example.debug.xcconfig │ │ │ ├── Pods-VFParallaxController_Example.release.xcconfig │ │ │ ├── Info.plist │ │ │ ├── Pods-VFParallaxController_Example-acknowledgements.markdown │ │ │ ├── Pods-VFParallaxController_Example-acknowledgements.plist │ │ │ ├── Pods-VFParallaxController_Example-frameworks.sh │ │ │ └── Pods-VFParallaxController_Example-resources.sh │ ├── Manifest.lock │ ├── Local Podspecs │ │ └── VFParallaxController.podspec.json │ └── Pods.xcodeproj │ │ └── project.pbxproj ├── Podfile ├── VFParallaxController.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── VFParallaxController-Example.xcscheme │ └── project.pbxproj ├── VFParallaxController.xcworkspace │ └── contents.xcworkspacedata ├── Podfile.lock ├── VFParallaxController │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── ViewController.swift │ ├── Info.plist │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.xib │ └── AppDelegate.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── .travis.yml ├── .gitignore ├── VFParallaxController.podspec ├── LICENSE └── README.md /VFParallaxController/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /VFParallaxController/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VFParallaxController/VFParallaxController-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VFParallaxController/VFParallaxController.modulemap: -------------------------------------------------------------------------------- 1 | framework module VFParallaxController { 2 | umbrella header "VFParallaxController-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VFParallaxController/VFParallaxController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_VFParallaxController : NSObject 3 | @end 4 | @implementation PodsDummy_VFParallaxController 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'VFParallaxController_Example' do 4 | pod 'VFParallaxController', :path => '../' 5 | 6 | target 'VFParallaxController_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VFParallaxController/VFParallaxController-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double VFParallaxControllerVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char VFParallaxControllerVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/VFParallaxController.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_VFParallaxController_Tests { 2 | umbrella header "Pods-VFParallaxController_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_VFParallaxController_Example { 2 | umbrella header "Pods-VFParallaxController_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_VFParallaxController_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_VFParallaxController_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_VFParallaxController_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_VFParallaxController_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_VFParallaxController_TestsVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_VFParallaxController_TestsVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | FOUNDATION_EXPORT double Pods_VFParallaxController_ExampleVersionNumber; 5 | FOUNDATION_EXPORT const unsigned char Pods_VFParallaxController_ExampleVersionString[]; 6 | 7 | -------------------------------------------------------------------------------- /Example/VFParallaxController.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - VFParallaxController (1.0.0) 3 | 4 | DEPENDENCIES: 5 | - VFParallaxController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | VFParallaxController: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | VFParallaxController: ebaf27d08b1a0ec5f93e3e66ad5baa6ddcb9d5ba 13 | 14 | PODFILE CHECKSUM: c9e5d855bf445b61e01cfdc47776d1179d194497 15 | 16 | COCOAPODS: 1.0.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - VFParallaxController (1.0.0) 3 | 4 | DEPENDENCIES: 5 | - VFParallaxController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | VFParallaxController: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | VFParallaxController: ebaf27d08b1a0ec5f93e3e66ad5baa6ddcb9d5ba 13 | 14 | PODFILE CHECKSUM: c9e5d855bf445b61e01cfdc47776d1179d194497 15 | 16 | COCOAPODS: 1.0.1 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode8 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -workspace Example/VFParallaxController.xcworkspace -scheme VFParallaxController-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VFParallaxController/VFParallaxController.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/VFParallaxController 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VFParallaxController" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VFParallaxController/VFParallaxController.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VFParallaxController" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VFParallaxController/VFParallaxController.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/VFParallaxController.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VFParallaxController", 3 | "version": "1.0.0", 4 | "summary": "Parallax effect between UITableView and MKMapView.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/vferdiansyah/VFParallaxController", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Veri Ferdiansyah": "veri_ferdi@outlook.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/vferdiansyah/VFParallaxController.git", 16 | "tag": "1.0.0" 17 | }, 18 | "social_media_url": "https://twitter.com/vferdiansyah", 19 | "platforms": { 20 | "ios": "8.0" 21 | }, 22 | "source_files": "VFParallaxController/Classes/**/*" 23 | } 24 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VFParallaxController" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VFParallaxController/VFParallaxController.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "VFParallaxController" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | EMBEDDED_CONTENT_CONTAINS_SWIFT = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/VFParallaxController" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/VFParallaxController/VFParallaxController.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "VFParallaxController" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/VFParallaxController/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import VFParallaxController 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /VFParallaxController.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'VFParallaxController' 3 | s.version = '2.0.0' 4 | s.summary = 'Parallax effect between UITableView and MKMapView.' 5 | s.description = <<-DESC 6 | VFParallaxController creates a parallax effect between UITableView and MKMapView. VFParallaxController is a subclass of UIViewController. 7 | DESC 8 | s.homepage = 'https://github.com/vferdiansyah/VFParallaxController' 9 | s.license = { :type => 'MIT', :file => 'LICENSE' } 10 | s.author = { 'Veri Ferdiansyah' => 'veri_ferdi@outlook.com' } 11 | s.source = { :git => 'https://github.com/vferdiansyah/VFParallaxController.git', :tag => s.version.to_s } 12 | s.social_media_url = 'https://twitter.com/vferdiansyah' 13 | s.ios.deployment_target = '8.0' 14 | s.source_files = 'VFParallaxController/Classes/**/*' 15 | end 16 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/VFParallaxController/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 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-VFParallaxController_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 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-VFParallaxController_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 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-VFParallaxController_Tests/Pods-VFParallaxController_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 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Veri Ferdiansyah 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Example/VFParallaxController/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // VFParallaxController 4 | // 5 | // Created by Veri Ferdiansyah on 09/01/2016. 6 | // Copyright (c) 2016 Veri Ferdiansyah. All rights reserved. 7 | // 8 | 9 | import MapKit 10 | import UIKit 11 | import VFParallaxController 12 | 13 | class ViewController: VFParallaxController, CLLocationManagerDelegate { 14 | var locationManager: CLLocationManager! 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | 19 | locationManager = CLLocationManager() 20 | locationManager.delegate = self 21 | } 22 | 23 | override func didReceiveMemoryWarning() { 24 | super.didReceiveMemoryWarning() 25 | } 26 | 27 | override var preferredStatusBarStyle : UIStatusBarStyle { 28 | return .default 29 | } 30 | 31 | // MARK: - CLLocationManagerDelegate Methods 32 | 33 | func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) { 34 | switch status { 35 | case .notDetermined: 36 | manager.requestWhenInUseAuthorization() 37 | break 38 | case .authorizedWhenInUse: 39 | manager.startUpdatingLocation() 40 | break 41 | case .authorizedAlways: 42 | manager.startUpdatingLocation() 43 | break 44 | case .restricted: 45 | break 46 | case .denied: 47 | break 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## VFParallaxController 5 | 6 | Copyright (c) 2016 Veri Ferdiansyah 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 - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/VFParallaxController/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | NSLocationWhenInUseUsageDescription 24 | Location is needed to show where you are on the map 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # VFParallaxController 2 | 3 | [![CI Status](http://img.shields.io/travis/vferdiansyah/VFParallaxController.svg?style=flat)](https://travis-ci.org/vferdiansyah/VFParallaxController) 4 | [![Version](https://img.shields.io/cocoapods/v/VFParallaxController.svg?style=flat)](http://cocoapods.org/pods/VFParallaxController) 5 | [![License](https://img.shields.io/cocoapods/l/VFParallaxController.svg?style=flat)](http://cocoapods.org/pods/VFParallaxController) 6 | [![Platform](https://img.shields.io/cocoapods/p/VFParallaxController.svg?style=flat)](http://cocoapods.org/pods/VFParallaxController) 7 | 8 | Create a parallax effect between UITableView and MKMapView. This is a Swift version of [SLParallaxController](https://github.com/StefanLage/SLParallaxController). 9 | 10 | ## Example 11 | 12 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 13 | 14 | ## Requirements 15 | 16 | Requires iOS 8.0+. Works for iPhone and iPad. 17 | 18 | ## Installation 19 | 20 | ### CocoaPods 21 | 22 | VFParallaxController is available through [CocoaPods](http://cocoapods.org). To install 23 | it, simply add the following line to your Podfile: 24 | 25 | ```ruby 26 | pod "VFParallaxController" 27 | ``` 28 | 29 | ### Manual 30 | 31 | Copy the folder `VFParallaxController` to your project. 32 | 33 | ## Usage 34 | 35 | `VFParallaxController` is a subclass of `UIViewController`. 36 | 37 | ## Author 38 | 39 | Veri Ferdiansyah, veri_ferdi@outlook.com 40 | 41 | ## License 42 | 43 | VFParallaxController is available under the MIT license. See the LICENSE file for more info. 44 | -------------------------------------------------------------------------------- /Example/VFParallaxController/Base.lproj/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 | -------------------------------------------------------------------------------- /Example/VFParallaxController/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // VFParallaxController 4 | // 5 | // Created by Veri Ferdiansyah on 09/01/2016. 6 | // Copyright (c) 2016 Veri Ferdiansyah. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // 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. 24 | // 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. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // 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. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 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 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // 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. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_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) 2016 Veri Ferdiansyah <veri_ferdi@outlook.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 | VFParallaxController 39 | Type 40 | PSGroupSpecifier 41 | 42 | 43 | FooterText 44 | Generated by CocoaPods - https://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-VFParallaxController_Tests/Pods-VFParallaxController_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="${TARGET_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} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --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 | -------------------------------------------------------------------------------- /Example/VFParallaxController/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_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="${TARGET_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} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\"" 63 | /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --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 "$BUILT_PRODUCTS_DIR/VFParallaxController/VFParallaxController.framework" 88 | fi 89 | if [[ "$CONFIGURATION" == "Release" ]]; then 90 | install_framework "$BUILT_PRODUCTS_DIR/VFParallaxController/VFParallaxController.framework" 91 | fi 92 | -------------------------------------------------------------------------------- /Example/VFParallaxController.xcodeproj/xcshareddata/xcschemes/VFParallaxController-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_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 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_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 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | *) 22 | TARGET_DEVICE_ARGS="--target-device mac" 23 | ;; 24 | esac 25 | 26 | realpath() { 27 | DIRECTORY="$(cd "${1%/*}" && pwd)" 28 | FILENAME="${1##*/}" 29 | echo "$DIRECTORY/$FILENAME" 30 | } 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE=$(realpath "$RESOURCE_PATH") 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /VFParallaxController/Classes/VFParallaxController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // VFParallaxController.swift 3 | // VFParallaxController 4 | // 5 | // Created by Veri Ferdiansyah on 09/01/2016. 6 | // Copyright (c) 2016 Veri Ferdiansyah. All rights reserved. 7 | // 8 | 9 | import MapKit 10 | import UIKit 11 | 12 | let kScreenHeightWithoutStatusBar = UIScreen.main.bounds.size.height - 20 13 | let kScreenWidth = UIScreen.main.bounds.size.width 14 | let kStatusBarHeight = 20 15 | let kYDownTableView = kScreenHeightWithoutStatusBar - 40 16 | let kDefaultHeaderHeight = 100.0 17 | let kMinHeaderHeight = 10.0 18 | let kDefaultYOffset = (UIScreen.main.bounds.size.height == 480.0) ? -200.0 : -250.0 19 | let kFullYOffset = -200.0 20 | let kMinYOffsetToReach = -30 21 | let kOpenShutterLatitudeMinus = 0.005 22 | let kCloseShutterLatitudeMinus = 0.018 23 | 24 | open class VFParallaxController: UIViewController, UITableViewDelegate, UITableViewDataSource, MKMapViewDelegate, UIGestureRecognizerDelegate { 25 | var tableView: UITableView! 26 | var mapView: MKMapView! 27 | var mapViewTappedGesture: UITapGestureRecognizer! 28 | var tableViewTappedGesture: UITapGestureRecognizer! 29 | var mapHeight: Double = 1000.0 30 | var isShutterOpened: Bool = false 31 | var isMapDisplayed: Bool = false 32 | 33 | // MARK: - Initializers 34 | 35 | override open func viewDidLoad() { 36 | super.viewDidLoad() 37 | 38 | setupTableView() 39 | setupMapView() 40 | } 41 | 42 | override open func didReceiveMemoryWarning() { 43 | super.didReceiveMemoryWarning() 44 | } 45 | 46 | func setupTableView() { 47 | tableView = UITableView.init(frame: CGRect(x: 0, y: 20, width: CGFloat(kScreenWidth), height: CGFloat(kScreenHeightWithoutStatusBar))) 48 | tableView.tableHeaderView = UIView.init(frame: CGRect(x: 0, y: 0, width: view.frame.size.width, height: CGFloat(kDefaultHeaderHeight))) 49 | tableView.backgroundColor = UIColor.clear 50 | 51 | mapViewTappedGesture = UITapGestureRecognizer.init(target: self, action: #selector(mapViewTappedHandler)) 52 | tableViewTappedGesture = UITapGestureRecognizer.init(target: self, action: #selector(tableViewTappedHandler)) 53 | tableViewTappedGesture.delegate = self 54 | 55 | tableView.tableHeaderView?.addGestureRecognizer(mapViewTappedGesture) 56 | tableView.addGestureRecognizer(tableViewTappedGesture) 57 | 58 | tableView.dataSource = self 59 | tableView.delegate = self 60 | 61 | view.addSubview(tableView) 62 | } 63 | 64 | func setupMapView() { 65 | mapView = MKMapView.init(frame: CGRect(x: 0, y: CGFloat(kDefaultYOffset), width: CGFloat(kScreenWidth), height: CGFloat(kScreenHeightWithoutStatusBar))) 66 | mapView.showsUserLocation = true 67 | mapView.delegate = self 68 | self.view.insertSubview(mapView, belowSubview: tableView) 69 | } 70 | 71 | // MARK: - Internal Methods 72 | 73 | @objc func mapViewTappedHandler(_ gesture: UIGestureRecognizer) -> Void { 74 | if (!isShutterOpened) { 75 | openShutter() 76 | } 77 | } 78 | 79 | @objc func tableViewTappedHandler(_ gesture: UIGestureRecognizer) -> Void { 80 | if (isShutterOpened) { 81 | closeShutter() 82 | } 83 | } 84 | 85 | func openShutter() { 86 | UIView.animate(withDuration: 0.2, delay: 0.1, options: .curveEaseOut, animations: { 87 | self.tableView.tableHeaderView = UIView.init(frame: CGRect(x: 0, y: 0, width: self.view.frame.size.width, height: CGFloat(kMinHeaderHeight))) 88 | self.tableView.frame = CGRect(x: 0, y: CGFloat(kYDownTableView), width: self.tableView.frame.size.width, height: self.tableView.frame.size.height) 89 | self.mapView.frame = CGRect(x: 0, y: CGFloat(kFullYOffset), width: self.mapView.frame.size.width, height: CGFloat(self.mapHeight)) 90 | }) { (finished) in 91 | self.tableView.allowsSelection = false 92 | self.tableView.isScrollEnabled = false 93 | self.isShutterOpened = true 94 | 95 | self.zoomToUserLocation(self.mapView.userLocation, minLatitude: kOpenShutterLatitudeMinus, animated: true) 96 | } 97 | } 98 | 99 | func closeShutter() { 100 | UIView.animate(withDuration: 0.2, delay: 0.1, options: .curveEaseOut, animations: { 101 | self.tableView.tableHeaderView = UIView.init(frame: CGRect(x: 0, y: CGFloat(kDefaultYOffset), width: self.view.frame.size.width, height: CGFloat(kDefaultHeaderHeight))) 102 | self.tableView.frame = CGRect(x: 0, y: CGFloat(kStatusBarHeight), width: self.tableView.frame.size.width, height: self.tableView.frame.size.height) 103 | self.mapView.frame = CGRect(x: 0, y: CGFloat(kDefaultYOffset), width: self.mapView.frame.size.width, height: CGFloat(kScreenHeightWithoutStatusBar)) 104 | }) { (finished) in 105 | self.tableView.allowsSelection = true 106 | self.tableView.isScrollEnabled = true 107 | self.isShutterOpened = false 108 | 109 | self.zoomToUserLocation(self.mapView.userLocation, minLatitude: kCloseShutterLatitudeMinus, animated: true) 110 | } 111 | } 112 | 113 | func zoomToUserLocation(_ userLocation: MKUserLocation, minLatitude: Double, animated: Bool) { 114 | if (userLocation.isEqual(nil)) { 115 | return 116 | } 117 | 118 | var loc = userLocation.coordinate 119 | loc.latitude = loc.latitude - minLatitude 120 | 121 | var region = MKCoordinateRegion.init(center: loc, span: MKCoordinateSpanMake(0.05, 0.05)) 122 | region = mapView.regionThatFits(region) 123 | mapView.setRegion(region, animated: animated) 124 | } 125 | 126 | // MARK: - UITableViewDelegate Methods 127 | 128 | open func scrollViewDidScroll(_ scrollView: UIScrollView) { 129 | let scrollOffset = scrollView.contentOffset.y 130 | var mapViewHeaderFrame = mapView.frame 131 | 132 | if (scrollOffset < 0) { 133 | mapViewHeaderFrame.origin.y = CGFloat(kDefaultYOffset) - (scrollOffset / 2) 134 | } else { 135 | mapViewHeaderFrame.origin.y = CGFloat(kDefaultYOffset) - scrollOffset 136 | } 137 | 138 | mapView.frame = mapViewHeaderFrame 139 | 140 | if (tableView.contentOffset.y < CGFloat(kMinYOffsetToReach)) { 141 | if (!isMapDisplayed) { 142 | isMapDisplayed = true 143 | } 144 | } else { 145 | if (isMapDisplayed) { 146 | isMapDisplayed = false 147 | } 148 | } 149 | } 150 | 151 | open func scrollViewDidEndDragging(_ scrollView: UIScrollView, willDecelerate decelerate: Bool) { 152 | if (isMapDisplayed) { 153 | openShutter() 154 | } 155 | } 156 | 157 | // MARK: - UITableViewDataSource Methods 158 | 159 | open func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 160 | return 20 161 | } 162 | 163 | open func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 164 | var cell: UITableViewCell = UITableViewCell() 165 | 166 | if (indexPath.row == 0) { 167 | if (cell.isEqual(nil)) { 168 | cell = UITableViewCell.init(style: .default, reuseIdentifier: "firstCell") 169 | 170 | let cellBounds = cell.layer.bounds 171 | let shadowFrame = CGRect(x: cellBounds.origin.x, y: cellBounds.origin.y, width: tableView.frame.size.width, height: 10.0) 172 | let shadowPath = UIBezierPath.init(rect: shadowFrame).cgPath 173 | 174 | cell.layer.shadowPath = shadowPath 175 | cell.layer.shadowOffset = CGSize(width: -2, height: -2) 176 | cell.layer.shadowColor = UIColor.gray.cgColor 177 | cell.layer.shadowOpacity = 0.75 178 | } 179 | } else { 180 | if (cell.isEqual(nil)) { 181 | cell = UITableViewCell.init(style: .default, reuseIdentifier: "otherCell") 182 | } 183 | } 184 | 185 | cell.textLabel?.text = "Hello, World!" 186 | 187 | return cell 188 | } 189 | 190 | open func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) { 191 | let totalRow = tableView.numberOfRows(inSection: indexPath.section) 192 | 193 | if (indexPath.row == totalRow - 1) { 194 | let cellsHeight = CGFloat(totalRow) * cell.frame.size.height 195 | let tableHeight = tableView.frame.size.height - (tableView.tableHeaderView?.frame.size.height)! 196 | 197 | if ((cellsHeight - tableView.frame.origin.y) < tableHeight) { 198 | let footerHeight = tableHeight - cellsHeight 199 | tableView.tableFooterView = UIView.init(frame: CGRect(x: 0, y: 0, width: CGFloat(kScreenWidth), height: footerHeight)) 200 | tableView.tableFooterView?.backgroundColor = UIColor.white 201 | } 202 | } 203 | } 204 | 205 | // MARK: - MKMapViewDelegate Methods 206 | 207 | open func mapView(_ mapView: MKMapView, didUpdate userLocation: MKUserLocation) { 208 | if (isShutterOpened) { 209 | zoomToUserLocation(mapView.userLocation, minLatitude: kOpenShutterLatitudeMinus, animated: true) 210 | } else { 211 | zoomToUserLocation(mapView.userLocation, minLatitude: kCloseShutterLatitudeMinus, animated: true) 212 | } 213 | } 214 | 215 | // MARK: - UIGestureRecognizerDelegate Methods 216 | 217 | open func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool { 218 | if (gestureRecognizer == tableViewTappedGesture) { 219 | return isShutterOpened 220 | } 221 | 222 | return true 223 | } 224 | } 225 | -------------------------------------------------------------------------------- /Example/VFParallaxController.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 12 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 13 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 14 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 15 | 91BA830D6173DBC0533A9459 /* Pods_VFParallaxController_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C3D8212CD5D8CA35B1C5D98B /* Pods_VFParallaxController_Example.framework */; }; 16 | 940290F702C4EFA5C0ABAB51 /* Pods_VFParallaxController_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 660D88442083BFC26F628644 /* Pods_VFParallaxController_Tests.framework */; }; 17 | A443C8A51D77C1BE003E8000 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A443C8A41D77C1BE003E8000 /* ViewController.swift */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = VFParallaxController; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 2903E426A3D1B1412D726650 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 32 | 2D9EE0973C90132AC4380351 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 33 | 3281BB3E678B4E482AF457BB /* VFParallaxController.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = VFParallaxController.podspec; path = ../VFParallaxController.podspec; sourceTree = ""; }; 34 | 348969459EC4B17F5E75F7BD /* Pods-VFParallaxController_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VFParallaxController_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example.debug.xcconfig"; sourceTree = ""; }; 35 | 607FACD01AFB9204008FA782 /* VFParallaxController_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VFParallaxController_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 38 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 39 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 40 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 41 | 607FACE51AFB9204008FA782 /* VFParallaxController_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VFParallaxController_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 44 | 660D88442083BFC26F628644 /* Pods_VFParallaxController_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_VFParallaxController_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | A443C8A41D77C1BE003E8000 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 46 | A96B14E67EB9CA56B4F9E31A /* Pods-VFParallaxController_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VFParallaxController_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests.debug.xcconfig"; sourceTree = ""; }; 47 | C3D8212CD5D8CA35B1C5D98B /* Pods_VFParallaxController_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_VFParallaxController_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | CB44C4B44B01CF4A15165AFA /* Pods-VFParallaxController_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VFParallaxController_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example.release.xcconfig"; sourceTree = ""; }; 49 | CBCFF6E7735E3A57ADB1D3B1 /* Pods-VFParallaxController_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-VFParallaxController_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests.release.xcconfig"; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 91BA830D6173DBC0533A9459 /* Pods_VFParallaxController_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 940290F702C4EFA5C0ABAB51 /* Pods_VFParallaxController_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 607FACC71AFB9204008FA782 = { 73 | isa = PBXGroup; 74 | children = ( 75 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 76 | 607FACD21AFB9204008FA782 /* Example for VFParallaxController */, 77 | 607FACE81AFB9204008FA782 /* Tests */, 78 | 607FACD11AFB9204008FA782 /* Products */, 79 | B0F46CA497C8DF5C81192566 /* Pods */, 80 | 6CAEFEFCED357F1C4998F703 /* Frameworks */, 81 | ); 82 | sourceTree = ""; 83 | }; 84 | 607FACD11AFB9204008FA782 /* Products */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | 607FACD01AFB9204008FA782 /* VFParallaxController_Example.app */, 88 | 607FACE51AFB9204008FA782 /* VFParallaxController_Tests.xctest */, 89 | ); 90 | name = Products; 91 | sourceTree = ""; 92 | }; 93 | 607FACD21AFB9204008FA782 /* Example for VFParallaxController */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 97 | A443C8A41D77C1BE003E8000 /* ViewController.swift */, 98 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 99 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 100 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 101 | 607FACD31AFB9204008FA782 /* Supporting Files */, 102 | ); 103 | name = "Example for VFParallaxController"; 104 | path = VFParallaxController; 105 | sourceTree = ""; 106 | }; 107 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 607FACD41AFB9204008FA782 /* Info.plist */, 111 | ); 112 | name = "Supporting Files"; 113 | sourceTree = ""; 114 | }; 115 | 607FACE81AFB9204008FA782 /* Tests */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 119 | 607FACE91AFB9204008FA782 /* Supporting Files */, 120 | ); 121 | path = Tests; 122 | sourceTree = ""; 123 | }; 124 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEA1AFB9204008FA782 /* Info.plist */, 128 | ); 129 | name = "Supporting Files"; 130 | sourceTree = ""; 131 | }; 132 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 3281BB3E678B4E482AF457BB /* VFParallaxController.podspec */, 136 | 2D9EE0973C90132AC4380351 /* README.md */, 137 | 2903E426A3D1B1412D726650 /* LICENSE */, 138 | ); 139 | name = "Podspec Metadata"; 140 | sourceTree = ""; 141 | }; 142 | 6CAEFEFCED357F1C4998F703 /* Frameworks */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | C3D8212CD5D8CA35B1C5D98B /* Pods_VFParallaxController_Example.framework */, 146 | 660D88442083BFC26F628644 /* Pods_VFParallaxController_Tests.framework */, 147 | ); 148 | name = Frameworks; 149 | sourceTree = ""; 150 | }; 151 | B0F46CA497C8DF5C81192566 /* Pods */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | 348969459EC4B17F5E75F7BD /* Pods-VFParallaxController_Example.debug.xcconfig */, 155 | CB44C4B44B01CF4A15165AFA /* Pods-VFParallaxController_Example.release.xcconfig */, 156 | A96B14E67EB9CA56B4F9E31A /* Pods-VFParallaxController_Tests.debug.xcconfig */, 157 | CBCFF6E7735E3A57ADB1D3B1 /* Pods-VFParallaxController_Tests.release.xcconfig */, 158 | ); 159 | name = Pods; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* VFParallaxController_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "VFParallaxController_Example" */; 168 | buildPhases = ( 169 | B70570AA10EF70623DC00A0F /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 74F5D49D99C4EA5E9D46DAF6 /* [CP] Embed Pods Frameworks */, 174 | BB7FDE0AFC3D85965C7BB9A2 /* [CP] Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = VFParallaxController_Example; 181 | productName = VFParallaxController; 182 | productReference = 607FACD01AFB9204008FA782 /* VFParallaxController_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* VFParallaxController_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "VFParallaxController_Tests" */; 188 | buildPhases = ( 189 | E28F5869A7102DE11746F324 /* [CP] Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | 204D908C05CF59C0F8D391A7 /* [CP] Embed Pods Frameworks */, 194 | F8B1F6BA1A627DDCCF49132A /* [CP] Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = VFParallaxController_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* VFParallaxController_Tests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 607FACC81AFB9204008FA782 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | LastSwiftUpdateCheck = 0720; 213 | LastUpgradeCheck = 0720; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | LastSwiftMigration = 0820; 219 | }; 220 | 607FACE41AFB9204008FA782 = { 221 | CreatedOnToolsVersion = 6.3.1; 222 | LastSwiftMigration = 0820; 223 | TestTargetID = 607FACCF1AFB9204008FA782; 224 | }; 225 | }; 226 | }; 227 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "VFParallaxController" */; 228 | compatibilityVersion = "Xcode 3.2"; 229 | developmentRegion = English; 230 | hasScannedForEncodings = 0; 231 | knownRegions = ( 232 | en, 233 | Base, 234 | ); 235 | mainGroup = 607FACC71AFB9204008FA782; 236 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 237 | projectDirPath = ""; 238 | projectRoot = ""; 239 | targets = ( 240 | 607FACCF1AFB9204008FA782 /* VFParallaxController_Example */, 241 | 607FACE41AFB9204008FA782 /* VFParallaxController_Tests */, 242 | ); 243 | }; 244 | /* End PBXProject section */ 245 | 246 | /* Begin PBXResourcesBuildPhase section */ 247 | 607FACCE1AFB9204008FA782 /* Resources */ = { 248 | isa = PBXResourcesBuildPhase; 249 | buildActionMask = 2147483647; 250 | files = ( 251 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 252 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 253 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 254 | ); 255 | runOnlyForDeploymentPostprocessing = 0; 256 | }; 257 | 607FACE31AFB9204008FA782 /* Resources */ = { 258 | isa = PBXResourcesBuildPhase; 259 | buildActionMask = 2147483647; 260 | files = ( 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | /* End PBXResourcesBuildPhase section */ 265 | 266 | /* Begin PBXShellScriptBuildPhase section */ 267 | 204D908C05CF59C0F8D391A7 /* [CP] Embed Pods Frameworks */ = { 268 | isa = PBXShellScriptBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | ); 272 | inputPaths = ( 273 | ); 274 | name = "[CP] Embed Pods Frameworks"; 275 | outputPaths = ( 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | shellPath = /bin/sh; 279 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests-frameworks.sh\"\n"; 280 | showEnvVarsInLog = 0; 281 | }; 282 | 74F5D49D99C4EA5E9D46DAF6 /* [CP] Embed Pods Frameworks */ = { 283 | isa = PBXShellScriptBuildPhase; 284 | buildActionMask = 2147483647; 285 | files = ( 286 | ); 287 | inputPaths = ( 288 | ); 289 | name = "[CP] Embed Pods Frameworks"; 290 | outputPaths = ( 291 | ); 292 | runOnlyForDeploymentPostprocessing = 0; 293 | shellPath = /bin/sh; 294 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example-frameworks.sh\"\n"; 295 | showEnvVarsInLog = 0; 296 | }; 297 | B70570AA10EF70623DC00A0F /* [CP] Check Pods Manifest.lock */ = { 298 | isa = PBXShellScriptBuildPhase; 299 | buildActionMask = 2147483647; 300 | files = ( 301 | ); 302 | inputPaths = ( 303 | ); 304 | name = "[CP] Check Pods Manifest.lock"; 305 | outputPaths = ( 306 | ); 307 | runOnlyForDeploymentPostprocessing = 0; 308 | shellPath = /bin/sh; 309 | 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"; 310 | showEnvVarsInLog = 0; 311 | }; 312 | BB7FDE0AFC3D85965C7BB9A2 /* [CP] Copy Pods Resources */ = { 313 | isa = PBXShellScriptBuildPhase; 314 | buildActionMask = 2147483647; 315 | files = ( 316 | ); 317 | inputPaths = ( 318 | ); 319 | name = "[CP] Copy Pods Resources"; 320 | outputPaths = ( 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | shellPath = /bin/sh; 324 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example-resources.sh\"\n"; 325 | showEnvVarsInLog = 0; 326 | }; 327 | E28F5869A7102DE11746F324 /* [CP] Check Pods Manifest.lock */ = { 328 | isa = PBXShellScriptBuildPhase; 329 | buildActionMask = 2147483647; 330 | files = ( 331 | ); 332 | inputPaths = ( 333 | ); 334 | name = "[CP] Check Pods Manifest.lock"; 335 | outputPaths = ( 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | shellPath = /bin/sh; 339 | 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"; 340 | showEnvVarsInLog = 0; 341 | }; 342 | F8B1F6BA1A627DDCCF49132A /* [CP] Copy Pods Resources */ = { 343 | isa = PBXShellScriptBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | inputPaths = ( 348 | ); 349 | name = "[CP] Copy Pods Resources"; 350 | outputPaths = ( 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | shellPath = /bin/sh; 354 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests-resources.sh\"\n"; 355 | showEnvVarsInLog = 0; 356 | }; 357 | /* End PBXShellScriptBuildPhase section */ 358 | 359 | /* Begin PBXSourcesBuildPhase section */ 360 | 607FACCC1AFB9204008FA782 /* Sources */ = { 361 | isa = PBXSourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | A443C8A51D77C1BE003E8000 /* ViewController.swift in Sources */, 365 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | 607FACE11AFB9204008FA782 /* Sources */ = { 370 | isa = PBXSourcesBuildPhase; 371 | buildActionMask = 2147483647; 372 | files = ( 373 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | /* End PBXSourcesBuildPhase section */ 378 | 379 | /* Begin PBXTargetDependency section */ 380 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 381 | isa = PBXTargetDependency; 382 | target = 607FACCF1AFB9204008FA782 /* VFParallaxController_Example */; 383 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 384 | }; 385 | /* End PBXTargetDependency section */ 386 | 387 | /* Begin PBXVariantGroup section */ 388 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 389 | isa = PBXVariantGroup; 390 | children = ( 391 | 607FACDA1AFB9204008FA782 /* Base */, 392 | ); 393 | name = Main.storyboard; 394 | sourceTree = ""; 395 | }; 396 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 397 | isa = PBXVariantGroup; 398 | children = ( 399 | 607FACDF1AFB9204008FA782 /* Base */, 400 | ); 401 | name = LaunchScreen.xib; 402 | sourceTree = ""; 403 | }; 404 | /* End PBXVariantGroup section */ 405 | 406 | /* Begin XCBuildConfiguration section */ 407 | 607FACED1AFB9204008FA782 /* Debug */ = { 408 | isa = XCBuildConfiguration; 409 | buildSettings = { 410 | ALWAYS_SEARCH_USER_PATHS = NO; 411 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 412 | CLANG_CXX_LIBRARY = "libc++"; 413 | CLANG_ENABLE_MODULES = YES; 414 | CLANG_ENABLE_OBJC_ARC = YES; 415 | CLANG_WARN_BOOL_CONVERSION = YES; 416 | CLANG_WARN_CONSTANT_CONVERSION = YES; 417 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 418 | CLANG_WARN_EMPTY_BODY = YES; 419 | CLANG_WARN_ENUM_CONVERSION = YES; 420 | CLANG_WARN_INT_CONVERSION = YES; 421 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 422 | CLANG_WARN_UNREACHABLE_CODE = YES; 423 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 424 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 425 | COPY_PHASE_STRIP = NO; 426 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 427 | ENABLE_STRICT_OBJC_MSGSEND = YES; 428 | ENABLE_TESTABILITY = YES; 429 | GCC_C_LANGUAGE_STANDARD = gnu99; 430 | GCC_DYNAMIC_NO_PIC = NO; 431 | GCC_NO_COMMON_BLOCKS = YES; 432 | GCC_OPTIMIZATION_LEVEL = 0; 433 | GCC_PREPROCESSOR_DEFINITIONS = ( 434 | "DEBUG=1", 435 | "$(inherited)", 436 | ); 437 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 438 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 439 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 440 | GCC_WARN_UNDECLARED_SELECTOR = YES; 441 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 442 | GCC_WARN_UNUSED_FUNCTION = YES; 443 | GCC_WARN_UNUSED_VARIABLE = YES; 444 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 445 | MTL_ENABLE_DEBUG_INFO = YES; 446 | ONLY_ACTIVE_ARCH = YES; 447 | SDKROOT = iphoneos; 448 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 449 | }; 450 | name = Debug; 451 | }; 452 | 607FACEE1AFB9204008FA782 /* Release */ = { 453 | isa = XCBuildConfiguration; 454 | buildSettings = { 455 | ALWAYS_SEARCH_USER_PATHS = NO; 456 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 457 | CLANG_CXX_LIBRARY = "libc++"; 458 | CLANG_ENABLE_MODULES = YES; 459 | CLANG_ENABLE_OBJC_ARC = YES; 460 | CLANG_WARN_BOOL_CONVERSION = YES; 461 | CLANG_WARN_CONSTANT_CONVERSION = YES; 462 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 463 | CLANG_WARN_EMPTY_BODY = YES; 464 | CLANG_WARN_ENUM_CONVERSION = YES; 465 | CLANG_WARN_INT_CONVERSION = YES; 466 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 467 | CLANG_WARN_UNREACHABLE_CODE = YES; 468 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 469 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 470 | COPY_PHASE_STRIP = NO; 471 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 472 | ENABLE_NS_ASSERTIONS = NO; 473 | ENABLE_STRICT_OBJC_MSGSEND = YES; 474 | GCC_C_LANGUAGE_STANDARD = gnu99; 475 | GCC_NO_COMMON_BLOCKS = YES; 476 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 477 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 478 | GCC_WARN_UNDECLARED_SELECTOR = YES; 479 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 480 | GCC_WARN_UNUSED_FUNCTION = YES; 481 | GCC_WARN_UNUSED_VARIABLE = YES; 482 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 483 | MTL_ENABLE_DEBUG_INFO = NO; 484 | SDKROOT = iphoneos; 485 | VALIDATE_PRODUCT = YES; 486 | }; 487 | name = Release; 488 | }; 489 | 607FACF01AFB9204008FA782 /* Debug */ = { 490 | isa = XCBuildConfiguration; 491 | baseConfigurationReference = 348969459EC4B17F5E75F7BD /* Pods-VFParallaxController_Example.debug.xcconfig */; 492 | buildSettings = { 493 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 494 | INFOPLIST_FILE = VFParallaxController/Info.plist; 495 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 496 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 497 | MODULE_NAME = ExampleApp; 498 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 499 | PRODUCT_NAME = "$(TARGET_NAME)"; 500 | SWIFT_VERSION = 3.0; 501 | }; 502 | name = Debug; 503 | }; 504 | 607FACF11AFB9204008FA782 /* Release */ = { 505 | isa = XCBuildConfiguration; 506 | baseConfigurationReference = CB44C4B44B01CF4A15165AFA /* Pods-VFParallaxController_Example.release.xcconfig */; 507 | buildSettings = { 508 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 509 | INFOPLIST_FILE = VFParallaxController/Info.plist; 510 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 511 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 512 | MODULE_NAME = ExampleApp; 513 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 514 | PRODUCT_NAME = "$(TARGET_NAME)"; 515 | SWIFT_VERSION = 3.0; 516 | }; 517 | name = Release; 518 | }; 519 | 607FACF31AFB9204008FA782 /* Debug */ = { 520 | isa = XCBuildConfiguration; 521 | baseConfigurationReference = A96B14E67EB9CA56B4F9E31A /* Pods-VFParallaxController_Tests.debug.xcconfig */; 522 | buildSettings = { 523 | FRAMEWORK_SEARCH_PATHS = ( 524 | "$(SDKROOT)/Developer/Library/Frameworks", 525 | "$(inherited)", 526 | ); 527 | GCC_PREPROCESSOR_DEFINITIONS = ( 528 | "DEBUG=1", 529 | "$(inherited)", 530 | ); 531 | INFOPLIST_FILE = Tests/Info.plist; 532 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 533 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 534 | PRODUCT_NAME = "$(TARGET_NAME)"; 535 | SWIFT_VERSION = 3.0; 536 | }; 537 | name = Debug; 538 | }; 539 | 607FACF41AFB9204008FA782 /* Release */ = { 540 | isa = XCBuildConfiguration; 541 | baseConfigurationReference = CBCFF6E7735E3A57ADB1D3B1 /* Pods-VFParallaxController_Tests.release.xcconfig */; 542 | buildSettings = { 543 | FRAMEWORK_SEARCH_PATHS = ( 544 | "$(SDKROOT)/Developer/Library/Frameworks", 545 | "$(inherited)", 546 | ); 547 | INFOPLIST_FILE = Tests/Info.plist; 548 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 549 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 550 | PRODUCT_NAME = "$(TARGET_NAME)"; 551 | SWIFT_VERSION = 3.0; 552 | }; 553 | name = Release; 554 | }; 555 | /* End XCBuildConfiguration section */ 556 | 557 | /* Begin XCConfigurationList section */ 558 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "VFParallaxController" */ = { 559 | isa = XCConfigurationList; 560 | buildConfigurations = ( 561 | 607FACED1AFB9204008FA782 /* Debug */, 562 | 607FACEE1AFB9204008FA782 /* Release */, 563 | ); 564 | defaultConfigurationIsVisible = 0; 565 | defaultConfigurationName = Release; 566 | }; 567 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "VFParallaxController_Example" */ = { 568 | isa = XCConfigurationList; 569 | buildConfigurations = ( 570 | 607FACF01AFB9204008FA782 /* Debug */, 571 | 607FACF11AFB9204008FA782 /* Release */, 572 | ); 573 | defaultConfigurationIsVisible = 0; 574 | defaultConfigurationName = Release; 575 | }; 576 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "VFParallaxController_Tests" */ = { 577 | isa = XCConfigurationList; 578 | buildConfigurations = ( 579 | 607FACF31AFB9204008FA782 /* Debug */, 580 | 607FACF41AFB9204008FA782 /* Release */, 581 | ); 582 | defaultConfigurationIsVisible = 0; 583 | defaultConfigurationName = Release; 584 | }; 585 | /* End XCConfigurationList section */ 586 | }; 587 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 588 | } 589 | -------------------------------------------------------------------------------- /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 | 0B5CD2222A1D3DA77DDA1870BD491832 /* VFParallaxController-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B596E7317ECD8F5872C0F4CEA6DE493A /* VFParallaxController-dummy.m */; }; 11 | 0D759C8B200735F4ED65BEBF8F84FF13 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 12 | 17B359C7FCF3D91702A9F31067090AED /* VFParallaxController-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7787DFC611BDA3B16AE12CF9B55E7A18 /* VFParallaxController-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 17D274E37135ACF84AA6FECA5EA756CE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 14 | 5C60EC50243C870E6A8245405BBB2DF2 /* VFParallaxController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F81C5B47A8C2881EA8244F3F99467628 /* VFParallaxController.swift */; }; 15 | 8DE77DC720DB16A14F5B0B8D9F715ADE /* Pods-VFParallaxController_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 79741176DC8F4765035343821F949281 /* Pods-VFParallaxController_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 9DD67CAF1370BF8CBE4CDA86E2F39F90 /* Pods-VFParallaxController_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C6A63940F6696833958F8FB85B5572F0 /* Pods-VFParallaxController_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | A549227125FD6F1531D7313FDB77418E /* Pods-VFParallaxController_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A2C4F16A8122698896F3BF3726EC9F83 /* Pods-VFParallaxController_Tests-dummy.m */; }; 18 | CF7B90131B2D359A11A8D3E50AD66F4C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */; }; 19 | F24751A4E091A0C8DC1AEA3E2C452D93 /* Pods-VFParallaxController_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8441C16CDF586FC20897766F8767FC4E /* Pods-VFParallaxController_Example-dummy.m */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 6469EA1BD29A1F843A418A747E3FD152 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = A47B438E64F332EE724EE183A12DAD6A; 28 | remoteInfo = VFParallaxController; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 07C8DCB015B4A446D0276E1E8D0FA213 /* Pods-VFParallaxController_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-VFParallaxController_Tests-frameworks.sh"; sourceTree = ""; }; 34 | 0FDA37E80B80A720A105EECF4C4F435D /* Pods-VFParallaxController_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-VFParallaxController_Tests.debug.xcconfig"; sourceTree = ""; }; 35 | 1002CD983962D6AD81ED5DE524EF7F0E /* Pods-VFParallaxController_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-VFParallaxController_Example-resources.sh"; sourceTree = ""; }; 36 | 16713C3496FD69E2265378AF5B42E57D /* Pods-VFParallaxController_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-VFParallaxController_Example.modulemap"; sourceTree = ""; }; 37 | 1F37716653B001C7904D76570272FD68 /* Pods-VFParallaxController_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-VFParallaxController_Tests-resources.sh"; sourceTree = ""; }; 38 | 28022B8FA2B9B1C808C5E57BA1C70F15 /* VFParallaxController.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = VFParallaxController.xcconfig; sourceTree = ""; }; 39 | 29174245F925A9F9762483D740BB3B44 /* Pods-VFParallaxController_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-VFParallaxController_Tests-acknowledgements.plist"; sourceTree = ""; }; 40 | 37390FAEDBCCD3AADF3867884B525D6F /* Pods-VFParallaxController_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-VFParallaxController_Tests.release.xcconfig"; sourceTree = ""; }; 41 | 3C5FD284982CBE12ABFA46B14A0F1513 /* Pods-VFParallaxController_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-VFParallaxController_Tests.modulemap"; sourceTree = ""; }; 42 | 55E2923A050FA626C5899D27AB443337 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 5F4FCFB6BCBCD9B37BA286133E3D1F77 /* Pods-VFParallaxController_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-VFParallaxController_Example-frameworks.sh"; sourceTree = ""; }; 44 | 7787DFC611BDA3B16AE12CF9B55E7A18 /* VFParallaxController-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "VFParallaxController-umbrella.h"; sourceTree = ""; }; 45 | 79741176DC8F4765035343821F949281 /* Pods-VFParallaxController_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-VFParallaxController_Tests-umbrella.h"; sourceTree = ""; }; 46 | 8441C16CDF586FC20897766F8767FC4E /* Pods-VFParallaxController_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-VFParallaxController_Example-dummy.m"; sourceTree = ""; }; 47 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 48 | 98CA8250E810F8D3F25C8C1480C6F9B6 /* VFParallaxController.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = VFParallaxController.modulemap; sourceTree = ""; }; 49 | A2C4F16A8122698896F3BF3726EC9F83 /* Pods-VFParallaxController_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-VFParallaxController_Tests-dummy.m"; sourceTree = ""; }; 50 | A6B8A509E29898F4D46E7560F9937EB4 /* Pods_VFParallaxController_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_VFParallaxController_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | A934BBFFCC456B31399599183D242CE5 /* VFParallaxController.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = VFParallaxController.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | AFD4B64B9102574994029E3C8A367C32 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 53 | B58AD043C70067FCEADCD634DF02CD99 /* VFParallaxController-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "VFParallaxController-prefix.pch"; sourceTree = ""; }; 54 | B596E7317ECD8F5872C0F4CEA6DE493A /* VFParallaxController-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "VFParallaxController-dummy.m"; sourceTree = ""; }; 55 | B91E4A60877C9FB10834A5973C01C816 /* Pods-VFParallaxController_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-VFParallaxController_Example-acknowledgements.plist"; sourceTree = ""; }; 56 | BCE9677932435DB2D214FF43DB62B3E6 /* Pods-VFParallaxController_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-VFParallaxController_Tests-acknowledgements.markdown"; sourceTree = ""; }; 57 | C6A63940F6696833958F8FB85B5572F0 /* Pods-VFParallaxController_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-VFParallaxController_Example-umbrella.h"; sourceTree = ""; }; 58 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 59 | CF3BD8562CE1C9C7355CA7896234AE5A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 60 | D009D204E2E37099D3B03F35ED7C1046 /* Pods_VFParallaxController_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_VFParallaxController_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | E0894D5DD9683177FFB9023EF6467EB3 /* Pods-VFParallaxController_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-VFParallaxController_Example.debug.xcconfig"; sourceTree = ""; }; 62 | F5D4371347DB28535A8CBC4D584A09D8 /* Pods-VFParallaxController_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-VFParallaxController_Example-acknowledgements.markdown"; sourceTree = ""; }; 63 | F81C5B47A8C2881EA8244F3F99467628 /* VFParallaxController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = VFParallaxController.swift; sourceTree = ""; }; 64 | FBB0E2FAB295C9BD363B4BACC4A91899 /* Pods-VFParallaxController_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-VFParallaxController_Example.release.xcconfig"; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 8E6D492D31A4412023210A4B44E493B0 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 17D274E37135ACF84AA6FECA5EA756CE /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | B435CDB96FA29005DAA7571A5DFAC2DB /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | 0D759C8B200735F4ED65BEBF8F84FF13 /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | FD64989930E9E5B1087B758CE39C28E9 /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | CF7B90131B2D359A11A8D3E50AD66F4C /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 1DB9E4CE2D14178BAF892AB462BA0675 /* Pods-VFParallaxController_Example */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 55E2923A050FA626C5899D27AB443337 /* Info.plist */, 99 | 16713C3496FD69E2265378AF5B42E57D /* Pods-VFParallaxController_Example.modulemap */, 100 | F5D4371347DB28535A8CBC4D584A09D8 /* Pods-VFParallaxController_Example-acknowledgements.markdown */, 101 | B91E4A60877C9FB10834A5973C01C816 /* Pods-VFParallaxController_Example-acknowledgements.plist */, 102 | 8441C16CDF586FC20897766F8767FC4E /* Pods-VFParallaxController_Example-dummy.m */, 103 | 5F4FCFB6BCBCD9B37BA286133E3D1F77 /* Pods-VFParallaxController_Example-frameworks.sh */, 104 | 1002CD983962D6AD81ED5DE524EF7F0E /* Pods-VFParallaxController_Example-resources.sh */, 105 | C6A63940F6696833958F8FB85B5572F0 /* Pods-VFParallaxController_Example-umbrella.h */, 106 | E0894D5DD9683177FFB9023EF6467EB3 /* Pods-VFParallaxController_Example.debug.xcconfig */, 107 | FBB0E2FAB295C9BD363B4BACC4A91899 /* Pods-VFParallaxController_Example.release.xcconfig */, 108 | ); 109 | name = "Pods-VFParallaxController_Example"; 110 | path = "Target Support Files/Pods-VFParallaxController_Example"; 111 | sourceTree = ""; 112 | }; 113 | 3886B3E6C3B461CEE67138F27413FF17 /* Classes */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | F81C5B47A8C2881EA8244F3F99467628 /* VFParallaxController.swift */, 117 | ); 118 | path = Classes; 119 | sourceTree = ""; 120 | }; 121 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | CEC22C73C1608DFA5D5D78BDCB218219 /* Foundation.framework */, 125 | ); 126 | name = iOS; 127 | sourceTree = ""; 128 | }; 129 | 72234F0E192BC7DE1BEC1CD4C242AF0C /* Development Pods */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | D6FBD434B3A5D0C3F46DE9D6AA4C7BB8 /* VFParallaxController */, 133 | ); 134 | name = "Development Pods"; 135 | sourceTree = ""; 136 | }; 137 | 7DB346D0F39D3F0E887471402A8071AB = { 138 | isa = PBXGroup; 139 | children = ( 140 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 141 | 72234F0E192BC7DE1BEC1CD4C242AF0C /* Development Pods */, 142 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 143 | EEFB65C92D49F1A456980DD890A5DA2A /* Products */, 144 | 899F21D30708E562E72D7C3E933D3A39 /* Targets Support Files */, 145 | ); 146 | sourceTree = ""; 147 | }; 148 | 899F21D30708E562E72D7C3E933D3A39 /* Targets Support Files */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | 1DB9E4CE2D14178BAF892AB462BA0675 /* Pods-VFParallaxController_Example */, 152 | AB90B3AC3D6AEE59B5417505E855BFB6 /* Pods-VFParallaxController_Tests */, 153 | ); 154 | name = "Targets Support Files"; 155 | sourceTree = ""; 156 | }; 157 | 9D6A363D94C184EAE3ED12C9E1D83E5D /* Support Files */ = { 158 | isa = PBXGroup; 159 | children = ( 160 | CF3BD8562CE1C9C7355CA7896234AE5A /* Info.plist */, 161 | 98CA8250E810F8D3F25C8C1480C6F9B6 /* VFParallaxController.modulemap */, 162 | 28022B8FA2B9B1C808C5E57BA1C70F15 /* VFParallaxController.xcconfig */, 163 | B596E7317ECD8F5872C0F4CEA6DE493A /* VFParallaxController-dummy.m */, 164 | B58AD043C70067FCEADCD634DF02CD99 /* VFParallaxController-prefix.pch */, 165 | 7787DFC611BDA3B16AE12CF9B55E7A18 /* VFParallaxController-umbrella.h */, 166 | ); 167 | name = "Support Files"; 168 | path = "Example/Pods/Target Support Files/VFParallaxController"; 169 | sourceTree = ""; 170 | }; 171 | A4722FB11FF8DA3FC370B3B058F27F1F /* VFParallaxController */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | 3886B3E6C3B461CEE67138F27413FF17 /* Classes */, 175 | ); 176 | path = VFParallaxController; 177 | sourceTree = ""; 178 | }; 179 | AB90B3AC3D6AEE59B5417505E855BFB6 /* Pods-VFParallaxController_Tests */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | AFD4B64B9102574994029E3C8A367C32 /* Info.plist */, 183 | 3C5FD284982CBE12ABFA46B14A0F1513 /* Pods-VFParallaxController_Tests.modulemap */, 184 | BCE9677932435DB2D214FF43DB62B3E6 /* Pods-VFParallaxController_Tests-acknowledgements.markdown */, 185 | 29174245F925A9F9762483D740BB3B44 /* Pods-VFParallaxController_Tests-acknowledgements.plist */, 186 | A2C4F16A8122698896F3BF3726EC9F83 /* Pods-VFParallaxController_Tests-dummy.m */, 187 | 07C8DCB015B4A446D0276E1E8D0FA213 /* Pods-VFParallaxController_Tests-frameworks.sh */, 188 | 1F37716653B001C7904D76570272FD68 /* Pods-VFParallaxController_Tests-resources.sh */, 189 | 79741176DC8F4765035343821F949281 /* Pods-VFParallaxController_Tests-umbrella.h */, 190 | 0FDA37E80B80A720A105EECF4C4F435D /* Pods-VFParallaxController_Tests.debug.xcconfig */, 191 | 37390FAEDBCCD3AADF3867884B525D6F /* Pods-VFParallaxController_Tests.release.xcconfig */, 192 | ); 193 | name = "Pods-VFParallaxController_Tests"; 194 | path = "Target Support Files/Pods-VFParallaxController_Tests"; 195 | sourceTree = ""; 196 | }; 197 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 198 | isa = PBXGroup; 199 | children = ( 200 | 3DCAB2B7CDE207B3958B6CB957FCC758 /* iOS */, 201 | ); 202 | name = Frameworks; 203 | sourceTree = ""; 204 | }; 205 | D6FBD434B3A5D0C3F46DE9D6AA4C7BB8 /* VFParallaxController */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | 9D6A363D94C184EAE3ED12C9E1D83E5D /* Support Files */, 209 | A4722FB11FF8DA3FC370B3B058F27F1F /* VFParallaxController */, 210 | ); 211 | name = VFParallaxController; 212 | path = ../..; 213 | sourceTree = ""; 214 | }; 215 | EEFB65C92D49F1A456980DD890A5DA2A /* Products */ = { 216 | isa = PBXGroup; 217 | children = ( 218 | D009D204E2E37099D3B03F35ED7C1046 /* Pods_VFParallaxController_Example.framework */, 219 | A6B8A509E29898F4D46E7560F9937EB4 /* Pods_VFParallaxController_Tests.framework */, 220 | A934BBFFCC456B31399599183D242CE5 /* VFParallaxController.framework */, 221 | ); 222 | name = Products; 223 | sourceTree = ""; 224 | }; 225 | /* End PBXGroup section */ 226 | 227 | /* Begin PBXHeadersBuildPhase section */ 228 | 44321FBDA8C4084B0A39FDE2F053A285 /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 9DD67CAF1370BF8CBE4CDA86E2F39F90 /* Pods-VFParallaxController_Example-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | 66E0F0770F1F9DCF73DDBE7C54964BE5 /* Headers */ = { 237 | isa = PBXHeadersBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | 17B359C7FCF3D91702A9F31067090AED /* VFParallaxController-umbrella.h in Headers */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | B7F30D55782D86B1C8F1B5601C519E05 /* Headers */ = { 245 | isa = PBXHeadersBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 8DE77DC720DB16A14F5B0B8D9F715ADE /* Pods-VFParallaxController_Tests-umbrella.h in Headers */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | /* End PBXHeadersBuildPhase section */ 253 | 254 | /* Begin PBXNativeTarget section */ 255 | A47B438E64F332EE724EE183A12DAD6A /* VFParallaxController */ = { 256 | isa = PBXNativeTarget; 257 | buildConfigurationList = 00A3136A8B06F06DAA7ABF4EAF98EA8A /* Build configuration list for PBXNativeTarget "VFParallaxController" */; 258 | buildPhases = ( 259 | B8E8276380219B2E74FD3E80A133AECD /* Sources */, 260 | FD64989930E9E5B1087B758CE39C28E9 /* Frameworks */, 261 | 66E0F0770F1F9DCF73DDBE7C54964BE5 /* Headers */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | ); 267 | name = VFParallaxController; 268 | productName = VFParallaxController; 269 | productReference = A934BBFFCC456B31399599183D242CE5 /* VFParallaxController.framework */; 270 | productType = "com.apple.product-type.framework"; 271 | }; 272 | AC3DBC4EC09F59654CC5262CEE060D93 /* Pods-VFParallaxController_Tests */ = { 273 | isa = PBXNativeTarget; 274 | buildConfigurationList = 1AD54582985BE2E6F002F09192A9A2A1 /* Build configuration list for PBXNativeTarget "Pods-VFParallaxController_Tests" */; 275 | buildPhases = ( 276 | 2F03584325968A320694B6E9D6E9B6B8 /* Sources */, 277 | 8E6D492D31A4412023210A4B44E493B0 /* Frameworks */, 278 | B7F30D55782D86B1C8F1B5601C519E05 /* Headers */, 279 | ); 280 | buildRules = ( 281 | ); 282 | dependencies = ( 283 | ); 284 | name = "Pods-VFParallaxController_Tests"; 285 | productName = "Pods-VFParallaxController_Tests"; 286 | productReference = A6B8A509E29898F4D46E7560F9937EB4 /* Pods_VFParallaxController_Tests.framework */; 287 | productType = "com.apple.product-type.framework"; 288 | }; 289 | CB6DD56DF843CBBBCE387580C8EF4B6A /* Pods-VFParallaxController_Example */ = { 290 | isa = PBXNativeTarget; 291 | buildConfigurationList = 70E47FE736EF05A38928BEC7992B7BEA /* Build configuration list for PBXNativeTarget "Pods-VFParallaxController_Example" */; 292 | buildPhases = ( 293 | 6A5E6A1D04A38CE6C5E651E44B944845 /* Sources */, 294 | B435CDB96FA29005DAA7571A5DFAC2DB /* Frameworks */, 295 | 44321FBDA8C4084B0A39FDE2F053A285 /* Headers */, 296 | ); 297 | buildRules = ( 298 | ); 299 | dependencies = ( 300 | 5C726618FC63403AA7880B0216E621F0 /* PBXTargetDependency */, 301 | ); 302 | name = "Pods-VFParallaxController_Example"; 303 | productName = "Pods-VFParallaxController_Example"; 304 | productReference = D009D204E2E37099D3B03F35ED7C1046 /* Pods_VFParallaxController_Example.framework */; 305 | productType = "com.apple.product-type.framework"; 306 | }; 307 | /* End PBXNativeTarget section */ 308 | 309 | /* Begin PBXProject section */ 310 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 311 | isa = PBXProject; 312 | attributes = { 313 | LastSwiftUpdateCheck = 0730; 314 | LastUpgradeCheck = 0700; 315 | TargetAttributes = { 316 | A47B438E64F332EE724EE183A12DAD6A = { 317 | LastSwiftMigration = 0820; 318 | }; 319 | CB6DD56DF843CBBBCE387580C8EF4B6A = { 320 | LastSwiftMigration = 0820; 321 | }; 322 | }; 323 | }; 324 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 325 | compatibilityVersion = "Xcode 3.2"; 326 | developmentRegion = English; 327 | hasScannedForEncodings = 0; 328 | knownRegions = ( 329 | en, 330 | ); 331 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 332 | productRefGroup = EEFB65C92D49F1A456980DD890A5DA2A /* Products */; 333 | projectDirPath = ""; 334 | projectRoot = ""; 335 | targets = ( 336 | CB6DD56DF843CBBBCE387580C8EF4B6A /* Pods-VFParallaxController_Example */, 337 | AC3DBC4EC09F59654CC5262CEE060D93 /* Pods-VFParallaxController_Tests */, 338 | A47B438E64F332EE724EE183A12DAD6A /* VFParallaxController */, 339 | ); 340 | }; 341 | /* End PBXProject section */ 342 | 343 | /* Begin PBXSourcesBuildPhase section */ 344 | 2F03584325968A320694B6E9D6E9B6B8 /* Sources */ = { 345 | isa = PBXSourcesBuildPhase; 346 | buildActionMask = 2147483647; 347 | files = ( 348 | A549227125FD6F1531D7313FDB77418E /* Pods-VFParallaxController_Tests-dummy.m in Sources */, 349 | ); 350 | runOnlyForDeploymentPostprocessing = 0; 351 | }; 352 | 6A5E6A1D04A38CE6C5E651E44B944845 /* Sources */ = { 353 | isa = PBXSourcesBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | F24751A4E091A0C8DC1AEA3E2C452D93 /* Pods-VFParallaxController_Example-dummy.m in Sources */, 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | }; 360 | B8E8276380219B2E74FD3E80A133AECD /* Sources */ = { 361 | isa = PBXSourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | 0B5CD2222A1D3DA77DDA1870BD491832 /* VFParallaxController-dummy.m in Sources */, 365 | 5C60EC50243C870E6A8245405BBB2DF2 /* VFParallaxController.swift in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | /* End PBXSourcesBuildPhase section */ 370 | 371 | /* Begin PBXTargetDependency section */ 372 | 5C726618FC63403AA7880B0216E621F0 /* PBXTargetDependency */ = { 373 | isa = PBXTargetDependency; 374 | name = VFParallaxController; 375 | target = A47B438E64F332EE724EE183A12DAD6A /* VFParallaxController */; 376 | targetProxy = 6469EA1BD29A1F843A418A747E3FD152 /* PBXContainerItemProxy */; 377 | }; 378 | /* End PBXTargetDependency section */ 379 | 380 | /* Begin XCBuildConfiguration section */ 381 | 04E56A21C6F91F5A06C5897E6F820F6F /* Release */ = { 382 | isa = XCBuildConfiguration; 383 | baseConfigurationReference = 37390FAEDBCCD3AADF3867884B525D6F /* Pods-VFParallaxController_Tests.release.xcconfig */; 384 | buildSettings = { 385 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 386 | CURRENT_PROJECT_VERSION = 1; 387 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 388 | DEFINES_MODULE = YES; 389 | DYLIB_COMPATIBILITY_VERSION = 1; 390 | DYLIB_CURRENT_VERSION = 1; 391 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 392 | ENABLE_STRICT_OBJC_MSGSEND = YES; 393 | GCC_NO_COMMON_BLOCKS = YES; 394 | INFOPLIST_FILE = "Target Support Files/Pods-VFParallaxController_Tests/Info.plist"; 395 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 396 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 397 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 398 | MACH_O_TYPE = staticlib; 399 | MODULEMAP_FILE = "Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests.modulemap"; 400 | MTL_ENABLE_DEBUG_INFO = NO; 401 | OTHER_LDFLAGS = ""; 402 | OTHER_LIBTOOLFLAGS = ""; 403 | PODS_ROOT = "$(SRCROOT)"; 404 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 405 | PRODUCT_NAME = Pods_VFParallaxController_Tests; 406 | SDKROOT = iphoneos; 407 | SKIP_INSTALL = YES; 408 | TARGETED_DEVICE_FAMILY = "1,2"; 409 | VERSIONING_SYSTEM = "apple-generic"; 410 | VERSION_INFO_PREFIX = ""; 411 | }; 412 | name = Release; 413 | }; 414 | 1A3AED72556E9F90591DE49D9E952DCD /* Release */ = { 415 | isa = XCBuildConfiguration; 416 | baseConfigurationReference = FBB0E2FAB295C9BD363B4BACC4A91899 /* Pods-VFParallaxController_Example.release.xcconfig */; 417 | buildSettings = { 418 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 419 | CURRENT_PROJECT_VERSION = 1; 420 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 421 | DEFINES_MODULE = YES; 422 | DYLIB_COMPATIBILITY_VERSION = 1; 423 | DYLIB_CURRENT_VERSION = 1; 424 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 425 | ENABLE_STRICT_OBJC_MSGSEND = YES; 426 | GCC_NO_COMMON_BLOCKS = YES; 427 | INFOPLIST_FILE = "Target Support Files/Pods-VFParallaxController_Example/Info.plist"; 428 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 429 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 430 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 431 | MACH_O_TYPE = staticlib; 432 | MODULEMAP_FILE = "Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example.modulemap"; 433 | MTL_ENABLE_DEBUG_INFO = NO; 434 | OTHER_LDFLAGS = ""; 435 | OTHER_LIBTOOLFLAGS = ""; 436 | PODS_ROOT = "$(SRCROOT)"; 437 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 438 | PRODUCT_NAME = Pods_VFParallaxController_Example; 439 | SDKROOT = iphoneos; 440 | SKIP_INSTALL = YES; 441 | SWIFT_VERSION = 3.0; 442 | TARGETED_DEVICE_FAMILY = "1,2"; 443 | VERSIONING_SYSTEM = "apple-generic"; 444 | VERSION_INFO_PREFIX = ""; 445 | }; 446 | name = Release; 447 | }; 448 | 321B0AE055E6DF4A0E5439754901AB77 /* Debug */ = { 449 | isa = XCBuildConfiguration; 450 | baseConfigurationReference = 0FDA37E80B80A720A105EECF4C4F435D /* Pods-VFParallaxController_Tests.debug.xcconfig */; 451 | buildSettings = { 452 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 453 | CURRENT_PROJECT_VERSION = 1; 454 | DEBUG_INFORMATION_FORMAT = dwarf; 455 | DEFINES_MODULE = YES; 456 | DYLIB_COMPATIBILITY_VERSION = 1; 457 | DYLIB_CURRENT_VERSION = 1; 458 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 459 | ENABLE_STRICT_OBJC_MSGSEND = YES; 460 | GCC_NO_COMMON_BLOCKS = YES; 461 | INFOPLIST_FILE = "Target Support Files/Pods-VFParallaxController_Tests/Info.plist"; 462 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 463 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 464 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 465 | MACH_O_TYPE = staticlib; 466 | MODULEMAP_FILE = "Target Support Files/Pods-VFParallaxController_Tests/Pods-VFParallaxController_Tests.modulemap"; 467 | MTL_ENABLE_DEBUG_INFO = YES; 468 | OTHER_LDFLAGS = ""; 469 | OTHER_LIBTOOLFLAGS = ""; 470 | PODS_ROOT = "$(SRCROOT)"; 471 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 472 | PRODUCT_NAME = Pods_VFParallaxController_Tests; 473 | SDKROOT = iphoneos; 474 | SKIP_INSTALL = YES; 475 | TARGETED_DEVICE_FAMILY = "1,2"; 476 | VERSIONING_SYSTEM = "apple-generic"; 477 | VERSION_INFO_PREFIX = ""; 478 | }; 479 | name = Debug; 480 | }; 481 | 42ECFB2B88150EC2C8F4FCA4855A3EBE /* Debug */ = { 482 | isa = XCBuildConfiguration; 483 | baseConfigurationReference = 28022B8FA2B9B1C808C5E57BA1C70F15 /* VFParallaxController.xcconfig */; 484 | buildSettings = { 485 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 486 | CURRENT_PROJECT_VERSION = 1; 487 | DEBUG_INFORMATION_FORMAT = dwarf; 488 | DEFINES_MODULE = YES; 489 | DYLIB_COMPATIBILITY_VERSION = 1; 490 | DYLIB_CURRENT_VERSION = 1; 491 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 492 | ENABLE_STRICT_OBJC_MSGSEND = YES; 493 | GCC_NO_COMMON_BLOCKS = YES; 494 | GCC_PREFIX_HEADER = "Target Support Files/VFParallaxController/VFParallaxController-prefix.pch"; 495 | INFOPLIST_FILE = "Target Support Files/VFParallaxController/Info.plist"; 496 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 497 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 498 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 499 | MODULEMAP_FILE = "Target Support Files/VFParallaxController/VFParallaxController.modulemap"; 500 | MTL_ENABLE_DEBUG_INFO = YES; 501 | PRODUCT_NAME = VFParallaxController; 502 | SDKROOT = iphoneos; 503 | SKIP_INSTALL = YES; 504 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 505 | SWIFT_VERSION = 3.0; 506 | TARGETED_DEVICE_FAMILY = "1,2"; 507 | VERSIONING_SYSTEM = "apple-generic"; 508 | VERSION_INFO_PREFIX = ""; 509 | }; 510 | name = Debug; 511 | }; 512 | 47BEF9D903506B003EA5C2B249729489 /* Debug */ = { 513 | isa = XCBuildConfiguration; 514 | buildSettings = { 515 | ALWAYS_SEARCH_USER_PATHS = NO; 516 | CLANG_ANALYZER_NONNULL = YES; 517 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 518 | CLANG_CXX_LIBRARY = "libc++"; 519 | CLANG_ENABLE_MODULES = YES; 520 | CLANG_ENABLE_OBJC_ARC = YES; 521 | CLANG_WARN_BOOL_CONVERSION = YES; 522 | CLANG_WARN_CONSTANT_CONVERSION = YES; 523 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 524 | CLANG_WARN_EMPTY_BODY = YES; 525 | CLANG_WARN_ENUM_CONVERSION = YES; 526 | CLANG_WARN_INT_CONVERSION = YES; 527 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 528 | CLANG_WARN_UNREACHABLE_CODE = YES; 529 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 530 | COPY_PHASE_STRIP = NO; 531 | ENABLE_TESTABILITY = YES; 532 | GCC_C_LANGUAGE_STANDARD = gnu99; 533 | GCC_DYNAMIC_NO_PIC = NO; 534 | GCC_OPTIMIZATION_LEVEL = 0; 535 | GCC_PREPROCESSOR_DEFINITIONS = ( 536 | "POD_CONFIGURATION_DEBUG=1", 537 | "DEBUG=1", 538 | "$(inherited)", 539 | ); 540 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 541 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 542 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 543 | GCC_WARN_UNDECLARED_SELECTOR = YES; 544 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 545 | GCC_WARN_UNUSED_FUNCTION = YES; 546 | GCC_WARN_UNUSED_VARIABLE = YES; 547 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 548 | ONLY_ACTIVE_ARCH = YES; 549 | STRIP_INSTALLED_PRODUCT = NO; 550 | SYMROOT = "${SRCROOT}/../build"; 551 | }; 552 | name = Debug; 553 | }; 554 | 533CE6280F1FDBE292D0C3C620B51833 /* Debug */ = { 555 | isa = XCBuildConfiguration; 556 | baseConfigurationReference = E0894D5DD9683177FFB9023EF6467EB3 /* Pods-VFParallaxController_Example.debug.xcconfig */; 557 | buildSettings = { 558 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 559 | CURRENT_PROJECT_VERSION = 1; 560 | DEBUG_INFORMATION_FORMAT = dwarf; 561 | DEFINES_MODULE = YES; 562 | DYLIB_COMPATIBILITY_VERSION = 1; 563 | DYLIB_CURRENT_VERSION = 1; 564 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 565 | ENABLE_STRICT_OBJC_MSGSEND = YES; 566 | GCC_NO_COMMON_BLOCKS = YES; 567 | INFOPLIST_FILE = "Target Support Files/Pods-VFParallaxController_Example/Info.plist"; 568 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 569 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 570 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 571 | MACH_O_TYPE = staticlib; 572 | MODULEMAP_FILE = "Target Support Files/Pods-VFParallaxController_Example/Pods-VFParallaxController_Example.modulemap"; 573 | MTL_ENABLE_DEBUG_INFO = YES; 574 | OTHER_LDFLAGS = ""; 575 | OTHER_LIBTOOLFLAGS = ""; 576 | PODS_ROOT = "$(SRCROOT)"; 577 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 578 | PRODUCT_NAME = Pods_VFParallaxController_Example; 579 | SDKROOT = iphoneos; 580 | SKIP_INSTALL = YES; 581 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 582 | SWIFT_VERSION = 3.0; 583 | TARGETED_DEVICE_FAMILY = "1,2"; 584 | VERSIONING_SYSTEM = "apple-generic"; 585 | VERSION_INFO_PREFIX = ""; 586 | }; 587 | name = Debug; 588 | }; 589 | 8892533124E8095F472752F70A25C455 /* Release */ = { 590 | isa = XCBuildConfiguration; 591 | baseConfigurationReference = 28022B8FA2B9B1C808C5E57BA1C70F15 /* VFParallaxController.xcconfig */; 592 | buildSettings = { 593 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 594 | CURRENT_PROJECT_VERSION = 1; 595 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 596 | DEFINES_MODULE = YES; 597 | DYLIB_COMPATIBILITY_VERSION = 1; 598 | DYLIB_CURRENT_VERSION = 1; 599 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 600 | ENABLE_STRICT_OBJC_MSGSEND = YES; 601 | GCC_NO_COMMON_BLOCKS = YES; 602 | GCC_PREFIX_HEADER = "Target Support Files/VFParallaxController/VFParallaxController-prefix.pch"; 603 | INFOPLIST_FILE = "Target Support Files/VFParallaxController/Info.plist"; 604 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 605 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 606 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 607 | MODULEMAP_FILE = "Target Support Files/VFParallaxController/VFParallaxController.modulemap"; 608 | MTL_ENABLE_DEBUG_INFO = NO; 609 | PRODUCT_NAME = VFParallaxController; 610 | SDKROOT = iphoneos; 611 | SKIP_INSTALL = YES; 612 | SWIFT_VERSION = 3.0; 613 | TARGETED_DEVICE_FAMILY = "1,2"; 614 | VERSIONING_SYSTEM = "apple-generic"; 615 | VERSION_INFO_PREFIX = ""; 616 | }; 617 | name = Release; 618 | }; 619 | AAF678CED40D3499169D10F63CA0719E /* Release */ = { 620 | isa = XCBuildConfiguration; 621 | buildSettings = { 622 | ALWAYS_SEARCH_USER_PATHS = NO; 623 | CLANG_ANALYZER_NONNULL = YES; 624 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 625 | CLANG_CXX_LIBRARY = "libc++"; 626 | CLANG_ENABLE_MODULES = YES; 627 | CLANG_ENABLE_OBJC_ARC = YES; 628 | CLANG_WARN_BOOL_CONVERSION = YES; 629 | CLANG_WARN_CONSTANT_CONVERSION = YES; 630 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 631 | CLANG_WARN_EMPTY_BODY = YES; 632 | CLANG_WARN_ENUM_CONVERSION = YES; 633 | CLANG_WARN_INT_CONVERSION = YES; 634 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 635 | CLANG_WARN_UNREACHABLE_CODE = YES; 636 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 637 | COPY_PHASE_STRIP = YES; 638 | ENABLE_NS_ASSERTIONS = NO; 639 | GCC_C_LANGUAGE_STANDARD = gnu99; 640 | GCC_PREPROCESSOR_DEFINITIONS = ( 641 | "POD_CONFIGURATION_RELEASE=1", 642 | "$(inherited)", 643 | ); 644 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 645 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 646 | GCC_WARN_UNDECLARED_SELECTOR = YES; 647 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 648 | GCC_WARN_UNUSED_FUNCTION = YES; 649 | GCC_WARN_UNUSED_VARIABLE = YES; 650 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 651 | STRIP_INSTALLED_PRODUCT = NO; 652 | SYMROOT = "${SRCROOT}/../build"; 653 | VALIDATE_PRODUCT = YES; 654 | }; 655 | name = Release; 656 | }; 657 | /* End XCBuildConfiguration section */ 658 | 659 | /* Begin XCConfigurationList section */ 660 | 00A3136A8B06F06DAA7ABF4EAF98EA8A /* Build configuration list for PBXNativeTarget "VFParallaxController" */ = { 661 | isa = XCConfigurationList; 662 | buildConfigurations = ( 663 | 42ECFB2B88150EC2C8F4FCA4855A3EBE /* Debug */, 664 | 8892533124E8095F472752F70A25C455 /* Release */, 665 | ); 666 | defaultConfigurationIsVisible = 0; 667 | defaultConfigurationName = Release; 668 | }; 669 | 1AD54582985BE2E6F002F09192A9A2A1 /* Build configuration list for PBXNativeTarget "Pods-VFParallaxController_Tests" */ = { 670 | isa = XCConfigurationList; 671 | buildConfigurations = ( 672 | 321B0AE055E6DF4A0E5439754901AB77 /* Debug */, 673 | 04E56A21C6F91F5A06C5897E6F820F6F /* Release */, 674 | ); 675 | defaultConfigurationIsVisible = 0; 676 | defaultConfigurationName = Release; 677 | }; 678 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 679 | isa = XCConfigurationList; 680 | buildConfigurations = ( 681 | 47BEF9D903506B003EA5C2B249729489 /* Debug */, 682 | AAF678CED40D3499169D10F63CA0719E /* Release */, 683 | ); 684 | defaultConfigurationIsVisible = 0; 685 | defaultConfigurationName = Release; 686 | }; 687 | 70E47FE736EF05A38928BEC7992B7BEA /* Build configuration list for PBXNativeTarget "Pods-VFParallaxController_Example" */ = { 688 | isa = XCConfigurationList; 689 | buildConfigurations = ( 690 | 533CE6280F1FDBE292D0C3C620B51833 /* Debug */, 691 | 1A3AED72556E9F90591DE49D9E952DCD /* Release */, 692 | ); 693 | defaultConfigurationIsVisible = 0; 694 | defaultConfigurationName = Release; 695 | }; 696 | /* End XCConfigurationList section */ 697 | }; 698 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 699 | } 700 | --------------------------------------------------------------------------------