├── .gitattributes ├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── SquishButton.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── SquishButton.xcscheme │ └── Target Support Files │ │ ├── Pods-SquishButton_Example │ │ ├── Info.plist │ │ ├── Pods-SquishButton_Example-acknowledgements.markdown │ │ ├── Pods-SquishButton_Example-acknowledgements.plist │ │ ├── Pods-SquishButton_Example-dummy.m │ │ ├── Pods-SquishButton_Example-frameworks.sh │ │ ├── Pods-SquishButton_Example-resources.sh │ │ ├── Pods-SquishButton_Example-umbrella.h │ │ ├── Pods-SquishButton_Example.debug.xcconfig │ │ ├── Pods-SquishButton_Example.modulemap │ │ └── Pods-SquishButton_Example.release.xcconfig │ │ ├── Pods-SquishButton_Tests │ │ ├── Info.plist │ │ ├── Pods-SquishButton_Tests-acknowledgements.markdown │ │ ├── Pods-SquishButton_Tests-acknowledgements.plist │ │ ├── Pods-SquishButton_Tests-dummy.m │ │ ├── Pods-SquishButton_Tests-frameworks.sh │ │ ├── Pods-SquishButton_Tests-resources.sh │ │ ├── Pods-SquishButton_Tests-umbrella.h │ │ ├── Pods-SquishButton_Tests.debug.xcconfig │ │ ├── Pods-SquishButton_Tests.modulemap │ │ └── Pods-SquishButton_Tests.release.xcconfig │ │ └── SquishButton │ │ ├── Info.plist │ │ ├── SquishButton-dummy.m │ │ ├── SquishButton-prefix.pch │ │ ├── SquishButton-umbrella.h │ │ ├── SquishButton.modulemap │ │ └── SquishButton.xcconfig ├── SquishButton.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── SquishButton-Example.xcscheme ├── SquishButton.xcworkspace │ └── contents.xcworkspacedata ├── SquishButton │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md ├── SquishButton.podspec ├── SquishButton ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── SquishButton.swift ├── _Pods.xcodeproj └── demo.gif /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh linguist-language=Swift -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | 5 | ## Build generated 6 | build/ 7 | DerivedData/ 8 | 9 | ## Various settings 10 | *.pbxuser 11 | !default.pbxuser 12 | *.mode1v3 13 | !default.mode1v3 14 | *.mode2v3 15 | !default.mode2v3 16 | *.perspectivev3 17 | !default.perspectivev3 18 | xcuserdata/ 19 | 20 | ## Other 21 | *.moved-aside 22 | *.xcuserstate 23 | 24 | ## Obj-C/Swift specific 25 | *.hmap 26 | *.ipa 27 | *.dSYM.zip 28 | *.dSYM 29 | 30 | ## Playgrounds 31 | timeline.xctimeline 32 | playground.xcworkspace 33 | 34 | # Swift Package Manager 35 | # 36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 37 | # Packages/ 38 | .build/ 39 | 40 | # CocoaPods 41 | # 42 | # We recommend against adding the Pods directory to your .gitignore. However 43 | # you should judge for yourself, the pros and cons are mentioned at: 44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 45 | # 46 | # Pods/ 47 | 48 | # Carthage 49 | # 50 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 51 | # Carthage/Checkouts 52 | 53 | Carthage/Build 54 | 55 | # fastlane 56 | # 57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 58 | # screenshots whenever they are needed. 59 | # For more information about the recommended setup visit: 60 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md 61 | 62 | fastlane/report.xml 63 | fastlane/Preview.html 64 | fastlane/screenshots 65 | fastlane/test_output 66 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | cache: cocoapods 3 | podfile: Example/Podfile 4 | osx_image: xcode8.3 5 | 6 | before_install: 7 | - gem install cocoapods 8 | - gem install xcpretty 9 | - pod install --project-directory=Example 10 | 11 | script: 12 | - set -o pipefail && xcodebuild build -workspace Example/SquishButton.xcworkspace -scheme SquishButton-Example -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.3' ONLY_ACTIVE_ARCH=NO | xcpretty 13 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'SquishButton_Example' do 4 | pod 'SquishButton', :path => '../' 5 | 6 | target 'SquishButton_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SquishButton (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - SquishButton (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SquishButton: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SquishButton: 5c3ea1f03f40815759a13a73f86506cb1c01c92a 13 | 14 | PODFILE CHECKSUM: 8c40581206e47016ecaa257c145a8bccd0704048 15 | 16 | COCOAPODS: 1.2.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/SquishButton.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SquishButton", 3 | "version": "0.1.0", 4 | "summary": "A short description of SquishButton.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/BalestraPatrick/SquishButton", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "BalestraPatrick": "me@patrickbalestra.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/BalestraPatrick/SquishButton.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "SquishButton/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SquishButton (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - SquishButton (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SquishButton: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SquishButton: 5c3ea1f03f40815759a13a73f86506cb1c01c92a 13 | 14 | PODFILE CHECKSUM: 8c40581206e47016ecaa257c145a8bccd0704048 15 | 16 | COCOAPODS: 1.2.0 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 | 16650DB41B71DBD5CD28C05DA4610ADA /* Pods-SquishButton_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A3E7E7FAFDA2CF3EE5DDA2F6FECF8D66 /* Pods-SquishButton_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 40CD09B65D8EBF8C9F577EBBBD702423 /* Pods-SquishButton_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 88293195FEF800DE1C0ADC8999358F2F /* Pods-SquishButton_Example-dummy.m */; }; 12 | 6317FA9F6EE8A814E0C47699B300F3E0 /* Pods-SquishButton_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 37BD465B86AA8C20815C36075F2756C2 /* Pods-SquishButton_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 6347BCF3BB62C7E5705A46B4FD35232A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 14 | 85481E3425A30C59E5FE5B6440BB7922 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 15 | 8BB31C03458714739C870686C7123E0E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 16 | D528FFEDB0FF611AAEDE6967FE0EAA4A /* SquishButton-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9EB6939AC9370C3FA6115AA7CD8DBF66 /* SquishButton-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | DAA99D7D29E00616C801B7B6CAEBAC9B /* SquishButton-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C41835F6C9E312C8E4615CC1413BEBA7 /* SquishButton-dummy.m */; }; 18 | DB2EEFC0208EE33B54256E0565F5E61B /* Pods-SquishButton_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C2E01B1A2C36623E55243F4E466C17FB /* Pods-SquishButton_Tests-dummy.m */; }; 19 | F14035864F319D81A5446FDA96589E79 /* SquishButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD297EFDB4C2F62BBEA4C9FFDA323EAD /* SquishButton.swift */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 62F60E5B817089BF4D997CEA5566FA59 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = B45DAB7C5BF08814BA4B08D2D95BE6BF; 28 | remoteInfo = SquishButton; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 07C8373527EF48E45D8552296F7248E2 /* SquishButton.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SquishButton.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 1179DC4EB04140016A0A7C7CFC1697EC /* SquishButton-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SquishButton-prefix.pch"; sourceTree = ""; }; 35 | 12C4CC94DF455C4C21C15F61AC5A2B0B /* Pods-SquishButton_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SquishButton_Tests.debug.xcconfig"; sourceTree = ""; }; 36 | 1F763C15C95DAF93CBD914F127C45657 /* Pods-SquishButton_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SquishButton_Example-resources.sh"; sourceTree = ""; }; 37 | 2CAC9D344B99187900CB7DF897B58110 /* SquishButton.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SquishButton.xcconfig; sourceTree = ""; }; 38 | 37BD465B86AA8C20815C36075F2756C2 /* Pods-SquishButton_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SquishButton_Example-umbrella.h"; sourceTree = ""; }; 39 | 3D5B13503C454ECC32E8D9E2C5821C53 /* Pods_SquishButton_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SquishButton_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 4E1D1A843CC6D7AFBD1FF637CDC36564 /* Pods-SquishButton_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SquishButton_Tests-acknowledgements.markdown"; sourceTree = ""; }; 41 | 4FC43AE1B3E3CF077DBD4E6C7D8ACD32 /* SquishButton.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = SquishButton.modulemap; sourceTree = ""; }; 42 | 5F77105126D2E88F2374ED5B7B1B9A1A /* Pods-SquishButton_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SquishButton_Example-acknowledgements.markdown"; sourceTree = ""; }; 43 | 62083999CCE4C345DFE5BB80D012F374 /* Pods_SquishButton_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SquishButton_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 788EEC2E91493D5F5A793EEE5F91AF65 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 833ECBDDBC1249F79529B01C3C9DF6A7 /* Pods-SquishButton_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-SquishButton_Example.modulemap"; sourceTree = ""; }; 46 | 8359CDA2DD8FE2C3AD80CF5A3842AA0C /* Pods-SquishButton_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SquishButton_Tests-frameworks.sh"; sourceTree = ""; }; 47 | 88293195FEF800DE1C0ADC8999358F2F /* Pods-SquishButton_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SquishButton_Example-dummy.m"; sourceTree = ""; }; 48 | 89CD61EE279A8EC5B509F204C661D532 /* Pods-SquishButton_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SquishButton_Example-acknowledgements.plist"; sourceTree = ""; }; 49 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 50 | 9A19BFF8F67BB9B41DB9EF9D57599FCF /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | 9EB6939AC9370C3FA6115AA7CD8DBF66 /* SquishButton-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SquishButton-umbrella.h"; sourceTree = ""; }; 52 | 9EF3D3E6E4CBEF2E38F970C0DF823BAE /* Pods-SquishButton_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SquishButton_Tests-acknowledgements.plist"; sourceTree = ""; }; 53 | A13E68379F5294495CBD15535241040F /* Pods-SquishButton_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-SquishButton_Tests.modulemap"; sourceTree = ""; }; 54 | A3E7E7FAFDA2CF3EE5DDA2F6FECF8D66 /* Pods-SquishButton_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SquishButton_Tests-umbrella.h"; sourceTree = ""; }; 55 | C2E01B1A2C36623E55243F4E466C17FB /* Pods-SquishButton_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SquishButton_Tests-dummy.m"; sourceTree = ""; }; 56 | C41835F6C9E312C8E4615CC1413BEBA7 /* SquishButton-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SquishButton-dummy.m"; sourceTree = ""; }; 57 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 58 | CD297EFDB4C2F62BBEA4C9FFDA323EAD /* SquishButton.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SquishButton.swift; sourceTree = ""; }; 59 | D6991FE5FB4DB64C2711CBD0340DECCB /* Pods-SquishButton_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SquishButton_Example.release.xcconfig"; sourceTree = ""; }; 60 | D840F0B1E1FA6DEC832FF0096FA55BD7 /* Pods-SquishButton_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SquishButton_Example.debug.xcconfig"; sourceTree = ""; }; 61 | DCE1FFFBCA9A98237DFC477C7A4AE34E /* Pods-SquishButton_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SquishButton_Example-frameworks.sh"; sourceTree = ""; }; 62 | DF1D08C444322B5BE18FB458A84D5620 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 63 | E7531917BECEA030BAD842C869904A41 /* Pods-SquishButton_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SquishButton_Tests.release.xcconfig"; sourceTree = ""; }; 64 | EC35EBBC3005A9D9B2A08C8914519B2A /* Pods-SquishButton_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SquishButton_Tests-resources.sh"; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 0AE956DE9D1F7173807A5BD146DA2778 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 6347BCF3BB62C7E5705A46B4FD35232A /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | 9AFFD64B8172484773255C04C02A825C /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | 8BB31C03458714739C870686C7123E0E /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | B1AFAE9FC22E6AB7A148A3EBFB2271E0 /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 85481E3425A30C59E5FE5B6440BB7922 /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 12C7CF3F732AD88280FEF42900EF7BD0 /* SquishButton */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 676733246E5094A00304ADD54F0E3D62 /* SquishButton */, 99 | 38A5C40551F6F66BD44D386F15BE5905 /* Support Files */, 100 | ); 101 | name = SquishButton; 102 | path = ../..; 103 | sourceTree = ""; 104 | }; 105 | 1359509E29DEA7D2E23970D418844D10 /* Pods-SquishButton_Tests */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | DF1D08C444322B5BE18FB458A84D5620 /* Info.plist */, 109 | A13E68379F5294495CBD15535241040F /* Pods-SquishButton_Tests.modulemap */, 110 | 4E1D1A843CC6D7AFBD1FF637CDC36564 /* Pods-SquishButton_Tests-acknowledgements.markdown */, 111 | 9EF3D3E6E4CBEF2E38F970C0DF823BAE /* Pods-SquishButton_Tests-acknowledgements.plist */, 112 | C2E01B1A2C36623E55243F4E466C17FB /* Pods-SquishButton_Tests-dummy.m */, 113 | 8359CDA2DD8FE2C3AD80CF5A3842AA0C /* Pods-SquishButton_Tests-frameworks.sh */, 114 | EC35EBBC3005A9D9B2A08C8914519B2A /* Pods-SquishButton_Tests-resources.sh */, 115 | A3E7E7FAFDA2CF3EE5DDA2F6FECF8D66 /* Pods-SquishButton_Tests-umbrella.h */, 116 | 12C4CC94DF455C4C21C15F61AC5A2B0B /* Pods-SquishButton_Tests.debug.xcconfig */, 117 | E7531917BECEA030BAD842C869904A41 /* Pods-SquishButton_Tests.release.xcconfig */, 118 | ); 119 | name = "Pods-SquishButton_Tests"; 120 | path = "Target Support Files/Pods-SquishButton_Tests"; 121 | sourceTree = ""; 122 | }; 123 | 1FD7F309FC4203AA1BFFB296F48C1807 /* Classes */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | CD297EFDB4C2F62BBEA4C9FFDA323EAD /* SquishButton.swift */, 127 | ); 128 | path = Classes; 129 | sourceTree = ""; 130 | }; 131 | 38A5C40551F6F66BD44D386F15BE5905 /* Support Files */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | 788EEC2E91493D5F5A793EEE5F91AF65 /* Info.plist */, 135 | 4FC43AE1B3E3CF077DBD4E6C7D8ACD32 /* SquishButton.modulemap */, 136 | 2CAC9D344B99187900CB7DF897B58110 /* SquishButton.xcconfig */, 137 | C41835F6C9E312C8E4615CC1413BEBA7 /* SquishButton-dummy.m */, 138 | 1179DC4EB04140016A0A7C7CFC1697EC /* SquishButton-prefix.pch */, 139 | 9EB6939AC9370C3FA6115AA7CD8DBF66 /* SquishButton-umbrella.h */, 140 | ); 141 | name = "Support Files"; 142 | path = "Example/Pods/Target Support Files/SquishButton"; 143 | sourceTree = ""; 144 | }; 145 | 3B86A180D864380B8B88043D9013BE03 /* Products */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 62083999CCE4C345DFE5BB80D012F374 /* Pods_SquishButton_Example.framework */, 149 | 3D5B13503C454ECC32E8D9E2C5821C53 /* Pods_SquishButton_Tests.framework */, 150 | 07C8373527EF48E45D8552296F7248E2 /* SquishButton.framework */, 151 | ); 152 | name = Products; 153 | sourceTree = ""; 154 | }; 155 | 4F06FA8B0A528EE0D94014BC91D91295 /* Pods-SquishButton_Example */ = { 156 | isa = PBXGroup; 157 | children = ( 158 | 9A19BFF8F67BB9B41DB9EF9D57599FCF /* Info.plist */, 159 | 833ECBDDBC1249F79529B01C3C9DF6A7 /* Pods-SquishButton_Example.modulemap */, 160 | 5F77105126D2E88F2374ED5B7B1B9A1A /* Pods-SquishButton_Example-acknowledgements.markdown */, 161 | 89CD61EE279A8EC5B509F204C661D532 /* Pods-SquishButton_Example-acknowledgements.plist */, 162 | 88293195FEF800DE1C0ADC8999358F2F /* Pods-SquishButton_Example-dummy.m */, 163 | DCE1FFFBCA9A98237DFC477C7A4AE34E /* Pods-SquishButton_Example-frameworks.sh */, 164 | 1F763C15C95DAF93CBD914F127C45657 /* Pods-SquishButton_Example-resources.sh */, 165 | 37BD465B86AA8C20815C36075F2756C2 /* Pods-SquishButton_Example-umbrella.h */, 166 | D840F0B1E1FA6DEC832FF0096FA55BD7 /* Pods-SquishButton_Example.debug.xcconfig */, 167 | D6991FE5FB4DB64C2711CBD0340DECCB /* Pods-SquishButton_Example.release.xcconfig */, 168 | ); 169 | name = "Pods-SquishButton_Example"; 170 | path = "Target Support Files/Pods-SquishButton_Example"; 171 | sourceTree = ""; 172 | }; 173 | 53C9592507D4636614A75F122021B5C9 /* Targets Support Files */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | 4F06FA8B0A528EE0D94014BC91D91295 /* Pods-SquishButton_Example */, 177 | 1359509E29DEA7D2E23970D418844D10 /* Pods-SquishButton_Tests */, 178 | ); 179 | name = "Targets Support Files"; 180 | sourceTree = ""; 181 | }; 182 | 676733246E5094A00304ADD54F0E3D62 /* SquishButton */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | 1FD7F309FC4203AA1BFFB296F48C1807 /* Classes */, 186 | ); 187 | path = SquishButton; 188 | sourceTree = ""; 189 | }; 190 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, 194 | ); 195 | name = iOS; 196 | sourceTree = ""; 197 | }; 198 | 7DB346D0F39D3F0E887471402A8071AB = { 199 | isa = PBXGroup; 200 | children = ( 201 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 202 | ABFAA4DFAEF27A0024A18FE0067D6CFA /* Development Pods */, 203 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 204 | 3B86A180D864380B8B88043D9013BE03 /* Products */, 205 | 53C9592507D4636614A75F122021B5C9 /* Targets Support Files */, 206 | ); 207 | sourceTree = ""; 208 | }; 209 | ABFAA4DFAEF27A0024A18FE0067D6CFA /* Development Pods */ = { 210 | isa = PBXGroup; 211 | children = ( 212 | 12C7CF3F732AD88280FEF42900EF7BD0 /* SquishButton */, 213 | ); 214 | name = "Development Pods"; 215 | sourceTree = ""; 216 | }; 217 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 218 | isa = PBXGroup; 219 | children = ( 220 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, 221 | ); 222 | name = Frameworks; 223 | sourceTree = ""; 224 | }; 225 | /* End PBXGroup section */ 226 | 227 | /* Begin PBXHeadersBuildPhase section */ 228 | 6A71090F894A67C2B55E30DDBB5F257C /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | D528FFEDB0FF611AAEDE6967FE0EAA4A /* SquishButton-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | D86FB6854FB802C4F00860EEA0C8F78C /* Headers */ = { 237 | isa = PBXHeadersBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | 16650DB41B71DBD5CD28C05DA4610ADA /* Pods-SquishButton_Tests-umbrella.h in Headers */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | F12EA4734D6E90F08277F14423481044 /* Headers */ = { 245 | isa = PBXHeadersBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 6317FA9F6EE8A814E0C47699B300F3E0 /* Pods-SquishButton_Example-umbrella.h in Headers */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | /* End PBXHeadersBuildPhase section */ 253 | 254 | /* Begin PBXNativeTarget section */ 255 | 044FCD01386DD3E7FF5C44AFA3822009 /* Pods-SquishButton_Example */ = { 256 | isa = PBXNativeTarget; 257 | buildConfigurationList = 0D76445B44ECFEDF1E43419C235F24A9 /* Build configuration list for PBXNativeTarget "Pods-SquishButton_Example" */; 258 | buildPhases = ( 259 | 693DF8069920824C0E493A251303BB75 /* Sources */, 260 | 9AFFD64B8172484773255C04C02A825C /* Frameworks */, 261 | F12EA4734D6E90F08277F14423481044 /* Headers */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | 8ED09F9193DF4F9D10F39D9A96142344 /* PBXTargetDependency */, 267 | ); 268 | name = "Pods-SquishButton_Example"; 269 | productName = "Pods-SquishButton_Example"; 270 | productReference = 62083999CCE4C345DFE5BB80D012F374 /* Pods_SquishButton_Example.framework */; 271 | productType = "com.apple.product-type.framework"; 272 | }; 273 | 6D2854DD6421B7B7FA71614767B3F119 /* Pods-SquishButton_Tests */ = { 274 | isa = PBXNativeTarget; 275 | buildConfigurationList = 3DF2A5493218D79108EE2A15387491CF /* Build configuration list for PBXNativeTarget "Pods-SquishButton_Tests" */; 276 | buildPhases = ( 277 | 164D8E41B9ADB71F779B542DC5289052 /* Sources */, 278 | B1AFAE9FC22E6AB7A148A3EBFB2271E0 /* Frameworks */, 279 | D86FB6854FB802C4F00860EEA0C8F78C /* Headers */, 280 | ); 281 | buildRules = ( 282 | ); 283 | dependencies = ( 284 | ); 285 | name = "Pods-SquishButton_Tests"; 286 | productName = "Pods-SquishButton_Tests"; 287 | productReference = 3D5B13503C454ECC32E8D9E2C5821C53 /* Pods_SquishButton_Tests.framework */; 288 | productType = "com.apple.product-type.framework"; 289 | }; 290 | B45DAB7C5BF08814BA4B08D2D95BE6BF /* SquishButton */ = { 291 | isa = PBXNativeTarget; 292 | buildConfigurationList = C612366AB0D0425ACE92CF418F4B551A /* Build configuration list for PBXNativeTarget "SquishButton" */; 293 | buildPhases = ( 294 | 59694A69AC7CCB6CDF3278CBA98D085E /* Sources */, 295 | 0AE956DE9D1F7173807A5BD146DA2778 /* Frameworks */, 296 | 6A71090F894A67C2B55E30DDBB5F257C /* Headers */, 297 | ); 298 | buildRules = ( 299 | ); 300 | dependencies = ( 301 | ); 302 | name = SquishButton; 303 | productName = SquishButton; 304 | productReference = 07C8373527EF48E45D8552296F7248E2 /* SquishButton.framework */; 305 | productType = "com.apple.product-type.framework"; 306 | }; 307 | /* End PBXNativeTarget section */ 308 | 309 | /* Begin PBXProject section */ 310 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 311 | isa = PBXProject; 312 | attributes = { 313 | LastSwiftUpdateCheck = 0730; 314 | LastUpgradeCheck = 0900; 315 | TargetAttributes = { 316 | B45DAB7C5BF08814BA4B08D2D95BE6BF = { 317 | LastSwiftMigration = 0900; 318 | }; 319 | }; 320 | }; 321 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 322 | compatibilityVersion = "Xcode 3.2"; 323 | developmentRegion = English; 324 | hasScannedForEncodings = 0; 325 | knownRegions = ( 326 | en, 327 | ); 328 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 329 | productRefGroup = 3B86A180D864380B8B88043D9013BE03 /* Products */; 330 | projectDirPath = ""; 331 | projectRoot = ""; 332 | targets = ( 333 | 044FCD01386DD3E7FF5C44AFA3822009 /* Pods-SquishButton_Example */, 334 | 6D2854DD6421B7B7FA71614767B3F119 /* Pods-SquishButton_Tests */, 335 | B45DAB7C5BF08814BA4B08D2D95BE6BF /* SquishButton */, 336 | ); 337 | }; 338 | /* End PBXProject section */ 339 | 340 | /* Begin PBXSourcesBuildPhase section */ 341 | 164D8E41B9ADB71F779B542DC5289052 /* Sources */ = { 342 | isa = PBXSourcesBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | DB2EEFC0208EE33B54256E0565F5E61B /* Pods-SquishButton_Tests-dummy.m in Sources */, 346 | ); 347 | runOnlyForDeploymentPostprocessing = 0; 348 | }; 349 | 59694A69AC7CCB6CDF3278CBA98D085E /* Sources */ = { 350 | isa = PBXSourcesBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | DAA99D7D29E00616C801B7B6CAEBAC9B /* SquishButton-dummy.m in Sources */, 354 | F14035864F319D81A5446FDA96589E79 /* SquishButton.swift in Sources */, 355 | ); 356 | runOnlyForDeploymentPostprocessing = 0; 357 | }; 358 | 693DF8069920824C0E493A251303BB75 /* Sources */ = { 359 | isa = PBXSourcesBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | 40CD09B65D8EBF8C9F577EBBBD702423 /* Pods-SquishButton_Example-dummy.m in Sources */, 363 | ); 364 | runOnlyForDeploymentPostprocessing = 0; 365 | }; 366 | /* End PBXSourcesBuildPhase section */ 367 | 368 | /* Begin PBXTargetDependency section */ 369 | 8ED09F9193DF4F9D10F39D9A96142344 /* PBXTargetDependency */ = { 370 | isa = PBXTargetDependency; 371 | name = SquishButton; 372 | target = B45DAB7C5BF08814BA4B08D2D95BE6BF /* SquishButton */; 373 | targetProxy = 62F60E5B817089BF4D997CEA5566FA59 /* PBXContainerItemProxy */; 374 | }; 375 | /* End PBXTargetDependency section */ 376 | 377 | /* Begin XCBuildConfiguration section */ 378 | 35F234B076BD848A382954655E00F586 /* Debug */ = { 379 | isa = XCBuildConfiguration; 380 | baseConfigurationReference = 2CAC9D344B99187900CB7DF897B58110 /* SquishButton.xcconfig */; 381 | buildSettings = { 382 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 383 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 384 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 385 | CURRENT_PROJECT_VERSION = 1; 386 | DEBUG_INFORMATION_FORMAT = dwarf; 387 | DEFINES_MODULE = YES; 388 | DYLIB_COMPATIBILITY_VERSION = 1; 389 | DYLIB_CURRENT_VERSION = 1; 390 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 391 | ENABLE_STRICT_OBJC_MSGSEND = YES; 392 | GCC_NO_COMMON_BLOCKS = YES; 393 | GCC_PREFIX_HEADER = "Target Support Files/SquishButton/SquishButton-prefix.pch"; 394 | INFOPLIST_FILE = "Target Support Files/SquishButton/Info.plist"; 395 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 396 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 397 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 398 | MODULEMAP_FILE = "Target Support Files/SquishButton/SquishButton.modulemap"; 399 | MTL_ENABLE_DEBUG_INFO = YES; 400 | PRODUCT_NAME = SquishButton; 401 | SDKROOT = iphoneos; 402 | SKIP_INSTALL = YES; 403 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 404 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 405 | SWIFT_VERSION = 4.0; 406 | TARGETED_DEVICE_FAMILY = "1,2"; 407 | VERSIONING_SYSTEM = "apple-generic"; 408 | VERSION_INFO_PREFIX = ""; 409 | }; 410 | name = Debug; 411 | }; 412 | 4197DDF9AC370F8FA04241122AB01E6D /* Debug */ = { 413 | isa = XCBuildConfiguration; 414 | baseConfigurationReference = 12C4CC94DF455C4C21C15F61AC5A2B0B /* Pods-SquishButton_Tests.debug.xcconfig */; 415 | buildSettings = { 416 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 417 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 418 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 419 | CURRENT_PROJECT_VERSION = 1; 420 | DEBUG_INFORMATION_FORMAT = dwarf; 421 | DEFINES_MODULE = YES; 422 | DYLIB_COMPATIBILITY_VERSION = 1; 423 | DYLIB_CURRENT_VERSION = 1; 424 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 425 | ENABLE_STRICT_OBJC_MSGSEND = YES; 426 | GCC_NO_COMMON_BLOCKS = YES; 427 | INFOPLIST_FILE = "Target Support Files/Pods-SquishButton_Tests/Info.plist"; 428 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 429 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 430 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 431 | MACH_O_TYPE = staticlib; 432 | MODULEMAP_FILE = "Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests.modulemap"; 433 | MTL_ENABLE_DEBUG_INFO = YES; 434 | OTHER_LDFLAGS = ""; 435 | OTHER_LIBTOOLFLAGS = ""; 436 | PODS_ROOT = "$(SRCROOT)"; 437 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 438 | PRODUCT_NAME = Pods_SquishButton_Tests; 439 | SDKROOT = iphoneos; 440 | SKIP_INSTALL = YES; 441 | TARGETED_DEVICE_FAMILY = "1,2"; 442 | VERSIONING_SYSTEM = "apple-generic"; 443 | VERSION_INFO_PREFIX = ""; 444 | }; 445 | name = Debug; 446 | }; 447 | 4673BE8BD6FA4F89678CC0746DF6774F /* Debug */ = { 448 | isa = XCBuildConfiguration; 449 | baseConfigurationReference = D840F0B1E1FA6DEC832FF0096FA55BD7 /* Pods-SquishButton_Example.debug.xcconfig */; 450 | buildSettings = { 451 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 452 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 453 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 454 | CURRENT_PROJECT_VERSION = 1; 455 | DEBUG_INFORMATION_FORMAT = dwarf; 456 | DEFINES_MODULE = YES; 457 | DYLIB_COMPATIBILITY_VERSION = 1; 458 | DYLIB_CURRENT_VERSION = 1; 459 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 460 | ENABLE_STRICT_OBJC_MSGSEND = YES; 461 | GCC_NO_COMMON_BLOCKS = YES; 462 | INFOPLIST_FILE = "Target Support Files/Pods-SquishButton_Example/Info.plist"; 463 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 464 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 465 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 466 | MACH_O_TYPE = staticlib; 467 | MODULEMAP_FILE = "Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example.modulemap"; 468 | MTL_ENABLE_DEBUG_INFO = YES; 469 | OTHER_LDFLAGS = ""; 470 | OTHER_LIBTOOLFLAGS = ""; 471 | PODS_ROOT = "$(SRCROOT)"; 472 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 473 | PRODUCT_NAME = Pods_SquishButton_Example; 474 | SDKROOT = iphoneos; 475 | SKIP_INSTALL = YES; 476 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 477 | TARGETED_DEVICE_FAMILY = "1,2"; 478 | VERSIONING_SYSTEM = "apple-generic"; 479 | VERSION_INFO_PREFIX = ""; 480 | }; 481 | name = Debug; 482 | }; 483 | 5BF3DCDB2D22026718F95AA961A5DD5C /* Release */ = { 484 | isa = XCBuildConfiguration; 485 | baseConfigurationReference = D6991FE5FB4DB64C2711CBD0340DECCB /* Pods-SquishButton_Example.release.xcconfig */; 486 | buildSettings = { 487 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 488 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 489 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 490 | CURRENT_PROJECT_VERSION = 1; 491 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 492 | DEFINES_MODULE = YES; 493 | DYLIB_COMPATIBILITY_VERSION = 1; 494 | DYLIB_CURRENT_VERSION = 1; 495 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 496 | ENABLE_STRICT_OBJC_MSGSEND = YES; 497 | GCC_NO_COMMON_BLOCKS = YES; 498 | INFOPLIST_FILE = "Target Support Files/Pods-SquishButton_Example/Info.plist"; 499 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 500 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 501 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 502 | MACH_O_TYPE = staticlib; 503 | MODULEMAP_FILE = "Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example.modulemap"; 504 | MTL_ENABLE_DEBUG_INFO = NO; 505 | OTHER_LDFLAGS = ""; 506 | OTHER_LIBTOOLFLAGS = ""; 507 | PODS_ROOT = "$(SRCROOT)"; 508 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 509 | PRODUCT_NAME = Pods_SquishButton_Example; 510 | SDKROOT = iphoneos; 511 | SKIP_INSTALL = YES; 512 | TARGETED_DEVICE_FAMILY = "1,2"; 513 | VERSIONING_SYSTEM = "apple-generic"; 514 | VERSION_INFO_PREFIX = ""; 515 | }; 516 | name = Release; 517 | }; 518 | 6F8EAB318A0E741FDAB1C6405FE89A18 /* Release */ = { 519 | isa = XCBuildConfiguration; 520 | baseConfigurationReference = E7531917BECEA030BAD842C869904A41 /* Pods-SquishButton_Tests.release.xcconfig */; 521 | buildSettings = { 522 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 523 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 524 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 525 | CURRENT_PROJECT_VERSION = 1; 526 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 527 | DEFINES_MODULE = YES; 528 | DYLIB_COMPATIBILITY_VERSION = 1; 529 | DYLIB_CURRENT_VERSION = 1; 530 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 531 | ENABLE_STRICT_OBJC_MSGSEND = YES; 532 | GCC_NO_COMMON_BLOCKS = YES; 533 | INFOPLIST_FILE = "Target Support Files/Pods-SquishButton_Tests/Info.plist"; 534 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 535 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 536 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 537 | MACH_O_TYPE = staticlib; 538 | MODULEMAP_FILE = "Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests.modulemap"; 539 | MTL_ENABLE_DEBUG_INFO = NO; 540 | OTHER_LDFLAGS = ""; 541 | OTHER_LIBTOOLFLAGS = ""; 542 | PODS_ROOT = "$(SRCROOT)"; 543 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 544 | PRODUCT_NAME = Pods_SquishButton_Tests; 545 | SDKROOT = iphoneos; 546 | SKIP_INSTALL = YES; 547 | TARGETED_DEVICE_FAMILY = "1,2"; 548 | VERSIONING_SYSTEM = "apple-generic"; 549 | VERSION_INFO_PREFIX = ""; 550 | }; 551 | name = Release; 552 | }; 553 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */ = { 554 | isa = XCBuildConfiguration; 555 | buildSettings = { 556 | ALWAYS_SEARCH_USER_PATHS = NO; 557 | CLANG_ANALYZER_NONNULL = YES; 558 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 559 | CLANG_CXX_LIBRARY = "libc++"; 560 | CLANG_ENABLE_MODULES = YES; 561 | CLANG_ENABLE_OBJC_ARC = YES; 562 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 563 | CLANG_WARN_BOOL_CONVERSION = YES; 564 | CLANG_WARN_COMMA = YES; 565 | CLANG_WARN_CONSTANT_CONVERSION = YES; 566 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 567 | CLANG_WARN_EMPTY_BODY = YES; 568 | CLANG_WARN_ENUM_CONVERSION = YES; 569 | CLANG_WARN_INFINITE_RECURSION = YES; 570 | CLANG_WARN_INT_CONVERSION = YES; 571 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 572 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 573 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 574 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 575 | CLANG_WARN_STRICT_PROTOTYPES = YES; 576 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 577 | CLANG_WARN_UNREACHABLE_CODE = YES; 578 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 579 | CODE_SIGNING_REQUIRED = NO; 580 | COPY_PHASE_STRIP = YES; 581 | ENABLE_NS_ASSERTIONS = NO; 582 | ENABLE_STRICT_OBJC_MSGSEND = YES; 583 | GCC_C_LANGUAGE_STANDARD = gnu99; 584 | GCC_NO_COMMON_BLOCKS = YES; 585 | GCC_PREPROCESSOR_DEFINITIONS = ( 586 | "POD_CONFIGURATION_RELEASE=1", 587 | "$(inherited)", 588 | ); 589 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 590 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 591 | GCC_WARN_UNDECLARED_SELECTOR = YES; 592 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 593 | GCC_WARN_UNUSED_FUNCTION = YES; 594 | GCC_WARN_UNUSED_VARIABLE = YES; 595 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 596 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 597 | STRIP_INSTALLED_PRODUCT = NO; 598 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 599 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 600 | SYMROOT = "${SRCROOT}/../build"; 601 | VALIDATE_PRODUCT = YES; 602 | }; 603 | name = Release; 604 | }; 605 | 91764508FBDA0EE3B5F8EDCED60A3CC7 /* Release */ = { 606 | isa = XCBuildConfiguration; 607 | baseConfigurationReference = 2CAC9D344B99187900CB7DF897B58110 /* SquishButton.xcconfig */; 608 | buildSettings = { 609 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 610 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 611 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 612 | CURRENT_PROJECT_VERSION = 1; 613 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 614 | DEFINES_MODULE = YES; 615 | DYLIB_COMPATIBILITY_VERSION = 1; 616 | DYLIB_CURRENT_VERSION = 1; 617 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 618 | ENABLE_STRICT_OBJC_MSGSEND = YES; 619 | GCC_NO_COMMON_BLOCKS = YES; 620 | GCC_PREFIX_HEADER = "Target Support Files/SquishButton/SquishButton-prefix.pch"; 621 | INFOPLIST_FILE = "Target Support Files/SquishButton/Info.plist"; 622 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 623 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 624 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 625 | MODULEMAP_FILE = "Target Support Files/SquishButton/SquishButton.modulemap"; 626 | MTL_ENABLE_DEBUG_INFO = NO; 627 | PRODUCT_NAME = SquishButton; 628 | SDKROOT = iphoneos; 629 | SKIP_INSTALL = YES; 630 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 631 | SWIFT_VERSION = 4.0; 632 | TARGETED_DEVICE_FAMILY = "1,2"; 633 | VERSIONING_SYSTEM = "apple-generic"; 634 | VERSION_INFO_PREFIX = ""; 635 | }; 636 | name = Release; 637 | }; 638 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */ = { 639 | isa = XCBuildConfiguration; 640 | buildSettings = { 641 | ALWAYS_SEARCH_USER_PATHS = NO; 642 | CLANG_ANALYZER_NONNULL = YES; 643 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 644 | CLANG_CXX_LIBRARY = "libc++"; 645 | CLANG_ENABLE_MODULES = YES; 646 | CLANG_ENABLE_OBJC_ARC = YES; 647 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 648 | CLANG_WARN_BOOL_CONVERSION = YES; 649 | CLANG_WARN_COMMA = YES; 650 | CLANG_WARN_CONSTANT_CONVERSION = YES; 651 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 652 | CLANG_WARN_EMPTY_BODY = YES; 653 | CLANG_WARN_ENUM_CONVERSION = YES; 654 | CLANG_WARN_INFINITE_RECURSION = YES; 655 | CLANG_WARN_INT_CONVERSION = YES; 656 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 657 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 658 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 659 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 660 | CLANG_WARN_STRICT_PROTOTYPES = YES; 661 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 662 | CLANG_WARN_UNREACHABLE_CODE = YES; 663 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 664 | CODE_SIGNING_REQUIRED = NO; 665 | COPY_PHASE_STRIP = NO; 666 | ENABLE_STRICT_OBJC_MSGSEND = YES; 667 | ENABLE_TESTABILITY = YES; 668 | GCC_C_LANGUAGE_STANDARD = gnu99; 669 | GCC_DYNAMIC_NO_PIC = NO; 670 | GCC_NO_COMMON_BLOCKS = YES; 671 | GCC_OPTIMIZATION_LEVEL = 0; 672 | GCC_PREPROCESSOR_DEFINITIONS = ( 673 | "POD_CONFIGURATION_DEBUG=1", 674 | "DEBUG=1", 675 | "$(inherited)", 676 | ); 677 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 678 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 679 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 680 | GCC_WARN_UNDECLARED_SELECTOR = YES; 681 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 682 | GCC_WARN_UNUSED_FUNCTION = YES; 683 | GCC_WARN_UNUSED_VARIABLE = YES; 684 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 685 | ONLY_ACTIVE_ARCH = YES; 686 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 687 | STRIP_INSTALLED_PRODUCT = NO; 688 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 689 | SYMROOT = "${SRCROOT}/../build"; 690 | }; 691 | name = Debug; 692 | }; 693 | /* End XCBuildConfiguration section */ 694 | 695 | /* Begin XCConfigurationList section */ 696 | 0D76445B44ECFEDF1E43419C235F24A9 /* Build configuration list for PBXNativeTarget "Pods-SquishButton_Example" */ = { 697 | isa = XCConfigurationList; 698 | buildConfigurations = ( 699 | 4673BE8BD6FA4F89678CC0746DF6774F /* Debug */, 700 | 5BF3DCDB2D22026718F95AA961A5DD5C /* Release */, 701 | ); 702 | defaultConfigurationIsVisible = 0; 703 | defaultConfigurationName = Release; 704 | }; 705 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 706 | isa = XCConfigurationList; 707 | buildConfigurations = ( 708 | 9E1E4E48AF2EAB23169E611BF694090A /* Debug */, 709 | 8DED8AD26D381A6ACFF202E5217EC498 /* Release */, 710 | ); 711 | defaultConfigurationIsVisible = 0; 712 | defaultConfigurationName = Release; 713 | }; 714 | 3DF2A5493218D79108EE2A15387491CF /* Build configuration list for PBXNativeTarget "Pods-SquishButton_Tests" */ = { 715 | isa = XCConfigurationList; 716 | buildConfigurations = ( 717 | 4197DDF9AC370F8FA04241122AB01E6D /* Debug */, 718 | 6F8EAB318A0E741FDAB1C6405FE89A18 /* Release */, 719 | ); 720 | defaultConfigurationIsVisible = 0; 721 | defaultConfigurationName = Release; 722 | }; 723 | C612366AB0D0425ACE92CF418F4B551A /* Build configuration list for PBXNativeTarget "SquishButton" */ = { 724 | isa = XCConfigurationList; 725 | buildConfigurations = ( 726 | 35F234B076BD848A382954655E00F586 /* Debug */, 727 | 91764508FBDA0EE3B5F8EDCED60A3CC7 /* Release */, 728 | ); 729 | defaultConfigurationIsVisible = 0; 730 | defaultConfigurationName = Release; 731 | }; 732 | /* End XCConfigurationList section */ 733 | }; 734 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 735 | } 736 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/SquishButton.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 70 | 71 | 72 | 73 | 75 | 76 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_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-SquishButton_Example/Pods-SquishButton_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## SquishButton 5 | 6 | Copyright (c) 2017 BalestraPatrick 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-SquishButton_Example/Pods-SquishButton_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) 2017 BalestraPatrick <me@patrickbalestra.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 | SquishButton 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-SquishButton_Example/Pods-SquishButton_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SquishButton_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SquishButton_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/SquishButton/SquishButton.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/SquishButton/SquishButton.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 45 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 46 | ;; 47 | *.xib) 48 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 49 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_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_SquishButton_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SquishButton_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SquishButton" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/SquishButton/SquishButton.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "SquishButton" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SquishButton_Example { 2 | umbrella header "Pods-SquishButton_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SquishButton" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/SquishButton/SquishButton.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "SquishButton" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_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-SquishButton_Tests/Pods-SquishButton_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-SquishButton_Tests/Pods-SquishButton_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-SquishButton_Tests/Pods-SquishButton_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SquishButton_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SquishButton_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 45 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 46 | ;; 47 | *.xib) 48 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 49 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_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_SquishButton_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SquishButton_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SquishButton" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/SquishButton/SquishButton.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SquishButton_Tests { 2 | umbrella header "Pods-SquishButton_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SquishButton" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/SquishButton/SquishButton.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SquishButton/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 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SquishButton/SquishButton-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SquishButton : NSObject 3 | @end 4 | @implementation PodsDummy_SquishButton 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SquishButton/SquishButton-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/SquishButton/SquishButton-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 SquishButtonVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char SquishButtonVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SquishButton/SquishButton.modulemap: -------------------------------------------------------------------------------- 1 | framework module SquishButton { 2 | umbrella header "SquishButton-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SquishButton/SquishButton.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SquishButton 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/SquishButton.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 12 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 13 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 14 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 15 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 16 | 8A834F4232BE13DFF778E6BD /* Pods_SquishButton_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B521986EE5C6E4DF55E1C12 /* Pods_SquishButton_Tests.framework */; }; 17 | A36B2B632E24A99CBEBFBD25 /* Pods_SquishButton_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61A02819B379110EC913533B /* Pods_SquishButton_Example.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = SquishButton; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 04BA459BA192EBA7569A1C56 /* Pods-SquishButton_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SquishButton_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests.release.xcconfig"; sourceTree = ""; }; 32 | 0E1F7DFBF515BB878E990B9D /* Pods-SquishButton_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SquishButton_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests.debug.xcconfig"; sourceTree = ""; }; 33 | 3B521986EE5C6E4DF55E1C12 /* Pods_SquishButton_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SquishButton_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 5E385CBDA0A2A7EDADFC6229 /* Pods-SquishButton_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SquishButton_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example.debug.xcconfig"; sourceTree = ""; }; 35 | 607FACD01AFB9204008FA782 /* SquishButton_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SquishButton_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 38 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 39 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 40 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 41 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 42 | 607FACE51AFB9204008FA782 /* SquishButton_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SquishButton_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 44 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 45 | 61A02819B379110EC913533B /* Pods_SquishButton_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SquishButton_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 72D7BC1134458490255C81A6 /* Pods-SquishButton_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SquishButton_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example.release.xcconfig"; sourceTree = ""; }; 47 | 7F6288DFF7D6EBDE068FB480 /* SquishButton.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SquishButton.podspec; path = ../SquishButton.podspec; sourceTree = ""; }; 48 | ABD868F268D012CC450F65AF /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 49 | E0BA194B7FEEB9621B8EB626 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | A36B2B632E24A99CBEBFBD25 /* Pods_SquishButton_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 8A834F4232BE13DFF778E6BD /* Pods_SquishButton_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 0BD5A971D7699AB7F073F0C8 /* Pods */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 5E385CBDA0A2A7EDADFC6229 /* Pods-SquishButton_Example.debug.xcconfig */, 76 | 72D7BC1134458490255C81A6 /* Pods-SquishButton_Example.release.xcconfig */, 77 | 0E1F7DFBF515BB878E990B9D /* Pods-SquishButton_Tests.debug.xcconfig */, 78 | 04BA459BA192EBA7569A1C56 /* Pods-SquishButton_Tests.release.xcconfig */, 79 | ); 80 | name = Pods; 81 | sourceTree = ""; 82 | }; 83 | 607FACC71AFB9204008FA782 = { 84 | isa = PBXGroup; 85 | children = ( 86 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 87 | 607FACD21AFB9204008FA782 /* Example for SquishButton */, 88 | 607FACE81AFB9204008FA782 /* Tests */, 89 | 607FACD11AFB9204008FA782 /* Products */, 90 | 0BD5A971D7699AB7F073F0C8 /* Pods */, 91 | 6F1ADAACEF0B39E10F089C1C /* Frameworks */, 92 | ); 93 | sourceTree = ""; 94 | }; 95 | 607FACD11AFB9204008FA782 /* Products */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 607FACD01AFB9204008FA782 /* SquishButton_Example.app */, 99 | 607FACE51AFB9204008FA782 /* SquishButton_Tests.xctest */, 100 | ); 101 | name = Products; 102 | sourceTree = ""; 103 | }; 104 | 607FACD21AFB9204008FA782 /* Example for SquishButton */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 108 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 109 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 110 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 111 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 112 | 607FACD31AFB9204008FA782 /* Supporting Files */, 113 | ); 114 | name = "Example for SquishButton"; 115 | path = SquishButton; 116 | sourceTree = ""; 117 | }; 118 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 607FACD41AFB9204008FA782 /* Info.plist */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | 607FACE81AFB9204008FA782 /* Tests */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 130 | 607FACE91AFB9204008FA782 /* Supporting Files */, 131 | ); 132 | path = Tests; 133 | sourceTree = ""; 134 | }; 135 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 607FACEA1AFB9204008FA782 /* Info.plist */, 139 | ); 140 | name = "Supporting Files"; 141 | sourceTree = ""; 142 | }; 143 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 7F6288DFF7D6EBDE068FB480 /* SquishButton.podspec */, 147 | E0BA194B7FEEB9621B8EB626 /* README.md */, 148 | ABD868F268D012CC450F65AF /* LICENSE */, 149 | ); 150 | name = "Podspec Metadata"; 151 | sourceTree = ""; 152 | }; 153 | 6F1ADAACEF0B39E10F089C1C /* Frameworks */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 61A02819B379110EC913533B /* Pods_SquishButton_Example.framework */, 157 | 3B521986EE5C6E4DF55E1C12 /* Pods_SquishButton_Tests.framework */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* SquishButton_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SquishButton_Example" */; 168 | buildPhases = ( 169 | EEB499A29CBD85F11CCED87B /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 268CC22C46F9930EFA9C68EC /* [CP] Embed Pods Frameworks */, 174 | 031E62E8FB956B09AE77EA6E /* [CP] Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = SquishButton_Example; 181 | productName = SquishButton; 182 | productReference = 607FACD01AFB9204008FA782 /* SquishButton_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* SquishButton_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SquishButton_Tests" */; 188 | buildPhases = ( 189 | E50EBA0A81B58FDA26B2A198 /* [CP] Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | 37C8AEF93E23E9D7F6EE3F85 /* [CP] Embed Pods Frameworks */, 194 | CF83C1231AD0B8C07A72404F /* [CP] Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = SquishButton_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* SquishButton_Tests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 607FACC81AFB9204008FA782 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | LastSwiftUpdateCheck = 0720; 213 | LastUpgradeCheck = 0900; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | DevelopmentTeam = 2EZDW5DVTJ; 219 | LastSwiftMigration = 0900; 220 | }; 221 | 607FACE41AFB9204008FA782 = { 222 | CreatedOnToolsVersion = 6.3.1; 223 | DevelopmentTeam = 2EZDW5DVTJ; 224 | LastSwiftMigration = 0900; 225 | TestTargetID = 607FACCF1AFB9204008FA782; 226 | }; 227 | }; 228 | }; 229 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SquishButton" */; 230 | compatibilityVersion = "Xcode 3.2"; 231 | developmentRegion = English; 232 | hasScannedForEncodings = 0; 233 | knownRegions = ( 234 | en, 235 | Base, 236 | ); 237 | mainGroup = 607FACC71AFB9204008FA782; 238 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 239 | projectDirPath = ""; 240 | projectRoot = ""; 241 | targets = ( 242 | 607FACCF1AFB9204008FA782 /* SquishButton_Example */, 243 | 607FACE41AFB9204008FA782 /* SquishButton_Tests */, 244 | ); 245 | }; 246 | /* End PBXProject section */ 247 | 248 | /* Begin PBXResourcesBuildPhase section */ 249 | 607FACCE1AFB9204008FA782 /* Resources */ = { 250 | isa = PBXResourcesBuildPhase; 251 | buildActionMask = 2147483647; 252 | files = ( 253 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 254 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 255 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 256 | ); 257 | runOnlyForDeploymentPostprocessing = 0; 258 | }; 259 | 607FACE31AFB9204008FA782 /* Resources */ = { 260 | isa = PBXResourcesBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | /* End PBXResourcesBuildPhase section */ 267 | 268 | /* Begin PBXShellScriptBuildPhase section */ 269 | 031E62E8FB956B09AE77EA6E /* [CP] Copy Pods Resources */ = { 270 | isa = PBXShellScriptBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | ); 274 | inputPaths = ( 275 | ); 276 | name = "[CP] Copy Pods Resources"; 277 | outputPaths = ( 278 | ); 279 | runOnlyForDeploymentPostprocessing = 0; 280 | shellPath = /bin/sh; 281 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example-resources.sh\"\n"; 282 | showEnvVarsInLog = 0; 283 | }; 284 | 268CC22C46F9930EFA9C68EC /* [CP] Embed Pods Frameworks */ = { 285 | isa = PBXShellScriptBuildPhase; 286 | buildActionMask = 2147483647; 287 | files = ( 288 | ); 289 | inputPaths = ( 290 | ); 291 | name = "[CP] Embed Pods Frameworks"; 292 | outputPaths = ( 293 | ); 294 | runOnlyForDeploymentPostprocessing = 0; 295 | shellPath = /bin/sh; 296 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SquishButton_Example/Pods-SquishButton_Example-frameworks.sh\"\n"; 297 | showEnvVarsInLog = 0; 298 | }; 299 | 37C8AEF93E23E9D7F6EE3F85 /* [CP] Embed Pods Frameworks */ = { 300 | isa = PBXShellScriptBuildPhase; 301 | buildActionMask = 2147483647; 302 | files = ( 303 | ); 304 | inputPaths = ( 305 | ); 306 | name = "[CP] Embed Pods Frameworks"; 307 | outputPaths = ( 308 | ); 309 | runOnlyForDeploymentPostprocessing = 0; 310 | shellPath = /bin/sh; 311 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests-frameworks.sh\"\n"; 312 | showEnvVarsInLog = 0; 313 | }; 314 | CF83C1231AD0B8C07A72404F /* [CP] Copy Pods Resources */ = { 315 | isa = PBXShellScriptBuildPhase; 316 | buildActionMask = 2147483647; 317 | files = ( 318 | ); 319 | inputPaths = ( 320 | ); 321 | name = "[CP] Copy Pods Resources"; 322 | outputPaths = ( 323 | ); 324 | runOnlyForDeploymentPostprocessing = 0; 325 | shellPath = /bin/sh; 326 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SquishButton_Tests/Pods-SquishButton_Tests-resources.sh\"\n"; 327 | showEnvVarsInLog = 0; 328 | }; 329 | E50EBA0A81B58FDA26B2A198 /* [CP] Check Pods Manifest.lock */ = { 330 | isa = PBXShellScriptBuildPhase; 331 | buildActionMask = 2147483647; 332 | files = ( 333 | ); 334 | inputPaths = ( 335 | ); 336 | name = "[CP] Check Pods Manifest.lock"; 337 | outputPaths = ( 338 | ); 339 | runOnlyForDeploymentPostprocessing = 0; 340 | shellPath = /bin/sh; 341 | shellScript = "diff \"${PODS_ROOT}/../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"; 342 | showEnvVarsInLog = 0; 343 | }; 344 | EEB499A29CBD85F11CCED87B /* [CP] Check Pods Manifest.lock */ = { 345 | isa = PBXShellScriptBuildPhase; 346 | buildActionMask = 2147483647; 347 | files = ( 348 | ); 349 | inputPaths = ( 350 | ); 351 | name = "[CP] Check Pods Manifest.lock"; 352 | outputPaths = ( 353 | ); 354 | runOnlyForDeploymentPostprocessing = 0; 355 | shellPath = /bin/sh; 356 | shellScript = "diff \"${PODS_ROOT}/../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"; 357 | showEnvVarsInLog = 0; 358 | }; 359 | /* End PBXShellScriptBuildPhase section */ 360 | 361 | /* Begin PBXSourcesBuildPhase section */ 362 | 607FACCC1AFB9204008FA782 /* Sources */ = { 363 | isa = PBXSourcesBuildPhase; 364 | buildActionMask = 2147483647; 365 | files = ( 366 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 367 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 368 | ); 369 | runOnlyForDeploymentPostprocessing = 0; 370 | }; 371 | 607FACE11AFB9204008FA782 /* Sources */ = { 372 | isa = PBXSourcesBuildPhase; 373 | buildActionMask = 2147483647; 374 | files = ( 375 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 376 | ); 377 | runOnlyForDeploymentPostprocessing = 0; 378 | }; 379 | /* End PBXSourcesBuildPhase section */ 380 | 381 | /* Begin PBXTargetDependency section */ 382 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 383 | isa = PBXTargetDependency; 384 | target = 607FACCF1AFB9204008FA782 /* SquishButton_Example */; 385 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 386 | }; 387 | /* End PBXTargetDependency section */ 388 | 389 | /* Begin PBXVariantGroup section */ 390 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 391 | isa = PBXVariantGroup; 392 | children = ( 393 | 607FACDA1AFB9204008FA782 /* Base */, 394 | ); 395 | name = Main.storyboard; 396 | sourceTree = ""; 397 | }; 398 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 399 | isa = PBXVariantGroup; 400 | children = ( 401 | 607FACDF1AFB9204008FA782 /* Base */, 402 | ); 403 | name = LaunchScreen.xib; 404 | sourceTree = ""; 405 | }; 406 | /* End PBXVariantGroup section */ 407 | 408 | /* Begin XCBuildConfiguration section */ 409 | 607FACED1AFB9204008FA782 /* Debug */ = { 410 | isa = XCBuildConfiguration; 411 | buildSettings = { 412 | ALWAYS_SEARCH_USER_PATHS = NO; 413 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 414 | CLANG_CXX_LIBRARY = "libc++"; 415 | CLANG_ENABLE_MODULES = YES; 416 | CLANG_ENABLE_OBJC_ARC = YES; 417 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 418 | CLANG_WARN_BOOL_CONVERSION = YES; 419 | CLANG_WARN_COMMA = YES; 420 | CLANG_WARN_CONSTANT_CONVERSION = YES; 421 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 422 | CLANG_WARN_EMPTY_BODY = YES; 423 | CLANG_WARN_ENUM_CONVERSION = YES; 424 | CLANG_WARN_INFINITE_RECURSION = YES; 425 | CLANG_WARN_INT_CONVERSION = YES; 426 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 427 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 428 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 429 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 430 | CLANG_WARN_STRICT_PROTOTYPES = YES; 431 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 432 | CLANG_WARN_UNREACHABLE_CODE = YES; 433 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 434 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 435 | COPY_PHASE_STRIP = NO; 436 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 437 | ENABLE_STRICT_OBJC_MSGSEND = YES; 438 | ENABLE_TESTABILITY = YES; 439 | GCC_C_LANGUAGE_STANDARD = gnu99; 440 | GCC_DYNAMIC_NO_PIC = NO; 441 | GCC_NO_COMMON_BLOCKS = YES; 442 | GCC_OPTIMIZATION_LEVEL = 0; 443 | GCC_PREPROCESSOR_DEFINITIONS = ( 444 | "DEBUG=1", 445 | "$(inherited)", 446 | ); 447 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 448 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 449 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 450 | GCC_WARN_UNDECLARED_SELECTOR = YES; 451 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 452 | GCC_WARN_UNUSED_FUNCTION = YES; 453 | GCC_WARN_UNUSED_VARIABLE = YES; 454 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 455 | MTL_ENABLE_DEBUG_INFO = YES; 456 | ONLY_ACTIVE_ARCH = YES; 457 | SDKROOT = iphoneos; 458 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 459 | }; 460 | name = Debug; 461 | }; 462 | 607FACEE1AFB9204008FA782 /* Release */ = { 463 | isa = XCBuildConfiguration; 464 | buildSettings = { 465 | ALWAYS_SEARCH_USER_PATHS = NO; 466 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 467 | CLANG_CXX_LIBRARY = "libc++"; 468 | CLANG_ENABLE_MODULES = YES; 469 | CLANG_ENABLE_OBJC_ARC = YES; 470 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 471 | CLANG_WARN_BOOL_CONVERSION = YES; 472 | CLANG_WARN_COMMA = YES; 473 | CLANG_WARN_CONSTANT_CONVERSION = YES; 474 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 475 | CLANG_WARN_EMPTY_BODY = YES; 476 | CLANG_WARN_ENUM_CONVERSION = YES; 477 | CLANG_WARN_INFINITE_RECURSION = YES; 478 | CLANG_WARN_INT_CONVERSION = YES; 479 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 480 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 481 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 482 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 483 | CLANG_WARN_STRICT_PROTOTYPES = YES; 484 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 485 | CLANG_WARN_UNREACHABLE_CODE = YES; 486 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 487 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 488 | COPY_PHASE_STRIP = NO; 489 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 490 | ENABLE_NS_ASSERTIONS = NO; 491 | ENABLE_STRICT_OBJC_MSGSEND = YES; 492 | GCC_C_LANGUAGE_STANDARD = gnu99; 493 | GCC_NO_COMMON_BLOCKS = YES; 494 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 495 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 496 | GCC_WARN_UNDECLARED_SELECTOR = YES; 497 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 498 | GCC_WARN_UNUSED_FUNCTION = YES; 499 | GCC_WARN_UNUSED_VARIABLE = YES; 500 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 501 | MTL_ENABLE_DEBUG_INFO = NO; 502 | SDKROOT = iphoneos; 503 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 504 | VALIDATE_PRODUCT = YES; 505 | }; 506 | name = Release; 507 | }; 508 | 607FACF01AFB9204008FA782 /* Debug */ = { 509 | isa = XCBuildConfiguration; 510 | baseConfigurationReference = 5E385CBDA0A2A7EDADFC6229 /* Pods-SquishButton_Example.debug.xcconfig */; 511 | buildSettings = { 512 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 513 | DEVELOPMENT_TEAM = 2EZDW5DVTJ; 514 | INFOPLIST_FILE = SquishButton/Info.plist; 515 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 516 | MODULE_NAME = ExampleApp; 517 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 518 | PRODUCT_NAME = "$(TARGET_NAME)"; 519 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 520 | SWIFT_VERSION = 4.0; 521 | }; 522 | name = Debug; 523 | }; 524 | 607FACF11AFB9204008FA782 /* Release */ = { 525 | isa = XCBuildConfiguration; 526 | baseConfigurationReference = 72D7BC1134458490255C81A6 /* Pods-SquishButton_Example.release.xcconfig */; 527 | buildSettings = { 528 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 529 | DEVELOPMENT_TEAM = 2EZDW5DVTJ; 530 | INFOPLIST_FILE = SquishButton/Info.plist; 531 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 532 | MODULE_NAME = ExampleApp; 533 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 534 | PRODUCT_NAME = "$(TARGET_NAME)"; 535 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 536 | SWIFT_VERSION = 4.0; 537 | }; 538 | name = Release; 539 | }; 540 | 607FACF31AFB9204008FA782 /* Debug */ = { 541 | isa = XCBuildConfiguration; 542 | baseConfigurationReference = 0E1F7DFBF515BB878E990B9D /* Pods-SquishButton_Tests.debug.xcconfig */; 543 | buildSettings = { 544 | DEVELOPMENT_TEAM = 2EZDW5DVTJ; 545 | FRAMEWORK_SEARCH_PATHS = "$(inherited)"; 546 | GCC_PREPROCESSOR_DEFINITIONS = ( 547 | "DEBUG=1", 548 | "$(inherited)", 549 | ); 550 | INFOPLIST_FILE = Tests/Info.plist; 551 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 552 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 553 | PRODUCT_NAME = "$(TARGET_NAME)"; 554 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 555 | SWIFT_VERSION = 4.0; 556 | }; 557 | name = Debug; 558 | }; 559 | 607FACF41AFB9204008FA782 /* Release */ = { 560 | isa = XCBuildConfiguration; 561 | baseConfigurationReference = 04BA459BA192EBA7569A1C56 /* Pods-SquishButton_Tests.release.xcconfig */; 562 | buildSettings = { 563 | DEVELOPMENT_TEAM = 2EZDW5DVTJ; 564 | FRAMEWORK_SEARCH_PATHS = "$(inherited)"; 565 | INFOPLIST_FILE = Tests/Info.plist; 566 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 567 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 568 | PRODUCT_NAME = "$(TARGET_NAME)"; 569 | SWIFT_SWIFT3_OBJC_INFERENCE = Off; 570 | SWIFT_VERSION = 4.0; 571 | }; 572 | name = Release; 573 | }; 574 | /* End XCBuildConfiguration section */ 575 | 576 | /* Begin XCConfigurationList section */ 577 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SquishButton" */ = { 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 "SquishButton_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 "SquishButton_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/SquishButton.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/SquishButton.xcodeproj/xcshareddata/xcschemes/SquishButton-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/SquishButton.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/SquishButton/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // SquishButton 4 | // 5 | // Created by BalestraPatrick on 04/08/2017. 6 | // Copyright (c) 2017 BalestraPatrick. 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/SquishButton/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/SquishButton/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 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/SquishButton/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/SquishButton/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 | UIStatusBarStyle 34 | UIStatusBarStyleLightContent 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | 40 | UIViewControllerBasedStatusBarAppearance 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /Example/SquishButton/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // SquishButton 4 | // 5 | // Created by BalestraPatrick on 04/08/2017. 6 | // Copyright (c) 2017 BalestraPatrick. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import SquishButton 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var button: SquishButton! 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import SquishButton 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Patrick Balestra 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 |

2 | 3 |

4 | 5 |

6 | 7 | CocoaPods 8 | 9 | 10 | CocoaPods 11 | 12 | 13 | Carthage 14 | 15 | 16 | License 17 | 18 | 19 | Platform 20 | 21 | 22 | Twitter: @BalestraPatrick 23 | 24 |

25 | 26 | Inspired by the new [Clips app](http://www.apple.com/lae/clips/) record button, `SquishButton` is a `UIButton` subclass that implements the same design and behavior. 27 | 28 | ## Usage 29 | Use it as every other `UIButton` object and customize it to suit your needs. These are the public properties that `SquishButton` adds: 30 | 31 | ```swift 32 | /// The number of pixels to scale the inner rectangle. 33 | open var scaling = CGFloat(10) 34 | 35 | /// The duration of the animation when the button is in the highlighted state. 36 | open var animationDuration = 0.15 37 | 38 | /// The color of the inner rectangle. 39 | open var color = UIColor(red: 244.0/255.0, green: 51.0/255.0, blue: 50.0/255.0, alpha: 1.0) 40 | 41 | /// The inset between the outer border and inner rectangle. 42 | open var innerInset = CGFloat(5) 43 | ``` 44 | 45 | ## Requirements 46 | iOS 8.3 and Swift 3.2. 47 | 48 | If you are using Swift 4, please use the [swift4 branch](https://github.com/BalestraPatrick/SquishButton/tree/swift4). 49 | 50 | ## Installation 51 | 52 | SquishButton is available through [CocoaPods](http://cocoapods.org). To install 53 | it, simply add the following line to your Podfile: 54 | 55 | ```ruby 56 | pod 'SquishButton' 57 | ``` 58 | 59 | You can also use [Carthage](https://github.com/Carthage/Carthage) if you prefer. Add this line to your `Cartfile`. 60 | 61 | ```ruby 62 | github "BalestraPatrick/SquishButton" 63 | ``` 64 | 65 | ## Author 66 | 67 | I'm [Patrick Balestra](http://www.patrickbalestra.com). 68 | Email: [me@patrickbalestra.com](mailto:me@patrickbalestra.com) 69 | Twitter: [@BalestraPatrick](http://twitter.com/BalestraPatrick). 70 | 71 | ## License 72 | 73 | `SquishButton` is available under the MIT license. See the [LICENSE](LICENSE) file for more info. 74 | -------------------------------------------------------------------------------- /SquishButton.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'SquishButton' 3 | s.version = '0.2' 4 | s.summary = 'A button that squishes when pressed. As seen in the Clips app.' 5 | 6 | # This description is used to generate tags and improve search results. 7 | # * Think: What does it do? Why did you write it? What is the focus? 8 | # * Try to keep it short, snappy and to the point. 9 | # * Write the description between the DESC delimiters below. 10 | # * Finally, don't worry about the indent, CocoaPods strips it! 11 | 12 | s.description = <<-DESC 13 | SquishButton responds to touches with a simple and nice animation. Customize the animation behavior and the button style as you wish. 14 | DESC 15 | 16 | s.homepage = 'https://github.com/BalestraPatrick/SquishButton' 17 | s.license = { :type => 'MIT', :file => 'LICENSE' } 18 | s.author = { 'BalestraPatrick' => 'me@patrickbalestra.com' } 19 | s.source = { :git => 'https://github.com/BalestraPatrick/SquishButton.git', :tag => s.version.to_s } 20 | s.social_media_url = 'https://twitter.com/BalestraPatrick' 21 | 22 | s.ios.deployment_target = '8.3' 23 | 24 | s.source_files = 'SquishButton/Classes/**/*' 25 | 26 | # s.resource_bundles = { 27 | # 'SquishyButton' => ['SquishyButton/Assets/*.png'] 28 | # } 29 | 30 | # s.public_header_files = 'Pod/Classes/**/*.h' 31 | # s.frameworks = 'UIKit', 'MapKit' 32 | end 33 | -------------------------------------------------------------------------------- /SquishButton/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BalestraPatrick/SquishButton/f651e3d3fd56605a3f2bdf88e4db06bffd752704/SquishButton/Assets/.gitkeep -------------------------------------------------------------------------------- /SquishButton/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BalestraPatrick/SquishButton/f651e3d3fd56605a3f2bdf88e4db06bffd752704/SquishButton/Classes/.gitkeep -------------------------------------------------------------------------------- /SquishButton/Classes/SquishButton.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SquishButton 3 | // Released under the MIT license. 4 | // http://github.com/BalestraPatrick/SquishButton 5 | // 6 | // Created by Patrick Balestra on 04/08/2017. 7 | // Copyright (c) 2017 Patrick Balestra. All rights reserved. 8 | // 9 | 10 | import UIKit 11 | 12 | open class SquishButton: UIButton { 13 | 14 | // MARK: Public properties 15 | 16 | /// The number of pixels to scale the inner rectangle. 17 | open var scaling = CGFloat(10) 18 | 19 | /// The duration of the animation when the button is in the highlighted state. 20 | open var animationDuration = 0.15 21 | 22 | /// The color of the inner rectangle. 23 | open var color = UIColor(red: 244.0/255.0, green: 51.0/255.0, blue: 50.0/255.0, alpha: 1.0) 24 | 25 | /// The inset between the outer border and inner rectangle. 26 | open var innerInset = CGFloat(5) { 27 | didSet { 28 | innerShape.path = UIBezierPath(roundedRect: bounds.insetBy(dx: innerInset, dy: innerInset), cornerRadius: bounds.height / 2).cgPath 29 | } 30 | } 31 | 32 | // MARK: Overriden properties 33 | 34 | override open var isHighlighted: Bool { 35 | didSet { 36 | guard oldValue != isHighlighted else { return } 37 | animateHighlight() 38 | } 39 | } 40 | 41 | open override var frame: CGRect { 42 | didSet { 43 | setUp() 44 | } 45 | } 46 | 47 | // MARK: Private properties 48 | 49 | private var innerShape: CAShapeLayer! 50 | private let scaleX = "scale.x" 51 | private let scaleY = "scale.y" 52 | 53 | // MARK: Public initializers 54 | 55 | init() { 56 | super.init(frame: .zero) 57 | setUp() 58 | } 59 | 60 | override public init(frame: CGRect) { 61 | super.init(frame: frame) 62 | setUp() 63 | } 64 | 65 | required public init?(coder aDecoder: NSCoder) { 66 | super.init(coder: aDecoder) 67 | setUp() 68 | } 69 | 70 | func setUp() { 71 | setTitleColor(.white, for: .normal) 72 | setTitleColor(.clear, for: .highlighted) 73 | 74 | layer.cornerRadius = bounds.height / 2 75 | layer.borderWidth = 2 76 | layer.borderColor = UIColor.white.cgColor 77 | 78 | innerShape = CAShapeLayer() 79 | innerShape.frame = bounds 80 | innerShape.path = UIBezierPath(roundedRect: bounds.insetBy(dx: innerInset, dy: innerInset), cornerRadius: bounds.height / 2).cgPath 81 | innerShape.fillColor = color.cgColor 82 | layer.addSublayer(innerShape) 83 | } 84 | 85 | func animateHighlight() { 86 | 87 | // Scale by the same absolute amount on each side for equal spacing with the outer border. 88 | let scalingFactorX = 1 - (scaling / innerShape.bounds.width) 89 | let scalingFactorY = 1 - (scaling / innerShape.bounds.height) 90 | 91 | let animationX = CABasicAnimation(keyPath: "transform.scale.x") 92 | animationX.duration = animationDuration 93 | animationX.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut) 94 | 95 | let animationY = CABasicAnimation(keyPath: "transform.scale.y") 96 | animationY.duration = animationDuration 97 | animationY.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseInEaseOut) 98 | 99 | if isHighlighted { 100 | animationX.toValue = scalingFactorX 101 | animationX.isRemovedOnCompletion = false 102 | animationX.fillMode = kCAFillModeForwards 103 | innerShape.add(animationX, forKey: scaleX) 104 | 105 | animationY.toValue = scalingFactorY 106 | animationY.isRemovedOnCompletion = false 107 | animationY.fillMode = kCAFillModeForwards 108 | innerShape.add(animationY, forKey: scaleY) 109 | } else { 110 | animationX.fromValue = scalingFactorX 111 | animationX.toValue = 1.0 112 | innerShape.add(animationX, forKey: scaleX) 113 | 114 | animationY.fromValue = scalingFactorY 115 | animationY.toValue = 1.0 116 | innerShape.add(animationY, forKey: scaleY) 117 | } 118 | } 119 | } 120 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BalestraPatrick/SquishButton/f651e3d3fd56605a3f2bdf88e4db06bffd752704/demo.gif --------------------------------------------------------------------------------