├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── TWPullUpView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── Pods-TWPullUpView_Example │ │ ├── Pods-TWPullUpView_Example-Info.plist │ │ ├── Pods-TWPullUpView_Example-acknowledgements.markdown │ │ ├── Pods-TWPullUpView_Example-acknowledgements.plist │ │ ├── Pods-TWPullUpView_Example-dummy.m │ │ ├── Pods-TWPullUpView_Example-frameworks.sh │ │ ├── Pods-TWPullUpView_Example-umbrella.h │ │ ├── Pods-TWPullUpView_Example.debug.xcconfig │ │ ├── Pods-TWPullUpView_Example.modulemap │ │ └── Pods-TWPullUpView_Example.release.xcconfig │ │ ├── Pods-TWPullUpView_Tests │ │ ├── Pods-TWPullUpView_Tests-Info.plist │ │ ├── Pods-TWPullUpView_Tests-acknowledgements.markdown │ │ ├── Pods-TWPullUpView_Tests-acknowledgements.plist │ │ ├── Pods-TWPullUpView_Tests-dummy.m │ │ ├── Pods-TWPullUpView_Tests-umbrella.h │ │ ├── Pods-TWPullUpView_Tests.debug.xcconfig │ │ ├── Pods-TWPullUpView_Tests.modulemap │ │ └── Pods-TWPullUpView_Tests.release.xcconfig │ │ └── TWPullUpView │ │ ├── TWPullUpView-Info.plist │ │ ├── TWPullUpView-dummy.m │ │ ├── TWPullUpView-prefix.pch │ │ ├── TWPullUpView-umbrella.h │ │ ├── TWPullUpView.debug.xcconfig │ │ ├── TWPullUpView.modulemap │ │ └── TWPullUpView.release.xcconfig ├── TWPullUpView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── TWPullUpView-Example.xcscheme ├── TWPullUpView.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── TWPullUpView │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── DummyData.swift │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── Pull Up View │ │ ├── MyPullUpViewController.swift │ │ └── TableViewCell.swift │ └── ViewController.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md ├── Readme ├── TWPullupView_example.gif └── airbnb_example.gif ├── Sources ├── TWPullUpOption.swift └── TWPullUpViewController.swift ├── TWPullUpView.podspec ├── TWPullUpView ├── Assets │ └── .gitkeep └── Classes │ └── .gitkeep └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 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 -enableCodeCoverage YES -workspace Example/TWPullUpView.xcworkspace -scheme TWPullUpView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | platform :ios, '9.0' 4 | 5 | target 'TWPullUpView_Example' do 6 | pod 'TWPullUpView', :path => '../' 7 | 8 | target 'TWPullUpView_Tests' do 9 | inherit! :search_paths 10 | 11 | 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - TWPullUpView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - TWPullUpView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | TWPullUpView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | TWPullUpView: 02867713985f9d4f433c107951bf03b7a00b1a02 13 | 14 | PODFILE CHECKSUM: b5baf1394d69ba0d527f0e124e16b7b9c2418406 15 | 16 | COCOAPODS: 1.10.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/TWPullUpView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TWPullUpView", 3 | "version": "0.1.0", 4 | "summary": "A short description of TWPullUpView.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/Jeehoon Son/TWPullUpView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Jeehoon Son": "tigerjs94@naver.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/Jeehoon Son/TWPullUpView.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "9.0" 20 | }, 21 | "source_files": "TWPullUpView/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - TWPullUpView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - TWPullUpView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | TWPullUpView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | TWPullUpView: 02867713985f9d4f433c107951bf03b7a00b1a02 13 | 14 | PODFILE CHECKSUM: b5baf1394d69ba0d527f0e124e16b7b9c2418406 15 | 16 | COCOAPODS: 1.10.1 17 | -------------------------------------------------------------------------------- /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 | 3ED0BFCA94C71180D6A575F834D5B31C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 11 | 5314EC3AB4DE1C3EB256F88B37C463AE /* Pods-TWPullUpView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BB0286EEFFBD8CA4179191B8306F423 /* Pods-TWPullUpView_Tests-dummy.m */; }; 12 | 572B8670261214000087A22D /* TWPullUpViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 572B866D261214000087A22D /* TWPullUpViewController.swift */; }; 13 | 572B8672261214000087A22D /* TWPullUpOption.swift in Sources */ = {isa = PBXBuildFile; fileRef = 572B866F261214000087A22D /* TWPullUpOption.swift */; }; 14 | 59D68506811F0B8CAE1A6D71444B661B /* TWPullUpView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F349548C1A7AB46FFA7D6B3D05A2901A /* TWPullUpView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 5B5FA09762B902A277C99A1C3014389A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 16 | 77D4CE7D4B932BFFB5D41617D9865766 /* TWPullUpView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DAF547AB29199F4EB6D6FE12912ED4F /* TWPullUpView-dummy.m */; }; 17 | 97AD195BC5B71F616CC9F1D0AF9B881C /* Pods-TWPullUpView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 18B16ABEF3777E832A5C4799E7BA98FF /* Pods-TWPullUpView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | A0C14DA664A53D085C6DCB0BF6166B0D /* Pods-TWPullUpView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F727E09C534D0DBC93EA4A57BBFB778A /* Pods-TWPullUpView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | C182919A75D6BD2E9AD6E79B88589B89 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; 20 | EBADCBCD777A8966CD492AED9D4F9E84 /* Pods-TWPullUpView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0D4D69A6D5DA78643F7597D4E90FC258 /* Pods-TWPullUpView_Example-dummy.m */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | 1C503E67F18DE99801C1BACDC36ADE9A /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = B94C4095C5304199C156F3549C7344C8; 29 | remoteInfo = "Pods-TWPullUpView_Example"; 30 | }; 31 | 848088B8F16741D35512B565F71192DF /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = 3EC9A00507B7CDA229DFEB2CC547FF67; 36 | remoteInfo = TWPullUpView; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 0D4D69A6D5DA78643F7597D4E90FC258 /* Pods-TWPullUpView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-TWPullUpView_Example-dummy.m"; sourceTree = ""; }; 42 | 13796DAE5C843CD8EA68094216CEAF81 /* TWPullUpView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = TWPullUpView.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 43 | 1882B0CA6C95C1F0C9E9A76EF619AE08 /* Pods_TWPullUpView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TWPullUpView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 18B16ABEF3777E832A5C4799E7BA98FF /* Pods-TWPullUpView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-TWPullUpView_Tests-umbrella.h"; sourceTree = ""; }; 45 | 21385BDE48D422E41F8AFF037C101AFB /* Pods-TWPullUpView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-TWPullUpView_Tests.modulemap"; sourceTree = ""; }; 46 | 24E93E9B38A271FD8A3C2D29C6DED790 /* TWPullUpView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = TWPullUpView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 33EB9B76A1317090AC9FD68B01AE1910 /* Pods-TWPullUpView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-TWPullUpView_Example-acknowledgements.markdown"; sourceTree = ""; }; 48 | 3471FC9065D922B4788D5B94C3A9F616 /* TWPullUpView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = TWPullUpView.modulemap; sourceTree = ""; }; 49 | 37ECD9F9BB5E9C87928E11B6BFF6FA0D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 50 | 3B9C469980FEF58CCE9C68F653F703D5 /* Pods-TWPullUpView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TWPullUpView_Example.release.xcconfig"; sourceTree = ""; }; 51 | 40E7428C714CEF139ABA6ABDFD0D7933 /* Pods-TWPullUpView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-TWPullUpView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 52 | 42827441625C06CDF753F4FC529B65EC /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 53 | 4BB0286EEFFBD8CA4179191B8306F423 /* Pods-TWPullUpView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-TWPullUpView_Tests-dummy.m"; sourceTree = ""; }; 54 | 4DAF547AB29199F4EB6D6FE12912ED4F /* TWPullUpView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "TWPullUpView-dummy.m"; sourceTree = ""; }; 55 | 572B866D261214000087A22D /* TWPullUpViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TWPullUpViewController.swift; sourceTree = ""; }; 56 | 572B866F261214000087A22D /* TWPullUpOption.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TWPullUpOption.swift; sourceTree = ""; }; 57 | 6A621E00E5E5F62D464127C9E9CA9322 /* TWPullUpView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = TWPullUpView.release.xcconfig; sourceTree = ""; }; 58 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 59 | 815314088F2149C9E247B3D8527BDA12 /* Pods-TWPullUpView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TWPullUpView_Tests.release.xcconfig"; sourceTree = ""; }; 60 | 839019D477F4503CE7DF2409EA974CF8 /* Pods_TWPullUpView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TWPullUpView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 83F0919C1709374A196BDB3D9548720F /* Pods-TWPullUpView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TWPullUpView_Tests-acknowledgements.plist"; sourceTree = ""; }; 62 | 8917152375A3A66ADDA4B34EA99BC226 /* Pods-TWPullUpView_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TWPullUpView_Example-Info.plist"; sourceTree = ""; }; 63 | 93D4F7B8824596D5B9F9B90CB5DDBE40 /* Pods-TWPullUpView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TWPullUpView_Example-acknowledgements.plist"; sourceTree = ""; }; 64 | 95BF7C070ADFE268E006212AC7A24BE8 /* Pods-TWPullUpView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TWPullUpView_Example.debug.xcconfig"; sourceTree = ""; }; 65 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 66 | 9ECC56B1013A5AF51966BD483CA551C9 /* Pods-TWPullUpView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-TWPullUpView_Example.modulemap"; sourceTree = ""; }; 67 | A827FCC4442D96114D8D4AE530E07C5A /* TWPullUpView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "TWPullUpView-prefix.pch"; sourceTree = ""; }; 68 | B49121F11C3C751290AC7C67A9C6D7FA /* TWPullUpView-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "TWPullUpView-Info.plist"; sourceTree = ""; }; 69 | D3CCF0791410A01277BF12F22A3F06B7 /* Pods-TWPullUpView_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-TWPullUpView_Tests-Info.plist"; sourceTree = ""; }; 70 | E909ACA3CA3F38E13E02BD410D668E29 /* Pods-TWPullUpView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-TWPullUpView_Tests.debug.xcconfig"; sourceTree = ""; }; 71 | E918649BB8286F6957F036CCE93BAA60 /* TWPullUpView.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = TWPullUpView.debug.xcconfig; sourceTree = ""; }; 72 | EE304AB42BDF1E37D3E61CAC945BA257 /* Pods-TWPullUpView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-TWPullUpView_Example-frameworks.sh"; sourceTree = ""; }; 73 | F349548C1A7AB46FFA7D6B3D05A2901A /* TWPullUpView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "TWPullUpView-umbrella.h"; sourceTree = ""; }; 74 | F727E09C534D0DBC93EA4A57BBFB778A /* Pods-TWPullUpView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-TWPullUpView_Example-umbrella.h"; sourceTree = ""; }; 75 | /* End PBXFileReference section */ 76 | 77 | /* Begin PBXFrameworksBuildPhase section */ 78 | 01EB5EEC35C13DE2FC29B50AA0391FB4 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | C182919A75D6BD2E9AD6E79B88589B89 /* Foundation.framework in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | 7FF8F727E26C389D415FE5A94AE03B71 /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | 5B5FA09762B902A277C99A1C3014389A /* Foundation.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | C62ACD9263C01D02D4ED6168B45D6551 /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | 3ED0BFCA94C71180D6A575F834D5B31C /* Foundation.framework in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | /* End PBXFrameworksBuildPhase section */ 103 | 104 | /* Begin PBXGroup section */ 105 | 2E46B7B5D9131099026822689CD0CBBC /* Products */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 839019D477F4503CE7DF2409EA974CF8 /* Pods_TWPullUpView_Example.framework */, 109 | 1882B0CA6C95C1F0C9E9A76EF619AE08 /* Pods_TWPullUpView_Tests.framework */, 110 | 24E93E9B38A271FD8A3C2D29C6DED790 /* TWPullUpView.framework */, 111 | ); 112 | name = Products; 113 | sourceTree = ""; 114 | }; 115 | 40F6B73047403617C85165340D52CC91 /* Targets Support Files */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | D8988595FE41896BEC7DFC11041CB392 /* Pods-TWPullUpView_Example */, 119 | CB1840E3E1B2D5386C5CF084CF16EDD5 /* Pods-TWPullUpView_Tests */, 120 | ); 121 | name = "Targets Support Files"; 122 | sourceTree = ""; 123 | }; 124 | 572B866C261213F00087A22D /* Sources */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 572B866F261214000087A22D /* TWPullUpOption.swift */, 128 | 572B866D261214000087A22D /* TWPullUpViewController.swift */, 129 | ); 130 | path = Sources; 131 | sourceTree = ""; 132 | }; 133 | 578452D2E740E91742655AC8F1636D1F /* iOS */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, 137 | ); 138 | name = iOS; 139 | sourceTree = ""; 140 | }; 141 | 853AC3FE43BE93E848A03DD0DE81F841 /* Development Pods */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | A1629559DD9EAD555870CAAFD1263423 /* TWPullUpView */, 145 | ); 146 | name = "Development Pods"; 147 | sourceTree = ""; 148 | }; 149 | A1629559DD9EAD555870CAAFD1263423 /* TWPullUpView */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | 572B866C261213F00087A22D /* Sources */, 153 | C23FDCED1308B28E8EAA007C727A9263 /* Pod */, 154 | FECA4AEFBA79CD6925EDA997C6EB81A9 /* Support Files */, 155 | ); 156 | name = TWPullUpView; 157 | path = ../..; 158 | sourceTree = ""; 159 | }; 160 | C23FDCED1308B28E8EAA007C727A9263 /* Pod */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | 37ECD9F9BB5E9C87928E11B6BFF6FA0D /* LICENSE */, 164 | 42827441625C06CDF753F4FC529B65EC /* README.md */, 165 | 13796DAE5C843CD8EA68094216CEAF81 /* TWPullUpView.podspec */, 166 | ); 167 | name = Pod; 168 | sourceTree = ""; 169 | }; 170 | CB1840E3E1B2D5386C5CF084CF16EDD5 /* Pods-TWPullUpView_Tests */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | 21385BDE48D422E41F8AFF037C101AFB /* Pods-TWPullUpView_Tests.modulemap */, 174 | 40E7428C714CEF139ABA6ABDFD0D7933 /* Pods-TWPullUpView_Tests-acknowledgements.markdown */, 175 | 83F0919C1709374A196BDB3D9548720F /* Pods-TWPullUpView_Tests-acknowledgements.plist */, 176 | 4BB0286EEFFBD8CA4179191B8306F423 /* Pods-TWPullUpView_Tests-dummy.m */, 177 | D3CCF0791410A01277BF12F22A3F06B7 /* Pods-TWPullUpView_Tests-Info.plist */, 178 | 18B16ABEF3777E832A5C4799E7BA98FF /* Pods-TWPullUpView_Tests-umbrella.h */, 179 | E909ACA3CA3F38E13E02BD410D668E29 /* Pods-TWPullUpView_Tests.debug.xcconfig */, 180 | 815314088F2149C9E247B3D8527BDA12 /* Pods-TWPullUpView_Tests.release.xcconfig */, 181 | ); 182 | name = "Pods-TWPullUpView_Tests"; 183 | path = "Target Support Files/Pods-TWPullUpView_Tests"; 184 | sourceTree = ""; 185 | }; 186 | CF1408CF629C7361332E53B88F7BD30C = { 187 | isa = PBXGroup; 188 | children = ( 189 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 190 | 853AC3FE43BE93E848A03DD0DE81F841 /* Development Pods */, 191 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 192 | 2E46B7B5D9131099026822689CD0CBBC /* Products */, 193 | 40F6B73047403617C85165340D52CC91 /* Targets Support Files */, 194 | ); 195 | sourceTree = ""; 196 | }; 197 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 198 | isa = PBXGroup; 199 | children = ( 200 | 578452D2E740E91742655AC8F1636D1F /* iOS */, 201 | ); 202 | name = Frameworks; 203 | sourceTree = ""; 204 | }; 205 | D8988595FE41896BEC7DFC11041CB392 /* Pods-TWPullUpView_Example */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | 9ECC56B1013A5AF51966BD483CA551C9 /* Pods-TWPullUpView_Example.modulemap */, 209 | 33EB9B76A1317090AC9FD68B01AE1910 /* Pods-TWPullUpView_Example-acknowledgements.markdown */, 210 | 93D4F7B8824596D5B9F9B90CB5DDBE40 /* Pods-TWPullUpView_Example-acknowledgements.plist */, 211 | 0D4D69A6D5DA78643F7597D4E90FC258 /* Pods-TWPullUpView_Example-dummy.m */, 212 | EE304AB42BDF1E37D3E61CAC945BA257 /* Pods-TWPullUpView_Example-frameworks.sh */, 213 | 8917152375A3A66ADDA4B34EA99BC226 /* Pods-TWPullUpView_Example-Info.plist */, 214 | F727E09C534D0DBC93EA4A57BBFB778A /* Pods-TWPullUpView_Example-umbrella.h */, 215 | 95BF7C070ADFE268E006212AC7A24BE8 /* Pods-TWPullUpView_Example.debug.xcconfig */, 216 | 3B9C469980FEF58CCE9C68F653F703D5 /* Pods-TWPullUpView_Example.release.xcconfig */, 217 | ); 218 | name = "Pods-TWPullUpView_Example"; 219 | path = "Target Support Files/Pods-TWPullUpView_Example"; 220 | sourceTree = ""; 221 | }; 222 | FECA4AEFBA79CD6925EDA997C6EB81A9 /* Support Files */ = { 223 | isa = PBXGroup; 224 | children = ( 225 | 3471FC9065D922B4788D5B94C3A9F616 /* TWPullUpView.modulemap */, 226 | 4DAF547AB29199F4EB6D6FE12912ED4F /* TWPullUpView-dummy.m */, 227 | B49121F11C3C751290AC7C67A9C6D7FA /* TWPullUpView-Info.plist */, 228 | A827FCC4442D96114D8D4AE530E07C5A /* TWPullUpView-prefix.pch */, 229 | F349548C1A7AB46FFA7D6B3D05A2901A /* TWPullUpView-umbrella.h */, 230 | E918649BB8286F6957F036CCE93BAA60 /* TWPullUpView.debug.xcconfig */, 231 | 6A621E00E5E5F62D464127C9E9CA9322 /* TWPullUpView.release.xcconfig */, 232 | ); 233 | name = "Support Files"; 234 | path = "Example/Pods/Target Support Files/TWPullUpView"; 235 | sourceTree = ""; 236 | }; 237 | /* End PBXGroup section */ 238 | 239 | /* Begin PBXHeadersBuildPhase section */ 240 | 2546EAC2FEB57C408D66963C3F3082A3 /* Headers */ = { 241 | isa = PBXHeadersBuildPhase; 242 | buildActionMask = 2147483647; 243 | files = ( 244 | 97AD195BC5B71F616CC9F1D0AF9B881C /* Pods-TWPullUpView_Tests-umbrella.h in Headers */, 245 | ); 246 | runOnlyForDeploymentPostprocessing = 0; 247 | }; 248 | 57CCB74E5A47876D735F03129DB80AE0 /* Headers */ = { 249 | isa = PBXHeadersBuildPhase; 250 | buildActionMask = 2147483647; 251 | files = ( 252 | 59D68506811F0B8CAE1A6D71444B661B /* TWPullUpView-umbrella.h in Headers */, 253 | ); 254 | runOnlyForDeploymentPostprocessing = 0; 255 | }; 256 | 59CA9BB8EF5AEF75521F41F2B40C84D2 /* Headers */ = { 257 | isa = PBXHeadersBuildPhase; 258 | buildActionMask = 2147483647; 259 | files = ( 260 | A0C14DA664A53D085C6DCB0BF6166B0D /* Pods-TWPullUpView_Example-umbrella.h in Headers */, 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | /* End PBXHeadersBuildPhase section */ 265 | 266 | /* Begin PBXNativeTarget section */ 267 | 3EC9A00507B7CDA229DFEB2CC547FF67 /* TWPullUpView */ = { 268 | isa = PBXNativeTarget; 269 | buildConfigurationList = 0207049B75C0A39F0E02565F83466D64 /* Build configuration list for PBXNativeTarget "TWPullUpView" */; 270 | buildPhases = ( 271 | 57CCB74E5A47876D735F03129DB80AE0 /* Headers */, 272 | 46B3102D323F7738F5844682E5FF9269 /* Sources */, 273 | C62ACD9263C01D02D4ED6168B45D6551 /* Frameworks */, 274 | 3FE7B0E6DA098CDD612BEBF227F471ED /* Resources */, 275 | ); 276 | buildRules = ( 277 | ); 278 | dependencies = ( 279 | ); 280 | name = TWPullUpView; 281 | productName = TWPullUpView; 282 | productReference = 24E93E9B38A271FD8A3C2D29C6DED790 /* TWPullUpView.framework */; 283 | productType = "com.apple.product-type.framework"; 284 | }; 285 | B94C4095C5304199C156F3549C7344C8 /* Pods-TWPullUpView_Example */ = { 286 | isa = PBXNativeTarget; 287 | buildConfigurationList = C8B67F07541550E9F2E392B4B1D51F29 /* Build configuration list for PBXNativeTarget "Pods-TWPullUpView_Example" */; 288 | buildPhases = ( 289 | 59CA9BB8EF5AEF75521F41F2B40C84D2 /* Headers */, 290 | 8D0894DB6D48F86FB366763A4AC5E118 /* Sources */, 291 | 01EB5EEC35C13DE2FC29B50AA0391FB4 /* Frameworks */, 292 | 3979D69AB1C9A276995D6AB74C6D43B1 /* Resources */, 293 | ); 294 | buildRules = ( 295 | ); 296 | dependencies = ( 297 | 66B3C877B489024E399953887A00E66E /* PBXTargetDependency */, 298 | ); 299 | name = "Pods-TWPullUpView_Example"; 300 | productName = "Pods-TWPullUpView_Example"; 301 | productReference = 839019D477F4503CE7DF2409EA974CF8 /* Pods_TWPullUpView_Example.framework */; 302 | productType = "com.apple.product-type.framework"; 303 | }; 304 | CBF09B75C6E81B24D53D19E6359AE535 /* Pods-TWPullUpView_Tests */ = { 305 | isa = PBXNativeTarget; 306 | buildConfigurationList = D972EDA7E10A83F86BE3B875A1EB047E /* Build configuration list for PBXNativeTarget "Pods-TWPullUpView_Tests" */; 307 | buildPhases = ( 308 | 2546EAC2FEB57C408D66963C3F3082A3 /* Headers */, 309 | 51B2BFB65F02A1E93C595445DFF6F8E4 /* Sources */, 310 | 7FF8F727E26C389D415FE5A94AE03B71 /* Frameworks */, 311 | 10A21F59269577FF69CAD146308449C1 /* Resources */, 312 | ); 313 | buildRules = ( 314 | ); 315 | dependencies = ( 316 | 93C81358AEDB2DB3A946116F74606054 /* PBXTargetDependency */, 317 | ); 318 | name = "Pods-TWPullUpView_Tests"; 319 | productName = "Pods-TWPullUpView_Tests"; 320 | productReference = 1882B0CA6C95C1F0C9E9A76EF619AE08 /* Pods_TWPullUpView_Tests.framework */; 321 | productType = "com.apple.product-type.framework"; 322 | }; 323 | /* End PBXNativeTarget section */ 324 | 325 | /* Begin PBXProject section */ 326 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 327 | isa = PBXProject; 328 | attributes = { 329 | LastSwiftUpdateCheck = 1100; 330 | LastUpgradeCheck = 1100; 331 | TargetAttributes = { 332 | 3EC9A00507B7CDA229DFEB2CC547FF67 = { 333 | LastSwiftMigration = 1240; 334 | }; 335 | }; 336 | }; 337 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 338 | compatibilityVersion = "Xcode 3.2"; 339 | developmentRegion = en; 340 | hasScannedForEncodings = 0; 341 | knownRegions = ( 342 | en, 343 | Base, 344 | ); 345 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 346 | productRefGroup = 2E46B7B5D9131099026822689CD0CBBC /* Products */; 347 | projectDirPath = ""; 348 | projectRoot = ""; 349 | targets = ( 350 | B94C4095C5304199C156F3549C7344C8 /* Pods-TWPullUpView_Example */, 351 | CBF09B75C6E81B24D53D19E6359AE535 /* Pods-TWPullUpView_Tests */, 352 | 3EC9A00507B7CDA229DFEB2CC547FF67 /* TWPullUpView */, 353 | ); 354 | }; 355 | /* End PBXProject section */ 356 | 357 | /* Begin PBXResourcesBuildPhase section */ 358 | 10A21F59269577FF69CAD146308449C1 /* Resources */ = { 359 | isa = PBXResourcesBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | }; 365 | 3979D69AB1C9A276995D6AB74C6D43B1 /* Resources */ = { 366 | isa = PBXResourcesBuildPhase; 367 | buildActionMask = 2147483647; 368 | files = ( 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | }; 372 | 3FE7B0E6DA098CDD612BEBF227F471ED /* Resources */ = { 373 | isa = PBXResourcesBuildPhase; 374 | buildActionMask = 2147483647; 375 | files = ( 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | /* End PBXResourcesBuildPhase section */ 380 | 381 | /* Begin PBXSourcesBuildPhase section */ 382 | 46B3102D323F7738F5844682E5FF9269 /* Sources */ = { 383 | isa = PBXSourcesBuildPhase; 384 | buildActionMask = 2147483647; 385 | files = ( 386 | 77D4CE7D4B932BFFB5D41617D9865766 /* TWPullUpView-dummy.m in Sources */, 387 | 572B8672261214000087A22D /* TWPullUpOption.swift in Sources */, 388 | 572B8670261214000087A22D /* TWPullUpViewController.swift in Sources */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | 51B2BFB65F02A1E93C595445DFF6F8E4 /* Sources */ = { 393 | isa = PBXSourcesBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | 5314EC3AB4DE1C3EB256F88B37C463AE /* Pods-TWPullUpView_Tests-dummy.m in Sources */, 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | }; 400 | 8D0894DB6D48F86FB366763A4AC5E118 /* Sources */ = { 401 | isa = PBXSourcesBuildPhase; 402 | buildActionMask = 2147483647; 403 | files = ( 404 | EBADCBCD777A8966CD492AED9D4F9E84 /* Pods-TWPullUpView_Example-dummy.m in Sources */, 405 | ); 406 | runOnlyForDeploymentPostprocessing = 0; 407 | }; 408 | /* End PBXSourcesBuildPhase section */ 409 | 410 | /* Begin PBXTargetDependency section */ 411 | 66B3C877B489024E399953887A00E66E /* PBXTargetDependency */ = { 412 | isa = PBXTargetDependency; 413 | name = TWPullUpView; 414 | target = 3EC9A00507B7CDA229DFEB2CC547FF67 /* TWPullUpView */; 415 | targetProxy = 848088B8F16741D35512B565F71192DF /* PBXContainerItemProxy */; 416 | }; 417 | 93C81358AEDB2DB3A946116F74606054 /* PBXTargetDependency */ = { 418 | isa = PBXTargetDependency; 419 | name = "Pods-TWPullUpView_Example"; 420 | target = B94C4095C5304199C156F3549C7344C8 /* Pods-TWPullUpView_Example */; 421 | targetProxy = 1C503E67F18DE99801C1BACDC36ADE9A /* PBXContainerItemProxy */; 422 | }; 423 | /* End PBXTargetDependency section */ 424 | 425 | /* Begin XCBuildConfiguration section */ 426 | 25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */ = { 427 | isa = XCBuildConfiguration; 428 | buildSettings = { 429 | ALWAYS_SEARCH_USER_PATHS = NO; 430 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 431 | CLANG_ANALYZER_NONNULL = YES; 432 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 433 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 434 | CLANG_CXX_LIBRARY = "libc++"; 435 | CLANG_ENABLE_MODULES = YES; 436 | CLANG_ENABLE_OBJC_ARC = YES; 437 | CLANG_ENABLE_OBJC_WEAK = YES; 438 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 439 | CLANG_WARN_BOOL_CONVERSION = YES; 440 | CLANG_WARN_COMMA = YES; 441 | CLANG_WARN_CONSTANT_CONVERSION = YES; 442 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 443 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 444 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 445 | CLANG_WARN_EMPTY_BODY = YES; 446 | CLANG_WARN_ENUM_CONVERSION = YES; 447 | CLANG_WARN_INFINITE_RECURSION = YES; 448 | CLANG_WARN_INT_CONVERSION = YES; 449 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 450 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 451 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 452 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 453 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 454 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 455 | CLANG_WARN_STRICT_PROTOTYPES = YES; 456 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 457 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 458 | CLANG_WARN_UNREACHABLE_CODE = YES; 459 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 460 | COPY_PHASE_STRIP = NO; 461 | DEBUG_INFORMATION_FORMAT = dwarf; 462 | ENABLE_STRICT_OBJC_MSGSEND = YES; 463 | ENABLE_TESTABILITY = YES; 464 | GCC_C_LANGUAGE_STANDARD = gnu11; 465 | GCC_DYNAMIC_NO_PIC = NO; 466 | GCC_NO_COMMON_BLOCKS = YES; 467 | GCC_OPTIMIZATION_LEVEL = 0; 468 | GCC_PREPROCESSOR_DEFINITIONS = ( 469 | "POD_CONFIGURATION_DEBUG=1", 470 | "DEBUG=1", 471 | "$(inherited)", 472 | ); 473 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 474 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 475 | GCC_WARN_UNDECLARED_SELECTOR = YES; 476 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 477 | GCC_WARN_UNUSED_FUNCTION = YES; 478 | GCC_WARN_UNUSED_VARIABLE = YES; 479 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 480 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 481 | MTL_FAST_MATH = YES; 482 | ONLY_ACTIVE_ARCH = YES; 483 | PRODUCT_NAME = "$(TARGET_NAME)"; 484 | STRIP_INSTALLED_PRODUCT = NO; 485 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 486 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 487 | SWIFT_VERSION = 5.0; 488 | SYMROOT = "${SRCROOT}/../build"; 489 | }; 490 | name = Debug; 491 | }; 492 | 2BD673DF02860639A2D15F8DF7730E4F /* Release */ = { 493 | isa = XCBuildConfiguration; 494 | baseConfigurationReference = 815314088F2149C9E247B3D8527BDA12 /* Pods-TWPullUpView_Tests.release.xcconfig */; 495 | buildSettings = { 496 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 497 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 498 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 499 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 500 | CURRENT_PROJECT_VERSION = 1; 501 | DEFINES_MODULE = YES; 502 | DYLIB_COMPATIBILITY_VERSION = 1; 503 | DYLIB_CURRENT_VERSION = 1; 504 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 505 | INFOPLIST_FILE = "Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests-Info.plist"; 506 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 507 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 508 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 509 | MACH_O_TYPE = staticlib; 510 | MODULEMAP_FILE = "Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests.modulemap"; 511 | OTHER_LDFLAGS = ""; 512 | OTHER_LIBTOOLFLAGS = ""; 513 | PODS_ROOT = "$(SRCROOT)"; 514 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 515 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 516 | SDKROOT = iphoneos; 517 | SKIP_INSTALL = YES; 518 | TARGETED_DEVICE_FAMILY = "1,2"; 519 | VALIDATE_PRODUCT = YES; 520 | VERSIONING_SYSTEM = "apple-generic"; 521 | VERSION_INFO_PREFIX = ""; 522 | }; 523 | name = Release; 524 | }; 525 | 50E5916855B165894BE4F102A4AD50A6 /* Release */ = { 526 | isa = XCBuildConfiguration; 527 | baseConfigurationReference = 6A621E00E5E5F62D464127C9E9CA9322 /* TWPullUpView.release.xcconfig */; 528 | buildSettings = { 529 | CLANG_ENABLE_MODULES = YES; 530 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 531 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 532 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 533 | CURRENT_PROJECT_VERSION = 1; 534 | DEFINES_MODULE = YES; 535 | DYLIB_COMPATIBILITY_VERSION = 1; 536 | DYLIB_CURRENT_VERSION = 1; 537 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 538 | GCC_PREFIX_HEADER = "Target Support Files/TWPullUpView/TWPullUpView-prefix.pch"; 539 | INFOPLIST_FILE = "Target Support Files/TWPullUpView/TWPullUpView-Info.plist"; 540 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 541 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 542 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 543 | MARKETING_VERSION = 0.1.1; 544 | MODULEMAP_FILE = "Target Support Files/TWPullUpView/TWPullUpView.modulemap"; 545 | PRODUCT_MODULE_NAME = TWPullUpView; 546 | PRODUCT_NAME = TWPullUpView; 547 | SDKROOT = iphoneos; 548 | SKIP_INSTALL = YES; 549 | SUPPORTS_MACCATALYST = NO; 550 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 551 | SWIFT_VERSION = 5.0; 552 | TARGETED_DEVICE_FAMILY = 1; 553 | VALIDATE_PRODUCT = YES; 554 | VERSIONING_SYSTEM = "apple-generic"; 555 | VERSION_INFO_PREFIX = ""; 556 | }; 557 | name = Release; 558 | }; 559 | 67E307550DABE05F4E9771D43FDB5A61 /* Debug */ = { 560 | isa = XCBuildConfiguration; 561 | baseConfigurationReference = E909ACA3CA3F38E13E02BD410D668E29 /* Pods-TWPullUpView_Tests.debug.xcconfig */; 562 | buildSettings = { 563 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 564 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 565 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 566 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 567 | CURRENT_PROJECT_VERSION = 1; 568 | DEFINES_MODULE = YES; 569 | DYLIB_COMPATIBILITY_VERSION = 1; 570 | DYLIB_CURRENT_VERSION = 1; 571 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 572 | INFOPLIST_FILE = "Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests-Info.plist"; 573 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 574 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 575 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 576 | MACH_O_TYPE = staticlib; 577 | MODULEMAP_FILE = "Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests.modulemap"; 578 | OTHER_LDFLAGS = ""; 579 | OTHER_LIBTOOLFLAGS = ""; 580 | PODS_ROOT = "$(SRCROOT)"; 581 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 582 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 583 | SDKROOT = iphoneos; 584 | SKIP_INSTALL = YES; 585 | TARGETED_DEVICE_FAMILY = "1,2"; 586 | VERSIONING_SYSTEM = "apple-generic"; 587 | VERSION_INFO_PREFIX = ""; 588 | }; 589 | name = Debug; 590 | }; 591 | 92B784A1346456E9EE547CCFFD8E770C /* Debug */ = { 592 | isa = XCBuildConfiguration; 593 | baseConfigurationReference = 95BF7C070ADFE268E006212AC7A24BE8 /* Pods-TWPullUpView_Example.debug.xcconfig */; 594 | buildSettings = { 595 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 596 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 597 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 598 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 599 | CURRENT_PROJECT_VERSION = 1; 600 | DEFINES_MODULE = YES; 601 | DYLIB_COMPATIBILITY_VERSION = 1; 602 | DYLIB_CURRENT_VERSION = 1; 603 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 604 | INFOPLIST_FILE = "Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example-Info.plist"; 605 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 606 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 607 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 608 | MACH_O_TYPE = staticlib; 609 | MODULEMAP_FILE = "Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example.modulemap"; 610 | OTHER_LDFLAGS = ""; 611 | OTHER_LIBTOOLFLAGS = ""; 612 | PODS_ROOT = "$(SRCROOT)"; 613 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 614 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 615 | SDKROOT = iphoneos; 616 | SKIP_INSTALL = YES; 617 | TARGETED_DEVICE_FAMILY = "1,2"; 618 | VERSIONING_SYSTEM = "apple-generic"; 619 | VERSION_INFO_PREFIX = ""; 620 | }; 621 | name = Debug; 622 | }; 623 | BDC7048166E1E68A32F66A0C0DC1DBC1 /* Release */ = { 624 | isa = XCBuildConfiguration; 625 | baseConfigurationReference = 3B9C469980FEF58CCE9C68F653F703D5 /* Pods-TWPullUpView_Example.release.xcconfig */; 626 | buildSettings = { 627 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 628 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 629 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 630 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 631 | CURRENT_PROJECT_VERSION = 1; 632 | DEFINES_MODULE = YES; 633 | DYLIB_COMPATIBILITY_VERSION = 1; 634 | DYLIB_CURRENT_VERSION = 1; 635 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 636 | INFOPLIST_FILE = "Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example-Info.plist"; 637 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 638 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 639 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 640 | MACH_O_TYPE = staticlib; 641 | MODULEMAP_FILE = "Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example.modulemap"; 642 | OTHER_LDFLAGS = ""; 643 | OTHER_LIBTOOLFLAGS = ""; 644 | PODS_ROOT = "$(SRCROOT)"; 645 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 646 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 647 | SDKROOT = iphoneos; 648 | SKIP_INSTALL = YES; 649 | TARGETED_DEVICE_FAMILY = "1,2"; 650 | VALIDATE_PRODUCT = YES; 651 | VERSIONING_SYSTEM = "apple-generic"; 652 | VERSION_INFO_PREFIX = ""; 653 | }; 654 | name = Release; 655 | }; 656 | CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */ = { 657 | isa = XCBuildConfiguration; 658 | buildSettings = { 659 | ALWAYS_SEARCH_USER_PATHS = NO; 660 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 661 | CLANG_ANALYZER_NONNULL = YES; 662 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 663 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 664 | CLANG_CXX_LIBRARY = "libc++"; 665 | CLANG_ENABLE_MODULES = YES; 666 | CLANG_ENABLE_OBJC_ARC = YES; 667 | CLANG_ENABLE_OBJC_WEAK = YES; 668 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 669 | CLANG_WARN_BOOL_CONVERSION = YES; 670 | CLANG_WARN_COMMA = YES; 671 | CLANG_WARN_CONSTANT_CONVERSION = YES; 672 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 673 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 674 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 675 | CLANG_WARN_EMPTY_BODY = YES; 676 | CLANG_WARN_ENUM_CONVERSION = YES; 677 | CLANG_WARN_INFINITE_RECURSION = YES; 678 | CLANG_WARN_INT_CONVERSION = YES; 679 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 680 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 681 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 682 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 683 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 684 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 685 | CLANG_WARN_STRICT_PROTOTYPES = YES; 686 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 687 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 688 | CLANG_WARN_UNREACHABLE_CODE = YES; 689 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 690 | COPY_PHASE_STRIP = NO; 691 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 692 | ENABLE_NS_ASSERTIONS = NO; 693 | ENABLE_STRICT_OBJC_MSGSEND = YES; 694 | GCC_C_LANGUAGE_STANDARD = gnu11; 695 | GCC_NO_COMMON_BLOCKS = YES; 696 | GCC_PREPROCESSOR_DEFINITIONS = ( 697 | "POD_CONFIGURATION_RELEASE=1", 698 | "$(inherited)", 699 | ); 700 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 701 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 702 | GCC_WARN_UNDECLARED_SELECTOR = YES; 703 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 704 | GCC_WARN_UNUSED_FUNCTION = YES; 705 | GCC_WARN_UNUSED_VARIABLE = YES; 706 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 707 | MTL_ENABLE_DEBUG_INFO = NO; 708 | MTL_FAST_MATH = YES; 709 | PRODUCT_NAME = "$(TARGET_NAME)"; 710 | STRIP_INSTALLED_PRODUCT = NO; 711 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 712 | SWIFT_VERSION = 5.0; 713 | SYMROOT = "${SRCROOT}/../build"; 714 | }; 715 | name = Release; 716 | }; 717 | FAE18C32C315629C8EB0B3CFC7F6D446 /* Debug */ = { 718 | isa = XCBuildConfiguration; 719 | baseConfigurationReference = E918649BB8286F6957F036CCE93BAA60 /* TWPullUpView.debug.xcconfig */; 720 | buildSettings = { 721 | CLANG_ENABLE_MODULES = YES; 722 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 723 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 724 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 725 | CURRENT_PROJECT_VERSION = 1; 726 | DEFINES_MODULE = YES; 727 | DYLIB_COMPATIBILITY_VERSION = 1; 728 | DYLIB_CURRENT_VERSION = 1; 729 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 730 | GCC_PREFIX_HEADER = "Target Support Files/TWPullUpView/TWPullUpView-prefix.pch"; 731 | INFOPLIST_FILE = "Target Support Files/TWPullUpView/TWPullUpView-Info.plist"; 732 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 733 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 734 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 735 | MARKETING_VERSION = 0.1.1; 736 | MODULEMAP_FILE = "Target Support Files/TWPullUpView/TWPullUpView.modulemap"; 737 | PRODUCT_MODULE_NAME = TWPullUpView; 738 | PRODUCT_NAME = TWPullUpView; 739 | SDKROOT = iphoneos; 740 | SKIP_INSTALL = YES; 741 | SUPPORTS_MACCATALYST = NO; 742 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 743 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 744 | SWIFT_VERSION = 5.0; 745 | TARGETED_DEVICE_FAMILY = 1; 746 | VERSIONING_SYSTEM = "apple-generic"; 747 | VERSION_INFO_PREFIX = ""; 748 | }; 749 | name = Debug; 750 | }; 751 | /* End XCBuildConfiguration section */ 752 | 753 | /* Begin XCConfigurationList section */ 754 | 0207049B75C0A39F0E02565F83466D64 /* Build configuration list for PBXNativeTarget "TWPullUpView" */ = { 755 | isa = XCConfigurationList; 756 | buildConfigurations = ( 757 | FAE18C32C315629C8EB0B3CFC7F6D446 /* Debug */, 758 | 50E5916855B165894BE4F102A4AD50A6 /* Release */, 759 | ); 760 | defaultConfigurationIsVisible = 0; 761 | defaultConfigurationName = Release; 762 | }; 763 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 764 | isa = XCConfigurationList; 765 | buildConfigurations = ( 766 | 25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */, 767 | CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */, 768 | ); 769 | defaultConfigurationIsVisible = 0; 770 | defaultConfigurationName = Release; 771 | }; 772 | C8B67F07541550E9F2E392B4B1D51F29 /* Build configuration list for PBXNativeTarget "Pods-TWPullUpView_Example" */ = { 773 | isa = XCConfigurationList; 774 | buildConfigurations = ( 775 | 92B784A1346456E9EE547CCFFD8E770C /* Debug */, 776 | BDC7048166E1E68A32F66A0C0DC1DBC1 /* Release */, 777 | ); 778 | defaultConfigurationIsVisible = 0; 779 | defaultConfigurationName = Release; 780 | }; 781 | D972EDA7E10A83F86BE3B875A1EB047E /* Build configuration list for PBXNativeTarget "Pods-TWPullUpView_Tests" */ = { 782 | isa = XCConfigurationList; 783 | buildConfigurations = ( 784 | 67E307550DABE05F4E9771D43FDB5A61 /* Debug */, 785 | 2BD673DF02860639A2D15F8DF7730E4F /* Release */, 786 | ); 787 | defaultConfigurationIsVisible = 0; 788 | defaultConfigurationName = Release; 789 | }; 790 | /* End XCConfigurationList section */ 791 | }; 792 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 793 | } 794 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_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-TWPullUpView_Example/Pods-TWPullUpView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## TWPullUpView 5 | 6 | Copyright (c) 2021 Jeehoon Son 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/Pods/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_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) 2021 Jeehoon Son <tigerjs94@naver.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 | License 38 | MIT 39 | Title 40 | TWPullUpView 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TWPullUpView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TWPullUpView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | BCSYMBOLMAP_DIR="BCSymbolMaps" 23 | 24 | 25 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 26 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 27 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 28 | 29 | # Copies and strips a vendored framework 30 | install_framework() 31 | { 32 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 33 | local source="${BUILT_PRODUCTS_DIR}/$1" 34 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 35 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 36 | elif [ -r "$1" ]; then 37 | local source="$1" 38 | fi 39 | 40 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 41 | 42 | if [ -L "${source}" ]; then 43 | echo "Symlinked..." 44 | source="$(readlink "${source}")" 45 | fi 46 | 47 | if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then 48 | # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied 49 | find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do 50 | echo "Installing $f" 51 | install_bcsymbolmap "$f" "$destination" 52 | rm "$f" 53 | done 54 | rmdir "${source}/${BCSYMBOLMAP_DIR}" 55 | fi 56 | 57 | # Use filter instead of exclude so missing patterns don't throw errors. 58 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 59 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 60 | 61 | local basename 62 | basename="$(basename -s .framework "$1")" 63 | binary="${destination}/${basename}.framework/${basename}" 64 | 65 | if ! [ -r "$binary" ]; then 66 | binary="${destination}/${basename}" 67 | elif [ -L "${binary}" ]; then 68 | echo "Destination binary is symlinked..." 69 | dirname="$(dirname "${binary}")" 70 | binary="${dirname}/$(readlink "${binary}")" 71 | fi 72 | 73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 74 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 75 | strip_invalid_archs "$binary" 76 | fi 77 | 78 | # Resign the code if required by the build settings to avoid unstable apps 79 | code_sign_if_enabled "${destination}/$(basename "$1")" 80 | 81 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 82 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 83 | local swift_runtime_libs 84 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 85 | for lib in $swift_runtime_libs; do 86 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 87 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 88 | code_sign_if_enabled "${destination}/${lib}" 89 | done 90 | fi 91 | } 92 | # Copies and strips a vendored dSYM 93 | install_dsym() { 94 | local source="$1" 95 | warn_missing_arch=${2:-true} 96 | if [ -r "$source" ]; then 97 | # Copy the dSYM into the targets temp dir. 98 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 99 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 100 | 101 | local basename 102 | basename="$(basename -s .dSYM "$source")" 103 | binary_name="$(ls "$source/Contents/Resources/DWARF")" 104 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" 105 | 106 | # Strip invalid architectures from the dSYM. 107 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then 108 | strip_invalid_archs "$binary" "$warn_missing_arch" 109 | fi 110 | if [[ $STRIP_BINARY_RETVAL == 0 ]]; then 111 | # Move the stripped file into its final destination. 112 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 113 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 114 | else 115 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 116 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" 117 | fi 118 | fi 119 | } 120 | 121 | # Used as a return value for each invocation of `strip_invalid_archs` function. 122 | STRIP_BINARY_RETVAL=0 123 | 124 | # Strip invalid architectures 125 | strip_invalid_archs() { 126 | binary="$1" 127 | warn_missing_arch=${2:-true} 128 | # Get architectures for current target binary 129 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 130 | # Intersect them with the architectures we are building for 131 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 132 | # If there are no archs supported by this binary then warn the user 133 | if [[ -z "$intersected_archs" ]]; then 134 | if [[ "$warn_missing_arch" == "true" ]]; then 135 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 136 | fi 137 | STRIP_BINARY_RETVAL=1 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=0 152 | } 153 | 154 | # Copies the bcsymbolmap files of a vendored framework 155 | install_bcsymbolmap() { 156 | local bcsymbolmap_path="$1" 157 | local destination="${BUILT_PRODUCTS_DIR}" 158 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 159 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 160 | } 161 | 162 | # Signs a framework with the provided identity 163 | code_sign_if_enabled() { 164 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 165 | # Use the current code_sign_identity 166 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 167 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 168 | 169 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 170 | code_sign_cmd="$code_sign_cmd &" 171 | fi 172 | echo "$code_sign_cmd" 173 | eval "$code_sign_cmd" 174 | fi 175 | } 176 | 177 | if [[ "$CONFIGURATION" == "Debug" ]]; then 178 | install_framework "${BUILT_PRODUCTS_DIR}/TWPullUpView/TWPullUpView.framework" 179 | fi 180 | if [[ "$CONFIGURATION" == "Release" ]]; then 181 | install_framework "${BUILT_PRODUCTS_DIR}/TWPullUpView/TWPullUpView.framework" 182 | fi 183 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 184 | wait 185 | fi 186 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_TWPullUpView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_TWPullUpView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView/TWPullUpView.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "TWPullUpView" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_TWPullUpView_Example { 2 | umbrella header "Pods-TWPullUpView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView/TWPullUpView.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | OTHER_LDFLAGS = $(inherited) -framework "TWPullUpView" 8 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 9 | PODS_BUILD_DIR = ${BUILD_DIR} 10 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 11 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 12 | PODS_ROOT = ${SRCROOT}/Pods 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_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-TWPullUpView_Tests/Pods-TWPullUpView_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/Pods-TWPullUpView_Tests/Pods-TWPullUpView_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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TWPullUpView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TWPullUpView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_TWPullUpView_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_TWPullUpView_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView/TWPullUpView.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "TWPullUpView" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_TWPullUpView_Tests { 2 | umbrella header "Pods-TWPullUpView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView/TWPullUpView.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "TWPullUpView" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TWPullUpView/TWPullUpView-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 | $(MARKETING_VERSION) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TWPullUpView/TWPullUpView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_TWPullUpView : NSObject 3 | @end 4 | @implementation PodsDummy_TWPullUpView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TWPullUpView/TWPullUpView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TWPullUpView/TWPullUpView-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double TWPullUpViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char TWPullUpViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TWPullUpView/TWPullUpView.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 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 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TWPullUpView/TWPullUpView.modulemap: -------------------------------------------------------------------------------- 1 | framework module TWPullUpView { 2 | umbrella header "TWPullUpView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/TWPullUpView/TWPullUpView.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/TWPullUpView 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 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 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/TWPullUpView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0044D9998E6C2BF59DB1367C /* Pods_TWPullUpView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A80BAE3F30E8DF436C7BDC30 /* Pods_TWPullUpView_Tests.framework */; }; 11 | 27EF60383C6CAC18C1D8AD58 /* Pods_TWPullUpView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0EC6738EBBF0CF22B0B1D205 /* Pods_TWPullUpView_Example.framework */; }; 12 | 572B8682261214630087A22D /* TableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 572B867E261214630087A22D /* TableViewCell.swift */; }; 13 | 572B8683261214630087A22D /* MyPullUpViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 572B867F261214630087A22D /* MyPullUpViewController.swift */; }; 14 | 572B8684261214630087A22D /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 572B8680261214630087A22D /* ViewController.swift */; }; 15 | 572B8685261214630087A22D /* DummyData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 572B8681261214630087A22D /* DummyData.swift */; }; 16 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 17 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 18 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 19 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 20 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 29 | remoteInfo = TWPullUpView; 30 | }; 31 | /* End PBXContainerItemProxy section */ 32 | 33 | /* Begin PBXFileReference section */ 34 | 0A8C09EC236ACED4DE0F989E /* Pods-TWPullUpView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TWPullUpView_Example.release.xcconfig"; path = "Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example.release.xcconfig"; sourceTree = ""; }; 35 | 0EC6738EBBF0CF22B0B1D205 /* Pods_TWPullUpView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TWPullUpView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 2E5BB1AA90E73DB4AD20EEB8 /* Pods-TWPullUpView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TWPullUpView_Example.debug.xcconfig"; path = "Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example.debug.xcconfig"; sourceTree = ""; }; 37 | 3FBB9D38CE191A0553109F1D /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 38 | 4868533C9A0C6F4AFE7D9238 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 39 | 572B867E261214630087A22D /* TableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableViewCell.swift; sourceTree = ""; }; 40 | 572B867F261214630087A22D /* MyPullUpViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MyPullUpViewController.swift; sourceTree = ""; }; 41 | 572B8680261214630087A22D /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 42 | 572B8681261214630087A22D /* DummyData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DummyData.swift; sourceTree = ""; }; 43 | 607FACD01AFB9204008FA782 /* TWPullUpView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TWPullUpView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 46 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 47 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 48 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 49 | 607FACE51AFB9204008FA782 /* TWPullUpView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TWPullUpView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 52 | 9FAC43BEF609B2C54DC30BEE /* Pods-TWPullUpView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TWPullUpView_Tests.debug.xcconfig"; path = "Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests.debug.xcconfig"; sourceTree = ""; }; 53 | A80BAE3F30E8DF436C7BDC30 /* Pods_TWPullUpView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_TWPullUpView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | AE2F81C92C55B14286EB7826 /* TWPullUpView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = TWPullUpView.podspec; path = ../TWPullUpView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 55 | F3851112DD589C4BBE085458 /* Pods-TWPullUpView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TWPullUpView_Tests.release.xcconfig"; path = "Target Support Files/Pods-TWPullUpView_Tests/Pods-TWPullUpView_Tests.release.xcconfig"; sourceTree = ""; }; 56 | /* End PBXFileReference section */ 57 | 58 | /* Begin PBXFrameworksBuildPhase section */ 59 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | 27EF60383C6CAC18C1D8AD58 /* Pods_TWPullUpView_Example.framework in Frameworks */, 64 | ); 65 | runOnlyForDeploymentPostprocessing = 0; 66 | }; 67 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 68 | isa = PBXFrameworksBuildPhase; 69 | buildActionMask = 2147483647; 70 | files = ( 71 | 0044D9998E6C2BF59DB1367C /* Pods_TWPullUpView_Tests.framework in Frameworks */, 72 | ); 73 | runOnlyForDeploymentPostprocessing = 0; 74 | }; 75 | /* End PBXFrameworksBuildPhase section */ 76 | 77 | /* Begin PBXGroup section */ 78 | 56296127374F0DED36DCDB91 /* Pods */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 2E5BB1AA90E73DB4AD20EEB8 /* Pods-TWPullUpView_Example.debug.xcconfig */, 82 | 0A8C09EC236ACED4DE0F989E /* Pods-TWPullUpView_Example.release.xcconfig */, 83 | 9FAC43BEF609B2C54DC30BEE /* Pods-TWPullUpView_Tests.debug.xcconfig */, 84 | F3851112DD589C4BBE085458 /* Pods-TWPullUpView_Tests.release.xcconfig */, 85 | ); 86 | path = Pods; 87 | sourceTree = ""; 88 | }; 89 | 572B867D261214630087A22D /* Pull Up View */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | 572B867E261214630087A22D /* TableViewCell.swift */, 93 | 572B867F261214630087A22D /* MyPullUpViewController.swift */, 94 | ); 95 | path = "Pull Up View"; 96 | sourceTree = ""; 97 | }; 98 | 607FACC71AFB9204008FA782 = { 99 | isa = PBXGroup; 100 | children = ( 101 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 102 | 607FACD21AFB9204008FA782 /* Example for TWPullUpView */, 103 | 607FACE81AFB9204008FA782 /* Tests */, 104 | 607FACD11AFB9204008FA782 /* Products */, 105 | 56296127374F0DED36DCDB91 /* Pods */, 106 | F71D383D399B5E092C1B1FF8 /* Frameworks */, 107 | ); 108 | sourceTree = ""; 109 | }; 110 | 607FACD11AFB9204008FA782 /* Products */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 607FACD01AFB9204008FA782 /* TWPullUpView_Example.app */, 114 | 607FACE51AFB9204008FA782 /* TWPullUpView_Tests.xctest */, 115 | ); 116 | name = Products; 117 | sourceTree = ""; 118 | }; 119 | 607FACD21AFB9204008FA782 /* Example for TWPullUpView */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 572B8680261214630087A22D /* ViewController.swift */, 123 | 572B8681261214630087A22D /* DummyData.swift */, 124 | 572B867D261214630087A22D /* Pull Up View */, 125 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 126 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 127 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 128 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 129 | 607FACD31AFB9204008FA782 /* Supporting Files */, 130 | ); 131 | name = "Example for TWPullUpView"; 132 | path = TWPullUpView; 133 | sourceTree = ""; 134 | }; 135 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 607FACD41AFB9204008FA782 /* Info.plist */, 139 | ); 140 | name = "Supporting Files"; 141 | sourceTree = ""; 142 | }; 143 | 607FACE81AFB9204008FA782 /* Tests */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 147 | 607FACE91AFB9204008FA782 /* Supporting Files */, 148 | ); 149 | path = Tests; 150 | sourceTree = ""; 151 | }; 152 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | 607FACEA1AFB9204008FA782 /* Info.plist */, 156 | ); 157 | name = "Supporting Files"; 158 | sourceTree = ""; 159 | }; 160 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | AE2F81C92C55B14286EB7826 /* TWPullUpView.podspec */, 164 | 3FBB9D38CE191A0553109F1D /* README.md */, 165 | 4868533C9A0C6F4AFE7D9238 /* LICENSE */, 166 | ); 167 | name = "Podspec Metadata"; 168 | sourceTree = ""; 169 | }; 170 | F71D383D399B5E092C1B1FF8 /* Frameworks */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | 0EC6738EBBF0CF22B0B1D205 /* Pods_TWPullUpView_Example.framework */, 174 | A80BAE3F30E8DF436C7BDC30 /* Pods_TWPullUpView_Tests.framework */, 175 | ); 176 | name = Frameworks; 177 | sourceTree = ""; 178 | }; 179 | /* End PBXGroup section */ 180 | 181 | /* Begin PBXNativeTarget section */ 182 | 607FACCF1AFB9204008FA782 /* TWPullUpView_Example */ = { 183 | isa = PBXNativeTarget; 184 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TWPullUpView_Example" */; 185 | buildPhases = ( 186 | 0712C62AE1956A8F7663F0F3 /* [CP] Check Pods Manifest.lock */, 187 | 607FACCC1AFB9204008FA782 /* Sources */, 188 | 607FACCD1AFB9204008FA782 /* Frameworks */, 189 | 607FACCE1AFB9204008FA782 /* Resources */, 190 | E0B36B28C72F1DCA949995CF /* [CP] Embed Pods Frameworks */, 191 | ); 192 | buildRules = ( 193 | ); 194 | dependencies = ( 195 | ); 196 | name = TWPullUpView_Example; 197 | productName = TWPullUpView; 198 | productReference = 607FACD01AFB9204008FA782 /* TWPullUpView_Example.app */; 199 | productType = "com.apple.product-type.application"; 200 | }; 201 | 607FACE41AFB9204008FA782 /* TWPullUpView_Tests */ = { 202 | isa = PBXNativeTarget; 203 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TWPullUpView_Tests" */; 204 | buildPhases = ( 205 | D30CCF974DC03F04DACB7CF1 /* [CP] Check Pods Manifest.lock */, 206 | 607FACE11AFB9204008FA782 /* Sources */, 207 | 607FACE21AFB9204008FA782 /* Frameworks */, 208 | 607FACE31AFB9204008FA782 /* Resources */, 209 | ); 210 | buildRules = ( 211 | ); 212 | dependencies = ( 213 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 214 | ); 215 | name = TWPullUpView_Tests; 216 | productName = Tests; 217 | productReference = 607FACE51AFB9204008FA782 /* TWPullUpView_Tests.xctest */; 218 | productType = "com.apple.product-type.bundle.unit-test"; 219 | }; 220 | /* End PBXNativeTarget section */ 221 | 222 | /* Begin PBXProject section */ 223 | 607FACC81AFB9204008FA782 /* Project object */ = { 224 | isa = PBXProject; 225 | attributes = { 226 | LastSwiftUpdateCheck = 0830; 227 | LastUpgradeCheck = 0830; 228 | ORGANIZATIONNAME = CocoaPods; 229 | TargetAttributes = { 230 | 607FACCF1AFB9204008FA782 = { 231 | CreatedOnToolsVersion = 6.3.1; 232 | DevelopmentTeam = T37K32BFN5; 233 | LastSwiftMigration = 0900; 234 | }; 235 | 607FACE41AFB9204008FA782 = { 236 | CreatedOnToolsVersion = 6.3.1; 237 | DevelopmentTeam = T37K32BFN5; 238 | LastSwiftMigration = 0900; 239 | TestTargetID = 607FACCF1AFB9204008FA782; 240 | }; 241 | }; 242 | }; 243 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "TWPullUpView" */; 244 | compatibilityVersion = "Xcode 3.2"; 245 | developmentRegion = English; 246 | hasScannedForEncodings = 0; 247 | knownRegions = ( 248 | English, 249 | en, 250 | Base, 251 | ); 252 | mainGroup = 607FACC71AFB9204008FA782; 253 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 254 | projectDirPath = ""; 255 | projectRoot = ""; 256 | targets = ( 257 | 607FACCF1AFB9204008FA782 /* TWPullUpView_Example */, 258 | 607FACE41AFB9204008FA782 /* TWPullUpView_Tests */, 259 | ); 260 | }; 261 | /* End PBXProject section */ 262 | 263 | /* Begin PBXResourcesBuildPhase section */ 264 | 607FACCE1AFB9204008FA782 /* Resources */ = { 265 | isa = PBXResourcesBuildPhase; 266 | buildActionMask = 2147483647; 267 | files = ( 268 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 269 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 270 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 271 | ); 272 | runOnlyForDeploymentPostprocessing = 0; 273 | }; 274 | 607FACE31AFB9204008FA782 /* Resources */ = { 275 | isa = PBXResourcesBuildPhase; 276 | buildActionMask = 2147483647; 277 | files = ( 278 | ); 279 | runOnlyForDeploymentPostprocessing = 0; 280 | }; 281 | /* End PBXResourcesBuildPhase section */ 282 | 283 | /* Begin PBXShellScriptBuildPhase section */ 284 | 0712C62AE1956A8F7663F0F3 /* [CP] Check Pods Manifest.lock */ = { 285 | isa = PBXShellScriptBuildPhase; 286 | buildActionMask = 2147483647; 287 | files = ( 288 | ); 289 | inputFileListPaths = ( 290 | ); 291 | inputPaths = ( 292 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 293 | "${PODS_ROOT}/Manifest.lock", 294 | ); 295 | name = "[CP] Check Pods Manifest.lock"; 296 | outputFileListPaths = ( 297 | ); 298 | outputPaths = ( 299 | "$(DERIVED_FILE_DIR)/Pods-TWPullUpView_Example-checkManifestLockResult.txt", 300 | ); 301 | runOnlyForDeploymentPostprocessing = 0; 302 | shellPath = /bin/sh; 303 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 304 | showEnvVarsInLog = 0; 305 | }; 306 | D30CCF974DC03F04DACB7CF1 /* [CP] Check Pods Manifest.lock */ = { 307 | isa = PBXShellScriptBuildPhase; 308 | buildActionMask = 2147483647; 309 | files = ( 310 | ); 311 | inputFileListPaths = ( 312 | ); 313 | inputPaths = ( 314 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 315 | "${PODS_ROOT}/Manifest.lock", 316 | ); 317 | name = "[CP] Check Pods Manifest.lock"; 318 | outputFileListPaths = ( 319 | ); 320 | outputPaths = ( 321 | "$(DERIVED_FILE_DIR)/Pods-TWPullUpView_Tests-checkManifestLockResult.txt", 322 | ); 323 | runOnlyForDeploymentPostprocessing = 0; 324 | shellPath = /bin/sh; 325 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 326 | showEnvVarsInLog = 0; 327 | }; 328 | E0B36B28C72F1DCA949995CF /* [CP] Embed Pods Frameworks */ = { 329 | isa = PBXShellScriptBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | ); 333 | inputPaths = ( 334 | "${PODS_ROOT}/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example-frameworks.sh", 335 | "${BUILT_PRODUCTS_DIR}/TWPullUpView/TWPullUpView.framework", 336 | ); 337 | name = "[CP] Embed Pods Frameworks"; 338 | outputPaths = ( 339 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/TWPullUpView.framework", 340 | ); 341 | runOnlyForDeploymentPostprocessing = 0; 342 | shellPath = /bin/sh; 343 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-TWPullUpView_Example/Pods-TWPullUpView_Example-frameworks.sh\"\n"; 344 | showEnvVarsInLog = 0; 345 | }; 346 | /* End PBXShellScriptBuildPhase section */ 347 | 348 | /* Begin PBXSourcesBuildPhase section */ 349 | 607FACCC1AFB9204008FA782 /* Sources */ = { 350 | isa = PBXSourcesBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 354 | 572B8682261214630087A22D /* TableViewCell.swift in Sources */, 355 | 572B8684261214630087A22D /* ViewController.swift in Sources */, 356 | 572B8685261214630087A22D /* DummyData.swift in Sources */, 357 | 572B8683261214630087A22D /* MyPullUpViewController.swift in Sources */, 358 | ); 359 | runOnlyForDeploymentPostprocessing = 0; 360 | }; 361 | 607FACE11AFB9204008FA782 /* Sources */ = { 362 | isa = PBXSourcesBuildPhase; 363 | buildActionMask = 2147483647; 364 | files = ( 365 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | /* End PBXSourcesBuildPhase section */ 370 | 371 | /* Begin PBXTargetDependency section */ 372 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 373 | isa = PBXTargetDependency; 374 | target = 607FACCF1AFB9204008FA782 /* TWPullUpView_Example */; 375 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 376 | }; 377 | /* End PBXTargetDependency section */ 378 | 379 | /* Begin PBXVariantGroup section */ 380 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 381 | isa = PBXVariantGroup; 382 | children = ( 383 | 607FACDA1AFB9204008FA782 /* Base */, 384 | ); 385 | name = Main.storyboard; 386 | sourceTree = ""; 387 | }; 388 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 389 | isa = PBXVariantGroup; 390 | children = ( 391 | 607FACDF1AFB9204008FA782 /* Base */, 392 | ); 393 | name = LaunchScreen.xib; 394 | sourceTree = ""; 395 | }; 396 | /* End PBXVariantGroup section */ 397 | 398 | /* Begin XCBuildConfiguration section */ 399 | 607FACED1AFB9204008FA782 /* Debug */ = { 400 | isa = XCBuildConfiguration; 401 | buildSettings = { 402 | ALWAYS_SEARCH_USER_PATHS = NO; 403 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 404 | CLANG_CXX_LIBRARY = "libc++"; 405 | CLANG_ENABLE_MODULES = YES; 406 | CLANG_ENABLE_OBJC_ARC = YES; 407 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 408 | CLANG_WARN_BOOL_CONVERSION = YES; 409 | CLANG_WARN_COMMA = YES; 410 | CLANG_WARN_CONSTANT_CONVERSION = YES; 411 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 412 | CLANG_WARN_EMPTY_BODY = YES; 413 | CLANG_WARN_ENUM_CONVERSION = YES; 414 | CLANG_WARN_INFINITE_RECURSION = YES; 415 | CLANG_WARN_INT_CONVERSION = YES; 416 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 417 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 418 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 419 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 420 | CLANG_WARN_STRICT_PROTOTYPES = YES; 421 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 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 = 11.0; 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_BLOCK_CAPTURE_AUTORELEASING = YES; 461 | CLANG_WARN_BOOL_CONVERSION = YES; 462 | CLANG_WARN_COMMA = YES; 463 | CLANG_WARN_CONSTANT_CONVERSION = YES; 464 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 465 | CLANG_WARN_EMPTY_BODY = YES; 466 | CLANG_WARN_ENUM_CONVERSION = YES; 467 | CLANG_WARN_INFINITE_RECURSION = YES; 468 | CLANG_WARN_INT_CONVERSION = YES; 469 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 470 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 471 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 472 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 473 | CLANG_WARN_STRICT_PROTOTYPES = YES; 474 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 475 | CLANG_WARN_UNREACHABLE_CODE = YES; 476 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 477 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 478 | COPY_PHASE_STRIP = NO; 479 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 480 | ENABLE_NS_ASSERTIONS = NO; 481 | ENABLE_STRICT_OBJC_MSGSEND = YES; 482 | GCC_C_LANGUAGE_STANDARD = gnu99; 483 | GCC_NO_COMMON_BLOCKS = YES; 484 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 485 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 486 | GCC_WARN_UNDECLARED_SELECTOR = YES; 487 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 488 | GCC_WARN_UNUSED_FUNCTION = YES; 489 | GCC_WARN_UNUSED_VARIABLE = YES; 490 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 491 | MTL_ENABLE_DEBUG_INFO = NO; 492 | SDKROOT = iphoneos; 493 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 494 | VALIDATE_PRODUCT = YES; 495 | }; 496 | name = Release; 497 | }; 498 | 607FACF01AFB9204008FA782 /* Debug */ = { 499 | isa = XCBuildConfiguration; 500 | baseConfigurationReference = 2E5BB1AA90E73DB4AD20EEB8 /* Pods-TWPullUpView_Example.debug.xcconfig */; 501 | buildSettings = { 502 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 503 | DEVELOPMENT_TEAM = T37K32BFN5; 504 | INFOPLIST_FILE = TWPullUpView/Info.plist; 505 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 506 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 507 | MODULE_NAME = ExampleApp; 508 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 509 | PRODUCT_NAME = "$(TARGET_NAME)"; 510 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 511 | SWIFT_VERSION = 4.0; 512 | }; 513 | name = Debug; 514 | }; 515 | 607FACF11AFB9204008FA782 /* Release */ = { 516 | isa = XCBuildConfiguration; 517 | baseConfigurationReference = 0A8C09EC236ACED4DE0F989E /* Pods-TWPullUpView_Example.release.xcconfig */; 518 | buildSettings = { 519 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 520 | DEVELOPMENT_TEAM = T37K32BFN5; 521 | INFOPLIST_FILE = TWPullUpView/Info.plist; 522 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 523 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 524 | MODULE_NAME = ExampleApp; 525 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 526 | PRODUCT_NAME = "$(TARGET_NAME)"; 527 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 528 | SWIFT_VERSION = 4.0; 529 | }; 530 | name = Release; 531 | }; 532 | 607FACF31AFB9204008FA782 /* Debug */ = { 533 | isa = XCBuildConfiguration; 534 | baseConfigurationReference = 9FAC43BEF609B2C54DC30BEE /* Pods-TWPullUpView_Tests.debug.xcconfig */; 535 | buildSettings = { 536 | DEVELOPMENT_TEAM = T37K32BFN5; 537 | FRAMEWORK_SEARCH_PATHS = ( 538 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 539 | "$(inherited)", 540 | ); 541 | GCC_PREPROCESSOR_DEFINITIONS = ( 542 | "DEBUG=1", 543 | "$(inherited)", 544 | ); 545 | INFOPLIST_FILE = Tests/Info.plist; 546 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 547 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 548 | PRODUCT_NAME = "$(TARGET_NAME)"; 549 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 550 | SWIFT_VERSION = 5.0; 551 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TWPullUpView_Example.app/TWPullUpView_Example"; 552 | }; 553 | name = Debug; 554 | }; 555 | 607FACF41AFB9204008FA782 /* Release */ = { 556 | isa = XCBuildConfiguration; 557 | baseConfigurationReference = F3851112DD589C4BBE085458 /* Pods-TWPullUpView_Tests.release.xcconfig */; 558 | buildSettings = { 559 | DEVELOPMENT_TEAM = T37K32BFN5; 560 | FRAMEWORK_SEARCH_PATHS = ( 561 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 562 | "$(inherited)", 563 | ); 564 | INFOPLIST_FILE = Tests/Info.plist; 565 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 566 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 567 | PRODUCT_NAME = "$(TARGET_NAME)"; 568 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 569 | SWIFT_VERSION = 5.0; 570 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TWPullUpView_Example.app/TWPullUpView_Example"; 571 | }; 572 | name = Release; 573 | }; 574 | /* End XCBuildConfiguration section */ 575 | 576 | /* Begin XCConfigurationList section */ 577 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "TWPullUpView" */ = { 578 | isa = XCConfigurationList; 579 | buildConfigurations = ( 580 | 607FACED1AFB9204008FA782 /* Debug */, 581 | 607FACEE1AFB9204008FA782 /* Release */, 582 | ); 583 | defaultConfigurationIsVisible = 0; 584 | defaultConfigurationName = Release; 585 | }; 586 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TWPullUpView_Example" */ = { 587 | isa = XCConfigurationList; 588 | buildConfigurations = ( 589 | 607FACF01AFB9204008FA782 /* Debug */, 590 | 607FACF11AFB9204008FA782 /* Release */, 591 | ); 592 | defaultConfigurationIsVisible = 0; 593 | defaultConfigurationName = Release; 594 | }; 595 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "TWPullUpView_Tests" */ = { 596 | isa = XCConfigurationList; 597 | buildConfigurations = ( 598 | 607FACF31AFB9204008FA782 /* Debug */, 599 | 607FACF41AFB9204008FA782 /* Release */, 600 | ); 601 | defaultConfigurationIsVisible = 0; 602 | defaultConfigurationName = Release; 603 | }; 604 | /* End XCConfigurationList section */ 605 | }; 606 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 607 | } 608 | -------------------------------------------------------------------------------- /Example/TWPullUpView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/TWPullUpView.xcodeproj/xcshareddata/xcschemes/TWPullUpView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/TWPullUpView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/TWPullUpView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/TWPullUpView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // TWPullUpView 4 | // 5 | // Created by Jeehoon Son on 03/29/2021. 6 | // Copyright (c) 2021 Jeehoon Son. 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/TWPullUpView/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/TWPullUpView/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 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Example/TWPullUpView/DummyData.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DummyData.swift 3 | // TWPullUpViewExample 4 | // 5 | // Created by Jeehoon Son on 2021/03/29. 6 | // 7 | 8 | import Foundation 9 | 10 | struct DummyModel { 11 | var title: String 12 | var desc: String 13 | } 14 | -------------------------------------------------------------------------------- /Example/TWPullUpView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/TWPullUpView/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 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /Example/TWPullUpView/Pull Up View/MyPullUpViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // MyPullUpView.swift 3 | // TWPullUpViewExample 4 | // 5 | // Created by Jeehoon Son on 2021/03/29. 6 | // 7 | 8 | import Foundation 9 | import TWPullUpView 10 | import UIKit 11 | 12 | class MyPullUpViewController: TWPullUpViewController { 13 | 14 | private let handlerView: UIView = { 15 | let view = UIView() 16 | view.backgroundColor = .lightGray 17 | view.translatesAutoresizingMaskIntoConstraints = false 18 | return view 19 | }() 20 | 21 | private lazy var tableView: UITableView = { 22 | let tableView = UITableView() 23 | tableView.delegate = self 24 | tableView.dataSource = self 25 | tableView.register(TableViewCell.self, forCellReuseIdentifier: "TableViewCell") 26 | tableView.translatesAutoresizingMaskIntoConstraints = false 27 | tableView.backgroundColor = .clear 28 | return tableView 29 | }() 30 | 31 | private var dummyModel = [DummyModel]() 32 | 33 | override var option: TWPullUpOption { 34 | return TWPullUpOption() 35 | } 36 | 37 | override var startPercentFromPoint: TWStickyPoint { 38 | return .percent(0.6) 39 | } 40 | 41 | override func viewDidLoad() { 42 | super.viewDidLoad() 43 | 44 | for i in 0..<30 { 45 | let model = DummyModel(title: "\(i) Title", desc: "\(i) Desc") 46 | dummyModel.append(model) 47 | } 48 | setUI() 49 | } 50 | 51 | private func setUI() { 52 | view.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner] 53 | view.layer.cornerRadius = 30 54 | 55 | view.backgroundColor = UIColor.white 56 | 57 | view.addSubview(handlerView) 58 | handlerView.topAnchor.constraint(equalTo: view.topAnchor, constant: 10).isActive = true 59 | handlerView.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true 60 | handlerView.widthAnchor.constraint(equalToConstant: 50).isActive = true 61 | handlerView.heightAnchor.constraint(equalToConstant: 6).isActive = true 62 | handlerView.layer.cornerRadius = 3 63 | 64 | view.addSubview(tableView) 65 | let top = tableView.topAnchor.constraint(equalTo: handlerView.bottomAnchor, constant: 10) 66 | top.isActive = true 67 | top.priority = .defaultLow 68 | 69 | tableView.leftAnchor.constraint(equalTo: view.leftAnchor).isActive = true 70 | tableView.rightAnchor.constraint(equalTo: view.rightAnchor).isActive = true 71 | tableView.bottomAnchor.constraint(equalTo: view.bottomAnchor).isActive = true 72 | 73 | attachScrollView(tableView) 74 | 75 | didChangePoint = { [weak self] point in 76 | 77 | } 78 | 79 | willMoveToPoint = { [weak self] point in 80 | 81 | } 82 | 83 | didMoveToPoint = { [weak self] point in 84 | 85 | } 86 | 87 | percentOfMinToMax = { [weak self] point in 88 | 89 | } 90 | } 91 | 92 | } 93 | 94 | extension MyPullUpViewController: UITableViewDelegate, UITableViewDataSource { 95 | func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 96 | return dummyModel.count 97 | } 98 | 99 | func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 100 | let cell = tableView.dequeueReusableCell(withIdentifier: "TableViewCell", for: indexPath) as! TableViewCell 101 | cell.titleLabel.text = dummyModel[indexPath.row].title 102 | return cell 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /Example/TWPullUpView/Pull Up View/TableViewCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TableViewCell.swift 3 | // TWPullUpViewExample 4 | // 5 | // Created by Jeehoon Son on 2021/03/29. 6 | // 7 | 8 | import Foundation 9 | import UIKit 10 | 11 | class TableViewCell: UITableViewCell { 12 | 13 | let titleLabel = UILabel() 14 | 15 | override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { 16 | super.init(style: style, reuseIdentifier: reuseIdentifier) 17 | 18 | selectionStyle = .none 19 | backgroundColor = .clear 20 | titleLabel.translatesAutoresizingMaskIntoConstraints = false 21 | contentView.addSubview(titleLabel) 22 | titleLabel.leftAnchor.constraint(equalTo: leftAnchor, constant: 18).isActive = true 23 | titleLabel.centerYAnchor.constraint(equalTo: centerYAnchor).isActive = true 24 | titleLabel.textColor = .black 25 | } 26 | 27 | required init?(coder: NSCoder) { 28 | fatalError("init(coder:) has not been implemented") 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Example/TWPullUpView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // TWPullUpViewExample 4 | // 5 | // Created by Jeehoon Son on 2021/03/29. 6 | // 7 | 8 | import UIKit 9 | import MapKit 10 | 11 | class ViewController: UIViewController { 12 | 13 | let mapView = MKMapView() 14 | 15 | var pullUpViewController: MyPullUpViewController! 16 | 17 | override func viewDidLoad() { 18 | super.viewDidLoad() 19 | 20 | view.addSubview(mapView) 21 | mapView.translatesAutoresizingMaskIntoConstraints = false 22 | mapView.topAnchor.constraint(equalTo: view.topAnchor).isActive = true 23 | mapView.leftAnchor.constraint(equalTo: view.leftAnchor).isActive = true 24 | mapView.rightAnchor.constraint(equalTo: view.rightAnchor).isActive = true 25 | mapView.bottomAnchor.constraint(equalTo: view.bottomAnchor).isActive = true 26 | 27 | pullUpViewController = MyPullUpViewController() 28 | pullUpViewController.stickyPoints = [.percent(0.3), .percent(0.8)] 29 | pullUpViewController.isPullUpScrollEnabled = true 30 | pullUpViewController.addOn(self, initialStickyPoint: .percent(0.3), animated: true) 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /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 XCTest 2 | import TWPullUpView 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2021 Jeehoon Son 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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TWPullUpView 2 | Create pull up view with multiple sticky points with scrollView supported. 3 | 4 | [![Platform](http://img.shields.io/badge/platform-ios-red.svg?style=flat 5 | )](https://developer.apple.com/iphone/index.action) 6 | [![Swift 5](https://img.shields.io/badge/Swift-5-orange.svg?style=flat)](https://developer.apple.com/swift/) 7 | [![Version](https://img.shields.io/cocoapods/v/TWPullUpView.svg?style=flat)](https://cocoapods.org/pods/TWPullUpView) 8 | [![License](https://img.shields.io/cocoapods/l/TWPullUpView.svg?style=flat)](https://cocoapods.org/pods/TWPullUpView) 9 | 10 | 11 | 12 | ## Features 13 | - Multiple sticky points 14 | - Only Support's Portrait 15 | - Support's scrollView scroll connection (like AirBnb) 16 | 17 | 18 | 19 | ## Installation 20 | 21 | TWPullUpView is available through [CocoaPods](https://cocoapods.org). To install 22 | it, simply add the following line to your Podfile: 23 | 24 | ```swift 25 | pod 'TWPullUpView' 26 | ``` 27 | 28 | ## Usage example 29 | ```swift 30 | import TWPullUpView 31 | 32 | override func viewDidLoad() { 33 | super.viewDidLoad() 34 | 35 | let pullUpView = MyPullUpViewController() 36 | pullUpView.stickyPoints = [.percent(0.3), .percent(0.6), .max] 37 | pullUpView.addOn(self, initialStickyPoint: .percent(0.3), animated: true) 38 | pullUpView.isPullUpScrollEnabled = true 39 | 40 | // Remove View 41 | pullUpView.removeView(animate: true) 42 | } 43 | 44 | 45 | class MyPullUpViewController: TWPullUpViewController { 46 | 47 | } 48 | 49 | ``` 50 | 51 | ## Callback 52 | ```swift 53 | // It get called before the view move to nearest sticky point 54 | willMoveToPoint = { point in 55 | 56 | } 57 | 58 | // It get called after the view moved to the nearest sticky point 59 | didMoveToPoint = { point in 60 | 61 | } 62 | 63 | // It get called when the user is panning the view 64 | didChangePoint = { point in 65 | 66 | } 67 | 68 | // It get called when the user is panning and return's percentage of how much the view is opened. 69 | // You can change the starting point of the percent by overriding 'startPercentFromPoint' the default is the min point in sticky array. 70 | percentOfMinToMax = { percent in 71 | 72 | } 73 | ``` 74 | 75 | ## Usage for internal scrollView 76 | ```swift 77 | class MyPullUpViewController: TWPullUpViewController { 78 | 79 | private func setView() { 80 | attachScrollView(tableView) 81 | } 82 | } 83 | ``` 84 | 85 | ## Set Custom Options 86 | ```swift 87 | 88 | public struct TWPullUpOption { 89 | /// Animation option to nearest sticky point when panning is ended 90 | public var animationDuration: Double = 0.3 91 | public var animationDamping: CGFloat = 1 92 | public var animationSpringVelocity: CGFloat = 0.4 93 | 94 | /// If view can pull up then max height. (When there is no scrollview inside) 95 | public var overMaxHeight: Bool = true 96 | 97 | /// If view can pull down then min Height 98 | public var underMinHeight: Bool = true 99 | 100 | /// Velocity of the panning to go to next sticky point 101 | /// If it is 0 it will move to next point right away. 102 | /// If it is CGFloat.infinity view will need to move more than half up or down to move to the next sticky point 103 | /// Recommend to use between 1000 ~ 3000 104 | public var moveToNextPointVelocity: CGFloat = 1500 105 | } 106 | 107 | class MyPullUpViewController: TWPullUpViewController { 108 | 109 | override var option: TWPullUpOption { 110 | return TWPullUpOption() 111 | } 112 | } 113 | 114 | ``` 115 | 116 | ## Example 117 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 118 | 119 | ## License 120 | 121 | TWPullUpView is available under the MIT license. See the LICENSE file for more info. 122 | -------------------------------------------------------------------------------- /Readme/TWPullupView_example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Topwiz/TWPullUpView/b5753521cea8c7c2a44eec105aeb6e1a397eebce/Readme/TWPullupView_example.gif -------------------------------------------------------------------------------- /Readme/airbnb_example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Topwiz/TWPullUpView/b5753521cea8c7c2a44eec105aeb6e1a397eebce/Readme/airbnb_example.gif -------------------------------------------------------------------------------- /Sources/TWPullUpOption.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TWPullUpOption.swift 3 | // TWPullUpView 4 | // 5 | // Created by Jeehoon Son on 2021/03/29. 6 | // 7 | 8 | import Foundation 9 | import UIKit 10 | 11 | public struct TWPullUpOption { 12 | /// Animation option to nearest sticky point when panning is ended 13 | public var animationDuration: Double = 0.3 14 | public var animationDamping: CGFloat = 1 15 | public var animationSpringVelocity: CGFloat = 0.4 16 | 17 | /// If view can pull up then max height. (When there is no scrollview inside) 18 | public var overMaxHeight: Bool = true 19 | 20 | /// If view can pull down then min Height 21 | public var underMinHeight: Bool = true 22 | 23 | /// Velocity of the panning to go to next sticky point 24 | /// If it is 0 it will move to next point right away. 25 | /// If it is CGFloat.infinity view will need to move more than half up or down to move to the next sticky point 26 | /// Recommend to use between 1000 ~ 3000 27 | public var moveToNextPointVelocity: CGFloat = 1500 28 | 29 | public init(animationDuration: Double = 0.3, 30 | animationDamping: CGFloat = 1, 31 | animationSpringVelocity: CGFloat = 0.4, 32 | overMaxHeight: Bool = true, 33 | underMinHeight: Bool = true, 34 | moveToNextPointVelocity: CGFloat = 1500) { 35 | 36 | self.animationDuration = animationDuration 37 | self.animationDamping = animationDamping 38 | self.animationSpringVelocity = animationSpringVelocity 39 | self.overMaxHeight = overMaxHeight 40 | self.underMinHeight = underMinHeight 41 | self.moveToNextPointVelocity = moveToNextPointVelocity 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Sources/TWPullUpViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TWPullUpView.swift 3 | // TWPullUpView 4 | // 5 | // Created by Jeehoon Son on 2021/03/29. 6 | // 7 | 8 | import Foundation 9 | import UIKit 10 | 11 | public enum TWStickyPoint { 12 | case min 13 | case percent(CGFloat) 14 | case custom(CGFloat) 15 | case max 16 | 17 | public var toHeight: CGFloat { 18 | switch self { 19 | case .min: 20 | return 0 21 | case .percent(let percent): 22 | return UIScreen.main.bounds.height * percent 23 | case .custom(let height): 24 | return height 25 | case .max: 26 | return UIScreen.main.bounds.height 27 | } 28 | } 29 | } 30 | 31 | open class TWPullUpViewController: UIViewController { 32 | /// Options 33 | open var option: TWPullUpOption { 34 | return TWPullUpOption() 35 | } 36 | 37 | private var initialStickyPoint: TWStickyPoint = .percent(0.3) 38 | 39 | private var _stickyPoints: [TWStickyPoint] = [.percent(0.3), .percent(0.6), .max] 40 | open var stickyPoints: [TWStickyPoint] { 41 | get { 42 | return _stickyPoints 43 | } set { 44 | self._stickyPoints = newValue.sorted(by: { $0.toHeight < $1.toHeight }) 45 | if _stickyPoints.count <= 1 { 46 | fatalError("You need to add more than 2 sticky points.") 47 | } 48 | } 49 | } 50 | 51 | public var isPullUpScrollEnabled: Bool = true 52 | 53 | public var willMoveToPoint: ((CGFloat) -> ())? 54 | public var didMoveToPoint: ((CGFloat) -> ())? 55 | public var didChangePoint: ((CGFloat) -> ())? 56 | public var percentOfMinToMax: ((CGFloat) -> ())? 57 | public var nearestStickyPointIndex: Int { 58 | return closestStickyIndex() 59 | } 60 | 61 | public var getMaxHeight: CGFloat { 62 | get { return _stickyPoints.last!.toHeight } 63 | } 64 | 65 | public var getMinHeight: CGFloat { 66 | get { return _stickyPoints.first!.toHeight } 67 | } 68 | 69 | /// Default is min value of sticky point 70 | open var startPercentFromPoint: TWStickyPoint { 71 | return _stickyPoints.last! 72 | } 73 | 74 | private var currentPoint: CGFloat = 0 { 75 | didSet { 76 | let min = startPercentFromPoint.toHeight 77 | let max = _stickyPoints.last!.toHeight 78 | let percent = (currentPoint - min) / (max - min) 79 | percentOfMinToMax?(percent >= 0 ? percent : 0) 80 | } 81 | } 82 | 83 | public var getCurrentPoint: CGFloat { 84 | get { return currentPoint } 85 | } 86 | 87 | private weak var scrollView: UIScrollView? 88 | 89 | private weak var parentVC: UIViewController! 90 | 91 | // Constraint 92 | private var leftConstraint: NSLayoutConstraint? 93 | private var topConstraint: NSLayoutConstraint? 94 | private var bottomConstraint: NSLayoutConstraint? 95 | private var rightConstraint: NSLayoutConstraint? 96 | 97 | private var panningStartPoint: CGFloat? 98 | private var scrollViewDefaultOffsetY: CGFloat! { 99 | get { 100 | return -(scrollView?.contentInset.top ?? 0) 101 | } 102 | } 103 | 104 | private var offsetCorrection: CGFloat? 105 | private var scrollViewBounceCorrection: CGFloat? 106 | private var slowDownPoint: CGFloat? 107 | 108 | public var viewPanGestureName: String { 109 | get { "TWPullUpViewPanGesture\(self.hashValue)" } 110 | } 111 | public var scrollViewPanGestureName: String { 112 | get { "TWPullUpViewScrollViewGesture\(self.hashValue)" } 113 | } 114 | 115 | /// Add pull up view to parent view 116 | /// - Parameters: 117 | /// - view: Parent view 118 | /// - initialStickyPoint: Starting sticky point 119 | /// - animated: Animate to start sticky point 120 | /// - completion: Return's after finishing animation 121 | public func addOn(_ viewController: UIViewController, 122 | initialStickyPoint: TWStickyPoint, 123 | animated: Bool, 124 | completion: (()->())? = nil) { 125 | 126 | setup(superview: viewController, initialStickyPoint: initialStickyPoint, animate: animated) 127 | } 128 | 129 | 130 | /// Remove from super view 131 | /// - Parameters: 132 | /// - animate: Animate to bottom and remove 133 | /// - completion: Completion after remove from super view 134 | public func removeView(animate: Bool, completion: (()->())? = nil) { 135 | animateView(to: .min, animate: animate) { [weak self] in 136 | self?.willMove(toParent: nil) 137 | self?.view.removeFromSuperview() 138 | self?.removeFromParent() 139 | completion?() 140 | } 141 | } 142 | } 143 | 144 | extension TWPullUpViewController: UIGestureRecognizerDelegate { 145 | public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool { 146 | return pullUpGestureRecognizer(gestureRecognizer, shouldRecognizeSimultaneouslyWith: otherGestureRecognizer) 147 | } 148 | } 149 | 150 | //MARK: Gesture 151 | extension TWPullUpViewController { 152 | 153 | /// When you have a ScrollView inside 154 | /// you have to return 'TRUE' if gestureRecognizer and otherGestureRecognizer both contains accessibilityHint of 'viewPanGestureName' and 'scrollViewPanGestureName' 155 | @objc open func pullUpGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool { 156 | let names = [viewPanGestureName, scrollViewPanGestureName] 157 | return names.contains(gestureRecognizer.accessibilityHint ?? "") && names.contains(otherGestureRecognizer.accessibilityHint ?? "") 158 | } 159 | } 160 | 161 | //MARK: - SetUp 162 | extension TWPullUpViewController { 163 | // MARK: - SetUp 164 | private func setup(superview: UIViewController, initialStickyPoint: TWStickyPoint, animate: Bool) { 165 | parentVC = superview 166 | view.translatesAutoresizingMaskIntoConstraints = false 167 | self.initialStickyPoint = initialStickyPoint 168 | superview.addChild(self) 169 | superview.view.addSubview(self.view) 170 | setConstraint() 171 | setupPanGesture() 172 | animateView(to: initialStickyPoint, animate: animate) 173 | } 174 | 175 | 176 | /// Add scrollView for scroll connection 177 | /// - Parameter scrollView: Internal Scroll View 178 | public func attachScrollView(_ scrollView: UIScrollView) { 179 | self.scrollView = scrollView 180 | self.scrollView?.panGestureRecognizer.accessibilityHint = scrollViewPanGestureName 181 | } 182 | 183 | // MARK: - Set Constraint 184 | private func setConstraint() { 185 | topConstraint = view.topAnchor.constraint(equalTo: parentVC.view.topAnchor) 186 | topConstraint?.constant = parentVC.view.frame.height 187 | leftConstraint = view.leftAnchor.constraint(equalTo: parentVC.view.leftAnchor) 188 | rightConstraint = view.rightAnchor.constraint(equalTo: parentVC.view.rightAnchor) 189 | bottomConstraint = view.bottomAnchor.constraint(equalTo: parentVC.view.bottomAnchor) 190 | 191 | let constraintsToActivate = [topConstraint, 192 | leftConstraint, 193 | rightConstraint, 194 | bottomConstraint 195 | ].compactMap { $0 } 196 | NSLayoutConstraint.activate(constraintsToActivate) 197 | parentVC.didMove(toParent: self) 198 | parentVC.view.layoutIfNeeded() 199 | } 200 | 201 | // MARK: - Gesture 202 | private func setupPanGesture() { 203 | let pan = UIPanGestureRecognizer(target: self, action: #selector(panning(_:))) 204 | pan.delegate = self 205 | pan.minimumNumberOfTouches = 1 206 | pan.maximumNumberOfTouches = 1 207 | pan.accessibilityHint = viewPanGestureName 208 | view.addGestureRecognizer(pan) 209 | } 210 | 211 | } 212 | 213 | 214 | // MARK: - Gesture 215 | extension TWPullUpViewController { 216 | @objc private func panning(_ gesture: UIPanGestureRecognizer) { 217 | if !isPullUpScrollEnabled { return } 218 | 219 | let translationY = gesture.translation(in: view).y 220 | let velocityY = gesture.velocity(in: view).y 221 | 222 | if scrollView?.contentOffset.y ?? 0 > scrollViewDefaultOffsetY { 223 | offsetCorrection = translationY 224 | checkScrollViewEnabled() 225 | return 226 | } 227 | 228 | switch gesture.state { 229 | case .began: 230 | offsetCorrection = nil 231 | panningStartPoint = currentPoint 232 | case .changed: 233 | if let point = panningStartPoint, (scrollView?.contentOffset.y ?? 0 <= scrollViewDefaultOffsetY) { 234 | var p = point - (offsetCorrection != nil ? (translationY - offsetCorrection!) : translationY) 235 | 236 | if (translationY < 0 && option.overMaxHeight ? (scrollView == nil ? true : p <= stickyPoints.last!.toHeight) : p <= stickyPoints.last!.toHeight) && 237 | (translationY > 0 && option.underMinHeight ? true : p >= stickyPoints.first!.toHeight) { 238 | 239 | if option.overMaxHeight && currentPoint >= stickyPoints.last!.toHeight { 240 | p = (p - stickyPoints.last!.toHeight) / 8 + stickyPoints.last!.toHeight 241 | } else if option.underMinHeight && p <= stickyPoints.first!.toHeight { 242 | p = (p - stickyPoints.first!.toHeight) / 8 + stickyPoints.first!.toHeight 243 | } 244 | 245 | scrollView?.contentOffset.y = scrollViewDefaultOffsetY 246 | topConstraint?.constant = parentVC.view.frame.height - p 247 | currentPoint = p 248 | didChangePoint?(p) 249 | 250 | UIView.animate(withDuration: 0.05) { 251 | self.parentVC.view.layoutIfNeeded() 252 | } 253 | } else { 254 | offsetCorrection = nil 255 | panningStartPoint = nil 256 | moveToStickyPoint(index: closestStickyIndex()) 257 | } 258 | 259 | } else { 260 | panningStartPoint = currentPoint 261 | } 262 | case .ended: 263 | scrollViewBounceCorrection = nil 264 | offsetCorrection = nil 265 | panningStartPoint = nil 266 | moveToStickyPoint(index: closestStickyIndex(velocity: velocityY)) 267 | default: break 268 | } 269 | 270 | checkScrollViewEnabled() 271 | } 272 | 273 | private func checkScrollViewEnabled() { 274 | guard let scrollView = scrollView else { return } 275 | if (stickyPoints.last!.toHeight - 2)...(stickyPoints.last!.toHeight + 2) ~= currentPoint { 276 | scrollView.isScrollEnabled = true 277 | } else { 278 | scrollView.contentOffset.y = scrollViewDefaultOffsetY 279 | scrollView.isScrollEnabled = false 280 | } 281 | 282 | } 283 | } 284 | 285 | //MARK: - Animation 286 | extension TWPullUpViewController { 287 | 288 | /// Animate pull up view to custom point 289 | /// - Parameters: 290 | /// - point: Custom point 291 | /// - animate: Animate to that point 292 | public func animateView(to point: TWStickyPoint, animate: Bool = true, completion: (()->())? = nil) { 293 | topConstraint?.constant = parentVC.view.frame.height - point.toHeight 294 | currentPoint = point.toHeight 295 | willMoveToPoint?(currentPoint) 296 | 297 | let duration = animate ? option.animationDuration : 0 298 | UIView.animate(withDuration: duration, 299 | delay: 0, 300 | usingSpringWithDamping: option.animationDamping, 301 | initialSpringVelocity: option.animationSpringVelocity, 302 | options: [.curveEaseInOut]) { 303 | self.parentVC.view.layoutIfNeeded() 304 | } completion: { [weak self] _ in 305 | self?.didMoveToPoint?(point.toHeight) 306 | self?.checkScrollViewEnabled() 307 | completion?() 308 | } 309 | 310 | checkScrollViewEnabled() 311 | } 312 | 313 | 314 | /// Move to sticky point 315 | /// - Parameter index: Index of the sticky point you have seted 316 | public func moveToStickyPoint(index: Int) { 317 | if stickyPoints.count <= index { 318 | fatalError("Sticky point index out of range. Check 'stickyPoints' Array.") 319 | } 320 | animateView(to: stickyPoints[index]) 321 | } 322 | 323 | private func closestStickyIndex(from point: TWStickyPoint? = nil, velocity: CGFloat? = nil) -> Int { 324 | let point = point == nil ? currentPoint : point!.toHeight 325 | var offset = stickyPoints.map { $0.toHeight }.enumerated().min( by: { abs($0.1 - point) < abs($1.1 - point) } )!.offset 326 | if let velocity = velocity { 327 | if velocity < -option.moveToNextPointVelocity && offset < stickyPoints.count - 1 { // scrolling up 328 | offset += 1 329 | } else if velocity > option.moveToNextPointVelocity && offset > 0 { 330 | offset -= 1 331 | } 332 | } 333 | return offset 334 | } 335 | } 336 | -------------------------------------------------------------------------------- /TWPullUpView.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint TWPullUpView.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'TWPullUpView' 11 | s.version = '0.1.5' 12 | s.description = 'Pull up view with multiple sticky points and scrollView scroll connection supported.' 13 | s.summary = 'Pull up view with multiple sticky points.' 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.homepage = 'https://github.com/Topwiz/TWPullUpView' 21 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 22 | s.license = { :type => 'MIT', :file => 'LICENSE' } 23 | s.author = { 'Topwiz' => 'tigerjs94@naver.com' } 24 | s.source = { :git => 'https://github.com/Topwiz/TWPullUpView.git', :tag => s.version.to_s } 25 | # s.social_media_url = 'https://twitter.com/' 26 | 27 | s.swift_version = '5.0' 28 | s.ios.deployment_target = '10.0' 29 | 30 | s.source_files = 'Sources/**/*.swift' 31 | 32 | # s.resource_bundles = { 33 | # 'TWPullUpView' => ['TWPullUpView/Assets/*.png'] 34 | # } 35 | 36 | # s.public_header_files = 'Pod/Classes/**/*.h' 37 | # s.frameworks = 'UIKit', 'MapKit' 38 | # s.dependency 'AFNetworking', '~> 2.3' 39 | end 40 | -------------------------------------------------------------------------------- /TWPullUpView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Topwiz/TWPullUpView/b5753521cea8c7c2a44eec105aeb6e1a397eebce/TWPullUpView/Assets/.gitkeep -------------------------------------------------------------------------------- /TWPullUpView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Topwiz/TWPullUpView/b5753521cea8c7c2a44eec105aeb6e1a397eebce/TWPullUpView/Classes/.gitkeep -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------