├── .gitignore ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── rubber-range-picker.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ └── Target Support Files │ │ ├── Pods-rubber-range-picker_Example │ │ ├── Pods-rubber-range-picker_Example-Info.plist │ │ ├── Pods-rubber-range-picker_Example-acknowledgements.markdown │ │ ├── Pods-rubber-range-picker_Example-acknowledgements.plist │ │ ├── Pods-rubber-range-picker_Example-dummy.m │ │ ├── Pods-rubber-range-picker_Example-frameworks.sh │ │ ├── Pods-rubber-range-picker_Example-umbrella.h │ │ ├── Pods-rubber-range-picker_Example.debug.xcconfig │ │ ├── Pods-rubber-range-picker_Example.modulemap │ │ └── Pods-rubber-range-picker_Example.release.xcconfig │ │ ├── Pods-rubber-range-picker_Tests │ │ ├── Pods-rubber-range-picker_Tests-Info.plist │ │ ├── Pods-rubber-range-picker_Tests-acknowledgements.markdown │ │ ├── Pods-rubber-range-picker_Tests-acknowledgements.plist │ │ ├── Pods-rubber-range-picker_Tests-dummy.m │ │ ├── Pods-rubber-range-picker_Tests-umbrella.h │ │ ├── Pods-rubber-range-picker_Tests.debug.xcconfig │ │ ├── Pods-rubber-range-picker_Tests.modulemap │ │ └── Pods-rubber-range-picker_Tests.release.xcconfig │ │ └── rubber-range-picker │ │ ├── rubber-range-picker-Info.plist │ │ ├── rubber-range-picker-dummy.m │ │ ├── rubber-range-picker-prefix.pch │ │ ├── rubber-range-picker-umbrella.h │ │ ├── rubber-range-picker.modulemap │ │ └── rubber-range-picker.xcconfig ├── rubber-range-picker.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── rubber-range-picker-Example.xcscheme ├── rubber-range-picker.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── rubber-range-picker │ ├── AppDelegate.swift │ ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Images.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon_60@2x.png │ │ └── Icon_60@3x.png │ ├── Contents.json │ └── cuberto-logo.imageset │ │ ├── Contents.json │ │ ├── cuberto-logo.png │ │ ├── cuberto-logo@2x.png │ │ └── cuberto-logo@3x.png │ ├── Info.plist │ ├── ViewController.swift │ └── en.lproj │ └── LaunchScreen.strings ├── LICENSE ├── README.md ├── Screenshots └── animation.gif ├── _Pods.xcodeproj ├── rubber-range-picker.podspec └── rubber-range-picker ├── Assets └── .gitkeep └── Classes ├── .gitkeep ├── Extensions.swift ├── RubberRangePicker.swift ├── RubberRangeThumb.swift └── RubberTrackLayer.swift /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore 4 | .DS_Store 5 | 6 | ## Build generated 7 | build/ 8 | DerivedData/ 9 | 10 | ## Various settings 11 | *.pbxuser 12 | !default.pbxuser 13 | *.mode1v3 14 | !default.mode1v3 15 | *.mode2v3 16 | !default.mode2v3 17 | *.perspectivev3 18 | !default.perspectivev3 19 | xcuserdata/ 20 | 21 | ## Other 22 | *.moved-aside 23 | *.xccheckout 24 | *.xcscmblueprint 25 | 26 | ## Obj-C/Swift specific 27 | *.hmap 28 | *.ipa 29 | *.dSYM.zip 30 | *.dSYM 31 | 32 | ## Playgrounds 33 | timeline.xctimeline 34 | playground.xcworkspace 35 | 36 | # Swift Package Manager 37 | # 38 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 39 | # Packages/ 40 | # Package.pins 41 | # Package.resolved 42 | .build/ 43 | 44 | # CocoaPods 45 | # 46 | # We recommend against adding the Pods directory to your .gitignore. However 47 | # you should judge for yourself, the pros and cons are mentioned at: 48 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control 49 | # 50 | # Pods/ 51 | 52 | # Carthage 53 | # 54 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 55 | # Carthage/Checkouts 56 | 57 | Carthage/Build 58 | 59 | # fastlane 60 | # 61 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 62 | # screenshots whenever they are needed. 63 | # For more information about the recommended setup visit: 64 | # https://docs.fastlane.tools/best-practices/source-control/#source-control 65 | 66 | fastlane/report.xml 67 | fastlane/Preview.html 68 | fastlane/screenshots/**/*.png 69 | fastlane/test_output 70 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'rubber-range-picker_Example' do 4 | pod 'rubber-range-picker', :path => '../' 5 | 6 | target 'rubber-range-picker_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - rubber-range-picker (0.4.0) 3 | 4 | DEPENDENCIES: 5 | - rubber-range-picker (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | rubber-range-picker: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | rubber-range-picker: 1800171bff0e52e2b5ebea61e1c1fb66480a7f2f 13 | 14 | PODFILE CHECKSUM: a1754a63117d70152c8240aef9f03b14fe2e677a 15 | 16 | COCOAPODS: 1.6.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/rubber-range-picker.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rubber-range-picker", 3 | "version": "0.4.0", 4 | "swift_version": "4.2", 5 | "summary": "Two-sided slider with elastic behavior", 6 | "homepage": "https://github.com/Cuberto/rubber-range-picker", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Anton Skopin": "askopin@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/Cuberto/rubber-range-picker.git", 16 | "tag": "0.4.0" 17 | }, 18 | "social_media_url": "https://twitter.com/cuberto", 19 | "platforms": { 20 | "ios": "9.3" 21 | }, 22 | "source_files": "rubber-range-picker/Classes/**/*" 23 | } 24 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - rubber-range-picker (0.4.0) 3 | 4 | DEPENDENCIES: 5 | - rubber-range-picker (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | rubber-range-picker: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | rubber-range-picker: 1800171bff0e52e2b5ebea61e1c1fb66480a7f2f 13 | 14 | PODFILE CHECKSUM: a1754a63117d70152c8240aef9f03b14fe2e677a 15 | 16 | COCOAPODS: 1.6.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 | 009B1A69408005CF0554EFC4B2B3999A /* Pods-rubber-range-picker_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 570AF27EF154A9C6EF8B59C74AA80C80 /* Pods-rubber-range-picker_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 1132C32AC6F0C8AFC2ED5B46FE9A51DD /* Pods-rubber-range-picker_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B07C5CF8A46B1E15261A81D0816F41C0 /* Pods-rubber-range-picker_Example-dummy.m */; }; 12 | 185979276B059CF32E1ACB729EFA8F98 /* Pods-rubber-range-picker_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5AA641846B7E291A76D504FB3656B5CC /* Pods-rubber-range-picker_Tests-dummy.m */; }; 13 | 1E63009E8A335A9A6D25B123A09A594A /* rubber-range-picker-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B8B8E9CC3EDD4DC99689AE39C2BD63F7 /* rubber-range-picker-dummy.m */; }; 14 | 2DC910D25867B3A7C78C540E4FA153B5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 15 | 4F0A32A4DB27F5EC3F3047BFD2BBAF1C /* rubber-range-picker-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 42DCFA0501659594AAE3D9A3754395B2 /* rubber-range-picker-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 7FBDED2FB3288CC655E1103F763E6EB7 /* RubberRangePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF5EF33D59484E95A3A1F26187522E5B /* RubberRangePicker.swift */; }; 17 | 845564B1E226E08ADA181B7BC3558868 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 18 | D85BAB28C803905D6910CC1ED3D99C6C /* RubberTrackLayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 301E401938738AD175EC8A6CEF4304B3 /* RubberTrackLayer.swift */; }; 19 | E3E579FAA5D5A988DBA212C5DC529E0D /* RubberRangeThumb.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B31E09E038DF020379C88EA42A1B430 /* RubberRangeThumb.swift */; }; 20 | E63AB4080653BAEA03CCA492D602DDBD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */; }; 21 | F124824A0031AF2BF3DADB8417A6A7B3 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6CB10DA3A71D8D53B39693E7158C11BE /* Extensions.swift */; }; 22 | FAA69377525D50A955CAFB0DB409F70D /* Pods-rubber-range-picker_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2B2EE19BDB54427124A0134D854DB7C9 /* Pods-rubber-range-picker_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | 2881426938E5B8846E3F7E5BF54458B6 /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = 30EDA7AEA699D6046019DD9F8C380529; 31 | remoteInfo = "Pods-rubber-range-picker_Example"; 32 | }; 33 | 66666AC8F64936682EF156F24C37A374 /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = E47F8FEB8FDD75EEBA9E950FA33C825C; 38 | remoteInfo = "rubber-range-picker"; 39 | }; 40 | /* End PBXContainerItemProxy section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | 05787E4A15E18506DF47A498AFA5F403 /* rubber-range-picker.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "rubber-range-picker.xcconfig"; sourceTree = ""; }; 44 | 121DD4A50ADE610958D7643D76988A0D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 45 | 1D396275B98B24EA6AC7C85A7D27C8AB /* Pods-rubber-range-picker_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-rubber-range-picker_Example-Info.plist"; sourceTree = ""; }; 46 | 2B2EE19BDB54427124A0134D854DB7C9 /* Pods-rubber-range-picker_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-rubber-range-picker_Tests-umbrella.h"; sourceTree = ""; }; 47 | 301E401938738AD175EC8A6CEF4304B3 /* RubberTrackLayer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RubberTrackLayer.swift; path = "rubber-range-picker/Classes/RubberTrackLayer.swift"; sourceTree = ""; }; 48 | 42DCFA0501659594AAE3D9A3754395B2 /* rubber-range-picker-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "rubber-range-picker-umbrella.h"; sourceTree = ""; }; 49 | 45A3F722B8B629E01EBA3C50311CF789 /* Pods-rubber-range-picker_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-rubber-range-picker_Example.release.xcconfig"; sourceTree = ""; }; 50 | 4685E8D40D88614EF411DD3E88C89AE2 /* rubber-range-picker-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "rubber-range-picker-Info.plist"; sourceTree = ""; }; 51 | 46DA2624B65C1B5168736FED4C547D83 /* rubber_range_picker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = rubber_range_picker.framework; path = "rubber-range-picker.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 4E2D60398702BBAA03C1FD01D97E4911 /* Pods-rubber-range-picker_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-rubber-range-picker_Tests.modulemap"; sourceTree = ""; }; 53 | 4FF3753402E3966F4FF970134220F6F2 /* Pods-rubber-range-picker_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-rubber-range-picker_Tests-acknowledgements.plist"; sourceTree = ""; }; 54 | 527C94DE90192A0EA54B07149502C7A1 /* Pods-rubber-range-picker_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-rubber-range-picker_Tests-acknowledgements.markdown"; sourceTree = ""; }; 55 | 570AF27EF154A9C6EF8B59C74AA80C80 /* Pods-rubber-range-picker_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-rubber-range-picker_Example-umbrella.h"; sourceTree = ""; }; 56 | 5A1E2F096694CAE00289712239BC46CA /* rubber-range-picker.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "rubber-range-picker.modulemap"; sourceTree = ""; }; 57 | 5AA641846B7E291A76D504FB3656B5CC /* Pods-rubber-range-picker_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-rubber-range-picker_Tests-dummy.m"; sourceTree = ""; }; 58 | 5C1F32A4652A6E31D1B405F7C0722C6D /* Pods-rubber-range-picker_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-rubber-range-picker_Example-acknowledgements.plist"; sourceTree = ""; }; 59 | 61F56F6083069DAD5D4D72FCA1CBF104 /* Pods-rubber-range-picker_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-rubber-range-picker_Example-frameworks.sh"; sourceTree = ""; }; 60 | 6B616E9B02F84CFB178EC7A5B0DA8680 /* Pods-rubber-range-picker_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-rubber-range-picker_Example.modulemap"; sourceTree = ""; }; 61 | 6CB10DA3A71D8D53B39693E7158C11BE /* Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Extensions.swift; path = "rubber-range-picker/Classes/Extensions.swift"; sourceTree = ""; }; 62 | 76C5162E397E9DA78A72A74ACD2BFA62 /* Pods-rubber-range-picker_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-rubber-range-picker_Example-acknowledgements.markdown"; sourceTree = ""; }; 63 | 7B31E09E038DF020379C88EA42A1B430 /* RubberRangeThumb.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RubberRangeThumb.swift; path = "rubber-range-picker/Classes/RubberRangeThumb.swift"; sourceTree = ""; }; 64 | 7DE40AB1780EBA0C9A65FD9AA37D041A /* Pods-rubber-range-picker_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-rubber-range-picker_Example.debug.xcconfig"; sourceTree = ""; }; 65 | 8E558A6FBE93C1D5DFF3BFE9DDFE8FB2 /* README 2.md */ = {isa = PBXFileReference; includeInIndex = 1; path = "README 2.md"; sourceTree = ""; }; 66 | 959F014ED0E7F8D7A82DD9324DBC382A /* Pods-rubber-range-picker_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-rubber-range-picker_Tests-Info.plist"; sourceTree = ""; }; 67 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 68 | AEDE2EC5471E8F398AB838B6CF017CBD /* rubber-range-picker.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = "rubber-range-picker.podspec"; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 69 | B07C5CF8A46B1E15261A81D0816F41C0 /* Pods-rubber-range-picker_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-rubber-range-picker_Example-dummy.m"; sourceTree = ""; }; 70 | B429033A0E814A3467E881AB4844092E /* rubber-range-picker-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "rubber-range-picker-prefix.pch"; sourceTree = ""; }; 71 | B8B8E9CC3EDD4DC99689AE39C2BD63F7 /* rubber-range-picker-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "rubber-range-picker-dummy.m"; sourceTree = ""; }; 72 | C8222AEB6C7788C0FC4AB95245029669 /* Pods_rubber_range_picker_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_rubber_range_picker_Tests.framework; path = "Pods-rubber-range-picker_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 73 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 74 | DB41A7928A1799A56BA6A41B3B581DA0 /* Pods-rubber-range-picker_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-rubber-range-picker_Tests.release.xcconfig"; sourceTree = ""; }; 75 | EF5EF33D59484E95A3A1F26187522E5B /* RubberRangePicker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RubberRangePicker.swift; path = "rubber-range-picker/Classes/RubberRangePicker.swift"; sourceTree = ""; }; 76 | EF69B5126FEB4BB5894DA66B52294295 /* Pods-rubber-range-picker_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-rubber-range-picker_Tests.debug.xcconfig"; sourceTree = ""; }; 77 | F3F28A89AA9912713DF657114B929C5A /* Pods_rubber_range_picker_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_rubber_range_picker_Example.framework; path = "Pods-rubber-range-picker_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 78 | /* End PBXFileReference section */ 79 | 80 | /* Begin PBXFrameworksBuildPhase section */ 81 | 9AA5F132B08063540683D9A5E6C7046C /* Frameworks */ = { 82 | isa = PBXFrameworksBuildPhase; 83 | buildActionMask = 2147483647; 84 | files = ( 85 | 845564B1E226E08ADA181B7BC3558868 /* Foundation.framework in Frameworks */, 86 | ); 87 | runOnlyForDeploymentPostprocessing = 0; 88 | }; 89 | C81F84F3C108A85AB80542F0C81C32AA /* Frameworks */ = { 90 | isa = PBXFrameworksBuildPhase; 91 | buildActionMask = 2147483647; 92 | files = ( 93 | E63AB4080653BAEA03CCA492D602DDBD /* Foundation.framework in Frameworks */, 94 | ); 95 | runOnlyForDeploymentPostprocessing = 0; 96 | }; 97 | E453EBB918610AD51C46081F783C6477 /* Frameworks */ = { 98 | isa = PBXFrameworksBuildPhase; 99 | buildActionMask = 2147483647; 100 | files = ( 101 | 2DC910D25867B3A7C78C540E4FA153B5 /* Foundation.framework in Frameworks */, 102 | ); 103 | runOnlyForDeploymentPostprocessing = 0; 104 | }; 105 | /* End PBXFrameworksBuildPhase section */ 106 | 107 | /* Begin PBXGroup section */ 108 | 1D2354FEAF5333FF097882624F1A0D71 /* Pods-rubber-range-picker_Example */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 6B616E9B02F84CFB178EC7A5B0DA8680 /* Pods-rubber-range-picker_Example.modulemap */, 112 | 76C5162E397E9DA78A72A74ACD2BFA62 /* Pods-rubber-range-picker_Example-acknowledgements.markdown */, 113 | 5C1F32A4652A6E31D1B405F7C0722C6D /* Pods-rubber-range-picker_Example-acknowledgements.plist */, 114 | B07C5CF8A46B1E15261A81D0816F41C0 /* Pods-rubber-range-picker_Example-dummy.m */, 115 | 61F56F6083069DAD5D4D72FCA1CBF104 /* Pods-rubber-range-picker_Example-frameworks.sh */, 116 | 1D396275B98B24EA6AC7C85A7D27C8AB /* Pods-rubber-range-picker_Example-Info.plist */, 117 | 570AF27EF154A9C6EF8B59C74AA80C80 /* Pods-rubber-range-picker_Example-umbrella.h */, 118 | 7DE40AB1780EBA0C9A65FD9AA37D041A /* Pods-rubber-range-picker_Example.debug.xcconfig */, 119 | 45A3F722B8B629E01EBA3C50311CF789 /* Pods-rubber-range-picker_Example.release.xcconfig */, 120 | ); 121 | name = "Pods-rubber-range-picker_Example"; 122 | path = "Target Support Files/Pods-rubber-range-picker_Example"; 123 | sourceTree = ""; 124 | }; 125 | 2127E90AD96B1903DC627059C72B7181 /* Targets Support Files */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | 1D2354FEAF5333FF097882624F1A0D71 /* Pods-rubber-range-picker_Example */, 129 | 441CF0766DBCC93BAA442048E5653042 /* Pods-rubber-range-picker_Tests */, 130 | ); 131 | name = "Targets Support Files"; 132 | sourceTree = ""; 133 | }; 134 | 330EF9209F7A46FA313EA9253942CE93 /* Development Pods */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | F20378943C131DE263B454042B83E3BD /* rubber-range-picker */, 138 | ); 139 | name = "Development Pods"; 140 | sourceTree = ""; 141 | }; 142 | 441CF0766DBCC93BAA442048E5653042 /* Pods-rubber-range-picker_Tests */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | 4E2D60398702BBAA03C1FD01D97E4911 /* Pods-rubber-range-picker_Tests.modulemap */, 146 | 527C94DE90192A0EA54B07149502C7A1 /* Pods-rubber-range-picker_Tests-acknowledgements.markdown */, 147 | 4FF3753402E3966F4FF970134220F6F2 /* Pods-rubber-range-picker_Tests-acknowledgements.plist */, 148 | 5AA641846B7E291A76D504FB3656B5CC /* Pods-rubber-range-picker_Tests-dummy.m */, 149 | 959F014ED0E7F8D7A82DD9324DBC382A /* Pods-rubber-range-picker_Tests-Info.plist */, 150 | 2B2EE19BDB54427124A0134D854DB7C9 /* Pods-rubber-range-picker_Tests-umbrella.h */, 151 | EF69B5126FEB4BB5894DA66B52294295 /* Pods-rubber-range-picker_Tests.debug.xcconfig */, 152 | DB41A7928A1799A56BA6A41B3B581DA0 /* Pods-rubber-range-picker_Tests.release.xcconfig */, 153 | ); 154 | name = "Pods-rubber-range-picker_Tests"; 155 | path = "Target Support Files/Pods-rubber-range-picker_Tests"; 156 | sourceTree = ""; 157 | }; 158 | 46077C2F20F0F6F4A370BBA55E1DD49F /* Products */ = { 159 | isa = PBXGroup; 160 | children = ( 161 | F3F28A89AA9912713DF657114B929C5A /* Pods_rubber_range_picker_Example.framework */, 162 | C8222AEB6C7788C0FC4AB95245029669 /* Pods_rubber_range_picker_Tests.framework */, 163 | 46DA2624B65C1B5168736FED4C547D83 /* rubber_range_picker.framework */, 164 | ); 165 | name = Products; 166 | sourceTree = ""; 167 | }; 168 | 9A40293CCA346F2B8AD2E8E76332C8D7 /* Support Files */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 5A1E2F096694CAE00289712239BC46CA /* rubber-range-picker.modulemap */, 172 | 05787E4A15E18506DF47A498AFA5F403 /* rubber-range-picker.xcconfig */, 173 | B8B8E9CC3EDD4DC99689AE39C2BD63F7 /* rubber-range-picker-dummy.m */, 174 | 4685E8D40D88614EF411DD3E88C89AE2 /* rubber-range-picker-Info.plist */, 175 | B429033A0E814A3467E881AB4844092E /* rubber-range-picker-prefix.pch */, 176 | 42DCFA0501659594AAE3D9A3754395B2 /* rubber-range-picker-umbrella.h */, 177 | ); 178 | name = "Support Files"; 179 | path = "Example/Pods/Target Support Files/rubber-range-picker"; 180 | sourceTree = ""; 181 | }; 182 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | CB4607EFCA7C5F75397649E792E2AFCB /* Foundation.framework */, 186 | ); 187 | name = iOS; 188 | sourceTree = ""; 189 | }; 190 | A74C8BCB28B0D693A5886158813AC65F /* Pod */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | 121DD4A50ADE610958D7643D76988A0D /* LICENSE */, 194 | 8E558A6FBE93C1D5DFF3BFE9DDFE8FB2 /* README 2.md */, 195 | AEDE2EC5471E8F398AB838B6CF017CBD /* rubber-range-picker.podspec */, 196 | ); 197 | name = Pod; 198 | sourceTree = ""; 199 | }; 200 | CF1408CF629C7361332E53B88F7BD30C = { 201 | isa = PBXGroup; 202 | children = ( 203 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 204 | 330EF9209F7A46FA313EA9253942CE93 /* Development Pods */, 205 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 206 | 46077C2F20F0F6F4A370BBA55E1DD49F /* Products */, 207 | 2127E90AD96B1903DC627059C72B7181 /* Targets Support Files */, 208 | ); 209 | sourceTree = ""; 210 | }; 211 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 212 | isa = PBXGroup; 213 | children = ( 214 | 9B055D0CFEA43187E72B03DED11F5662 /* iOS */, 215 | ); 216 | name = Frameworks; 217 | sourceTree = ""; 218 | }; 219 | F20378943C131DE263B454042B83E3BD /* rubber-range-picker */ = { 220 | isa = PBXGroup; 221 | children = ( 222 | 6CB10DA3A71D8D53B39693E7158C11BE /* Extensions.swift */, 223 | EF5EF33D59484E95A3A1F26187522E5B /* RubberRangePicker.swift */, 224 | 7B31E09E038DF020379C88EA42A1B430 /* RubberRangeThumb.swift */, 225 | 301E401938738AD175EC8A6CEF4304B3 /* RubberTrackLayer.swift */, 226 | A74C8BCB28B0D693A5886158813AC65F /* Pod */, 227 | 9A40293CCA346F2B8AD2E8E76332C8D7 /* Support Files */, 228 | ); 229 | name = "rubber-range-picker"; 230 | path = ../..; 231 | sourceTree = ""; 232 | }; 233 | /* End PBXGroup section */ 234 | 235 | /* Begin PBXHeadersBuildPhase section */ 236 | 391061FB649F71141DD4E3E8AC713E0E /* Headers */ = { 237 | isa = PBXHeadersBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | FAA69377525D50A955CAFB0DB409F70D /* Pods-rubber-range-picker_Tests-umbrella.h in Headers */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | 4B56111F94B622BF75CD00D936530A04 /* Headers */ = { 245 | isa = PBXHeadersBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 4F0A32A4DB27F5EC3F3047BFD2BBAF1C /* rubber-range-picker-umbrella.h in Headers */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | A2352CA86207569C7DE7AE0AA790BF1E /* Headers */ = { 253 | isa = PBXHeadersBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | 009B1A69408005CF0554EFC4B2B3999A /* Pods-rubber-range-picker_Example-umbrella.h in Headers */, 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | /* End PBXHeadersBuildPhase section */ 261 | 262 | /* Begin PBXNativeTarget section */ 263 | 30EDA7AEA699D6046019DD9F8C380529 /* Pods-rubber-range-picker_Example */ = { 264 | isa = PBXNativeTarget; 265 | buildConfigurationList = 6B258D806D78590112D4BEE883223E3B /* Build configuration list for PBXNativeTarget "Pods-rubber-range-picker_Example" */; 266 | buildPhases = ( 267 | A2352CA86207569C7DE7AE0AA790BF1E /* Headers */, 268 | 1B7F183D725BF71626ED6B9497F19ADE /* Sources */, 269 | E453EBB918610AD51C46081F783C6477 /* Frameworks */, 270 | 0A16757D51726DD3AB432518A046AA8D /* Resources */, 271 | ); 272 | buildRules = ( 273 | ); 274 | dependencies = ( 275 | 36C7C39C06D0CADBE8B870F3A2098748 /* PBXTargetDependency */, 276 | ); 277 | name = "Pods-rubber-range-picker_Example"; 278 | productName = "Pods-rubber-range-picker_Example"; 279 | productReference = F3F28A89AA9912713DF657114B929C5A /* Pods_rubber_range_picker_Example.framework */; 280 | productType = "com.apple.product-type.framework"; 281 | }; 282 | 7350867FC907B508C61E58EE24EA1B2D /* Pods-rubber-range-picker_Tests */ = { 283 | isa = PBXNativeTarget; 284 | buildConfigurationList = AB48B57C41D5B86F9B9958D22B93A6D6 /* Build configuration list for PBXNativeTarget "Pods-rubber-range-picker_Tests" */; 285 | buildPhases = ( 286 | 391061FB649F71141DD4E3E8AC713E0E /* Headers */, 287 | C8C419301B6815723C3C45876A540891 /* Sources */, 288 | 9AA5F132B08063540683D9A5E6C7046C /* Frameworks */, 289 | C35BEB6DE82820B97F647E1012996735 /* Resources */, 290 | ); 291 | buildRules = ( 292 | ); 293 | dependencies = ( 294 | F56D7F610CC7373EF9766EAACD2EB187 /* PBXTargetDependency */, 295 | ); 296 | name = "Pods-rubber-range-picker_Tests"; 297 | productName = "Pods-rubber-range-picker_Tests"; 298 | productReference = C8222AEB6C7788C0FC4AB95245029669 /* Pods_rubber_range_picker_Tests.framework */; 299 | productType = "com.apple.product-type.framework"; 300 | }; 301 | E47F8FEB8FDD75EEBA9E950FA33C825C /* rubber-range-picker */ = { 302 | isa = PBXNativeTarget; 303 | buildConfigurationList = 717B33B331155EC922F08916FF282612 /* Build configuration list for PBXNativeTarget "rubber-range-picker" */; 304 | buildPhases = ( 305 | 4B56111F94B622BF75CD00D936530A04 /* Headers */, 306 | C0066BE193F0071D186C5D949BDFD010 /* Sources */, 307 | C81F84F3C108A85AB80542F0C81C32AA /* Frameworks */, 308 | 9F6AE2D70D85D4F406ECBEAB07386976 /* Resources */, 309 | ); 310 | buildRules = ( 311 | ); 312 | dependencies = ( 313 | ); 314 | name = "rubber-range-picker"; 315 | productName = "rubber-range-picker"; 316 | productReference = 46DA2624B65C1B5168736FED4C547D83 /* rubber_range_picker.framework */; 317 | productType = "com.apple.product-type.framework"; 318 | }; 319 | /* End PBXNativeTarget section */ 320 | 321 | /* Begin PBXProject section */ 322 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 323 | isa = PBXProject; 324 | attributes = { 325 | LastSwiftUpdateCheck = 0930; 326 | LastUpgradeCheck = 0930; 327 | }; 328 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 329 | compatibilityVersion = "Xcode 3.2"; 330 | developmentRegion = English; 331 | hasScannedForEncodings = 0; 332 | knownRegions = ( 333 | en, 334 | ); 335 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 336 | productRefGroup = 46077C2F20F0F6F4A370BBA55E1DD49F /* Products */; 337 | projectDirPath = ""; 338 | projectRoot = ""; 339 | targets = ( 340 | 30EDA7AEA699D6046019DD9F8C380529 /* Pods-rubber-range-picker_Example */, 341 | 7350867FC907B508C61E58EE24EA1B2D /* Pods-rubber-range-picker_Tests */, 342 | E47F8FEB8FDD75EEBA9E950FA33C825C /* rubber-range-picker */, 343 | ); 344 | }; 345 | /* End PBXProject section */ 346 | 347 | /* Begin PBXResourcesBuildPhase section */ 348 | 0A16757D51726DD3AB432518A046AA8D /* Resources */ = { 349 | isa = PBXResourcesBuildPhase; 350 | buildActionMask = 2147483647; 351 | files = ( 352 | ); 353 | runOnlyForDeploymentPostprocessing = 0; 354 | }; 355 | 9F6AE2D70D85D4F406ECBEAB07386976 /* Resources */ = { 356 | isa = PBXResourcesBuildPhase; 357 | buildActionMask = 2147483647; 358 | files = ( 359 | ); 360 | runOnlyForDeploymentPostprocessing = 0; 361 | }; 362 | C35BEB6DE82820B97F647E1012996735 /* Resources */ = { 363 | isa = PBXResourcesBuildPhase; 364 | buildActionMask = 2147483647; 365 | files = ( 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | /* End PBXResourcesBuildPhase section */ 370 | 371 | /* Begin PBXSourcesBuildPhase section */ 372 | 1B7F183D725BF71626ED6B9497F19ADE /* Sources */ = { 373 | isa = PBXSourcesBuildPhase; 374 | buildActionMask = 2147483647; 375 | files = ( 376 | 1132C32AC6F0C8AFC2ED5B46FE9A51DD /* Pods-rubber-range-picker_Example-dummy.m in Sources */, 377 | ); 378 | runOnlyForDeploymentPostprocessing = 0; 379 | }; 380 | C0066BE193F0071D186C5D949BDFD010 /* Sources */ = { 381 | isa = PBXSourcesBuildPhase; 382 | buildActionMask = 2147483647; 383 | files = ( 384 | F124824A0031AF2BF3DADB8417A6A7B3 /* Extensions.swift in Sources */, 385 | 1E63009E8A335A9A6D25B123A09A594A /* rubber-range-picker-dummy.m in Sources */, 386 | 7FBDED2FB3288CC655E1103F763E6EB7 /* RubberRangePicker.swift in Sources */, 387 | E3E579FAA5D5A988DBA212C5DC529E0D /* RubberRangeThumb.swift in Sources */, 388 | D85BAB28C803905D6910CC1ED3D99C6C /* RubberTrackLayer.swift in Sources */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | C8C419301B6815723C3C45876A540891 /* Sources */ = { 393 | isa = PBXSourcesBuildPhase; 394 | buildActionMask = 2147483647; 395 | files = ( 396 | 185979276B059CF32E1ACB729EFA8F98 /* Pods-rubber-range-picker_Tests-dummy.m in Sources */, 397 | ); 398 | runOnlyForDeploymentPostprocessing = 0; 399 | }; 400 | /* End PBXSourcesBuildPhase section */ 401 | 402 | /* Begin PBXTargetDependency section */ 403 | 36C7C39C06D0CADBE8B870F3A2098748 /* PBXTargetDependency */ = { 404 | isa = PBXTargetDependency; 405 | name = "rubber-range-picker"; 406 | target = E47F8FEB8FDD75EEBA9E950FA33C825C /* rubber-range-picker */; 407 | targetProxy = 66666AC8F64936682EF156F24C37A374 /* PBXContainerItemProxy */; 408 | }; 409 | F56D7F610CC7373EF9766EAACD2EB187 /* PBXTargetDependency */ = { 410 | isa = PBXTargetDependency; 411 | name = "Pods-rubber-range-picker_Example"; 412 | target = 30EDA7AEA699D6046019DD9F8C380529 /* Pods-rubber-range-picker_Example */; 413 | targetProxy = 2881426938E5B8846E3F7E5BF54458B6 /* PBXContainerItemProxy */; 414 | }; 415 | /* End PBXTargetDependency section */ 416 | 417 | /* Begin XCBuildConfiguration section */ 418 | 015F44C4605F30A44C134C383003E0C6 /* Release */ = { 419 | isa = XCBuildConfiguration; 420 | baseConfigurationReference = DB41A7928A1799A56BA6A41B3B581DA0 /* Pods-rubber-range-picker_Tests.release.xcconfig */; 421 | buildSettings = { 422 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 423 | CODE_SIGN_IDENTITY = ""; 424 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 425 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 426 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 427 | CURRENT_PROJECT_VERSION = 1; 428 | DEFINES_MODULE = YES; 429 | DYLIB_COMPATIBILITY_VERSION = 1; 430 | DYLIB_CURRENT_VERSION = 1; 431 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 432 | INFOPLIST_FILE = "Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests-Info.plist"; 433 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 434 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 435 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 436 | MACH_O_TYPE = staticlib; 437 | MODULEMAP_FILE = "Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests.modulemap"; 438 | OTHER_LDFLAGS = ""; 439 | OTHER_LIBTOOLFLAGS = ""; 440 | PODS_ROOT = "$(SRCROOT)"; 441 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 442 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 443 | SDKROOT = iphoneos; 444 | SKIP_INSTALL = YES; 445 | TARGETED_DEVICE_FAMILY = "1,2"; 446 | VALIDATE_PRODUCT = YES; 447 | VERSIONING_SYSTEM = "apple-generic"; 448 | VERSION_INFO_PREFIX = ""; 449 | }; 450 | name = Release; 451 | }; 452 | 0B9EF1A275F8C89687CA98108033557C /* Debug */ = { 453 | isa = XCBuildConfiguration; 454 | baseConfigurationReference = 7DE40AB1780EBA0C9A65FD9AA37D041A /* Pods-rubber-range-picker_Example.debug.xcconfig */; 455 | buildSettings = { 456 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 457 | CODE_SIGN_IDENTITY = ""; 458 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 459 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 460 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 461 | CURRENT_PROJECT_VERSION = 1; 462 | DEFINES_MODULE = YES; 463 | DYLIB_COMPATIBILITY_VERSION = 1; 464 | DYLIB_CURRENT_VERSION = 1; 465 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 466 | INFOPLIST_FILE = "Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example-Info.plist"; 467 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 468 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 469 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 470 | MACH_O_TYPE = staticlib; 471 | MODULEMAP_FILE = "Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example.modulemap"; 472 | OTHER_LDFLAGS = ""; 473 | OTHER_LIBTOOLFLAGS = ""; 474 | PODS_ROOT = "$(SRCROOT)"; 475 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 476 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 477 | SDKROOT = iphoneos; 478 | SKIP_INSTALL = YES; 479 | TARGETED_DEVICE_FAMILY = "1,2"; 480 | VERSIONING_SYSTEM = "apple-generic"; 481 | VERSION_INFO_PREFIX = ""; 482 | }; 483 | name = Debug; 484 | }; 485 | 2C9796D207CEC0FB0FEDBF9D869A3F8F /* Release */ = { 486 | isa = XCBuildConfiguration; 487 | baseConfigurationReference = 45A3F722B8B629E01EBA3C50311CF789 /* Pods-rubber-range-picker_Example.release.xcconfig */; 488 | buildSettings = { 489 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 490 | CODE_SIGN_IDENTITY = ""; 491 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 492 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 493 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 494 | CURRENT_PROJECT_VERSION = 1; 495 | DEFINES_MODULE = YES; 496 | DYLIB_COMPATIBILITY_VERSION = 1; 497 | DYLIB_CURRENT_VERSION = 1; 498 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 499 | INFOPLIST_FILE = "Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example-Info.plist"; 500 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 501 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 502 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 503 | MACH_O_TYPE = staticlib; 504 | MODULEMAP_FILE = "Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example.modulemap"; 505 | OTHER_LDFLAGS = ""; 506 | OTHER_LIBTOOLFLAGS = ""; 507 | PODS_ROOT = "$(SRCROOT)"; 508 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 509 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 510 | SDKROOT = iphoneos; 511 | SKIP_INSTALL = YES; 512 | TARGETED_DEVICE_FAMILY = "1,2"; 513 | VALIDATE_PRODUCT = YES; 514 | VERSIONING_SYSTEM = "apple-generic"; 515 | VERSION_INFO_PREFIX = ""; 516 | }; 517 | name = Release; 518 | }; 519 | 300679CE66492FDA1686198638E0D626 /* Debug */ = { 520 | isa = XCBuildConfiguration; 521 | baseConfigurationReference = EF69B5126FEB4BB5894DA66B52294295 /* Pods-rubber-range-picker_Tests.debug.xcconfig */; 522 | buildSettings = { 523 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 524 | CODE_SIGN_IDENTITY = ""; 525 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 526 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 527 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 528 | CURRENT_PROJECT_VERSION = 1; 529 | DEFINES_MODULE = YES; 530 | DYLIB_COMPATIBILITY_VERSION = 1; 531 | DYLIB_CURRENT_VERSION = 1; 532 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 533 | INFOPLIST_FILE = "Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests-Info.plist"; 534 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 535 | IPHONEOS_DEPLOYMENT_TARGET = 9.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-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests.modulemap"; 539 | OTHER_LDFLAGS = ""; 540 | OTHER_LIBTOOLFLAGS = ""; 541 | PODS_ROOT = "$(SRCROOT)"; 542 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 543 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 544 | SDKROOT = iphoneos; 545 | SKIP_INSTALL = YES; 546 | TARGETED_DEVICE_FAMILY = "1,2"; 547 | VERSIONING_SYSTEM = "apple-generic"; 548 | VERSION_INFO_PREFIX = ""; 549 | }; 550 | name = Debug; 551 | }; 552 | 9BB914737CD9BDFF735457A7BE87C0CF /* Release */ = { 553 | isa = XCBuildConfiguration; 554 | baseConfigurationReference = 05787E4A15E18506DF47A498AFA5F403 /* rubber-range-picker.xcconfig */; 555 | buildSettings = { 556 | CODE_SIGN_IDENTITY = ""; 557 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 558 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 559 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 560 | CURRENT_PROJECT_VERSION = 1; 561 | DEFINES_MODULE = YES; 562 | DYLIB_COMPATIBILITY_VERSION = 1; 563 | DYLIB_CURRENT_VERSION = 1; 564 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 565 | GCC_PREFIX_HEADER = "Target Support Files/rubber-range-picker/rubber-range-picker-prefix.pch"; 566 | INFOPLIST_FILE = "Target Support Files/rubber-range-picker/rubber-range-picker-Info.plist"; 567 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 568 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 569 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 570 | MODULEMAP_FILE = "Target Support Files/rubber-range-picker/rubber-range-picker.modulemap"; 571 | PRODUCT_MODULE_NAME = rubber_range_picker; 572 | PRODUCT_NAME = rubber_range_picker; 573 | SDKROOT = iphoneos; 574 | SKIP_INSTALL = YES; 575 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 576 | SWIFT_VERSION = 4.2; 577 | TARGETED_DEVICE_FAMILY = "1,2"; 578 | VALIDATE_PRODUCT = YES; 579 | VERSIONING_SYSTEM = "apple-generic"; 580 | VERSION_INFO_PREFIX = ""; 581 | }; 582 | name = Release; 583 | }; 584 | 9DD13D8CD77F9AA9D8DF6FC43D93C2ED /* Debug */ = { 585 | isa = XCBuildConfiguration; 586 | baseConfigurationReference = 05787E4A15E18506DF47A498AFA5F403 /* rubber-range-picker.xcconfig */; 587 | buildSettings = { 588 | CODE_SIGN_IDENTITY = ""; 589 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 590 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 591 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 592 | CURRENT_PROJECT_VERSION = 1; 593 | DEFINES_MODULE = YES; 594 | DYLIB_COMPATIBILITY_VERSION = 1; 595 | DYLIB_CURRENT_VERSION = 1; 596 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 597 | GCC_PREFIX_HEADER = "Target Support Files/rubber-range-picker/rubber-range-picker-prefix.pch"; 598 | INFOPLIST_FILE = "Target Support Files/rubber-range-picker/rubber-range-picker-Info.plist"; 599 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 600 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 601 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 602 | MODULEMAP_FILE = "Target Support Files/rubber-range-picker/rubber-range-picker.modulemap"; 603 | PRODUCT_MODULE_NAME = rubber_range_picker; 604 | PRODUCT_NAME = rubber_range_picker; 605 | SDKROOT = iphoneos; 606 | SKIP_INSTALL = YES; 607 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 608 | SWIFT_VERSION = 4.2; 609 | TARGETED_DEVICE_FAMILY = "1,2"; 610 | VERSIONING_SYSTEM = "apple-generic"; 611 | VERSION_INFO_PREFIX = ""; 612 | }; 613 | name = Debug; 614 | }; 615 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */ = { 616 | isa = XCBuildConfiguration; 617 | buildSettings = { 618 | ALWAYS_SEARCH_USER_PATHS = NO; 619 | CLANG_ANALYZER_NONNULL = YES; 620 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 621 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 622 | CLANG_CXX_LIBRARY = "libc++"; 623 | CLANG_ENABLE_MODULES = YES; 624 | CLANG_ENABLE_OBJC_ARC = YES; 625 | CLANG_ENABLE_OBJC_WEAK = YES; 626 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 627 | CLANG_WARN_BOOL_CONVERSION = YES; 628 | CLANG_WARN_COMMA = YES; 629 | CLANG_WARN_CONSTANT_CONVERSION = YES; 630 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 631 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 632 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 633 | CLANG_WARN_EMPTY_BODY = YES; 634 | CLANG_WARN_ENUM_CONVERSION = YES; 635 | CLANG_WARN_INFINITE_RECURSION = YES; 636 | CLANG_WARN_INT_CONVERSION = YES; 637 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 638 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 639 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 640 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 641 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 642 | CLANG_WARN_STRICT_PROTOTYPES = YES; 643 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 644 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 645 | CLANG_WARN_UNREACHABLE_CODE = YES; 646 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 647 | COPY_PHASE_STRIP = NO; 648 | DEBUG_INFORMATION_FORMAT = dwarf; 649 | ENABLE_STRICT_OBJC_MSGSEND = YES; 650 | ENABLE_TESTABILITY = YES; 651 | GCC_C_LANGUAGE_STANDARD = gnu11; 652 | GCC_DYNAMIC_NO_PIC = NO; 653 | GCC_NO_COMMON_BLOCKS = YES; 654 | GCC_OPTIMIZATION_LEVEL = 0; 655 | GCC_PREPROCESSOR_DEFINITIONS = ( 656 | "POD_CONFIGURATION_DEBUG=1", 657 | "DEBUG=1", 658 | "$(inherited)", 659 | ); 660 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 661 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 662 | GCC_WARN_UNDECLARED_SELECTOR = YES; 663 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 664 | GCC_WARN_UNUSED_FUNCTION = YES; 665 | GCC_WARN_UNUSED_VARIABLE = YES; 666 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 667 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 668 | MTL_FAST_MATH = YES; 669 | ONLY_ACTIVE_ARCH = YES; 670 | PRODUCT_NAME = "$(TARGET_NAME)"; 671 | STRIP_INSTALLED_PRODUCT = NO; 672 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 673 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 674 | SWIFT_VERSION = 4.2; 675 | SYMROOT = "${SRCROOT}/../build"; 676 | }; 677 | name = Debug; 678 | }; 679 | F232B5ECA11A71BFA199A229B323F454 /* Release */ = { 680 | isa = XCBuildConfiguration; 681 | buildSettings = { 682 | ALWAYS_SEARCH_USER_PATHS = NO; 683 | CLANG_ANALYZER_NONNULL = YES; 684 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 685 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 686 | CLANG_CXX_LIBRARY = "libc++"; 687 | CLANG_ENABLE_MODULES = YES; 688 | CLANG_ENABLE_OBJC_ARC = YES; 689 | CLANG_ENABLE_OBJC_WEAK = YES; 690 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 691 | CLANG_WARN_BOOL_CONVERSION = YES; 692 | CLANG_WARN_COMMA = YES; 693 | CLANG_WARN_CONSTANT_CONVERSION = YES; 694 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 695 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 696 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 697 | CLANG_WARN_EMPTY_BODY = YES; 698 | CLANG_WARN_ENUM_CONVERSION = YES; 699 | CLANG_WARN_INFINITE_RECURSION = YES; 700 | CLANG_WARN_INT_CONVERSION = YES; 701 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 702 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 703 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 704 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 705 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 706 | CLANG_WARN_STRICT_PROTOTYPES = YES; 707 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 708 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 709 | CLANG_WARN_UNREACHABLE_CODE = YES; 710 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 711 | COPY_PHASE_STRIP = NO; 712 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 713 | ENABLE_NS_ASSERTIONS = NO; 714 | ENABLE_STRICT_OBJC_MSGSEND = YES; 715 | GCC_C_LANGUAGE_STANDARD = gnu11; 716 | GCC_NO_COMMON_BLOCKS = YES; 717 | GCC_PREPROCESSOR_DEFINITIONS = ( 718 | "POD_CONFIGURATION_RELEASE=1", 719 | "$(inherited)", 720 | ); 721 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 722 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 723 | GCC_WARN_UNDECLARED_SELECTOR = YES; 724 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 725 | GCC_WARN_UNUSED_FUNCTION = YES; 726 | GCC_WARN_UNUSED_VARIABLE = YES; 727 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 728 | MTL_ENABLE_DEBUG_INFO = NO; 729 | MTL_FAST_MATH = YES; 730 | PRODUCT_NAME = "$(TARGET_NAME)"; 731 | STRIP_INSTALLED_PRODUCT = NO; 732 | SWIFT_COMPILATION_MODE = wholemodule; 733 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 734 | SWIFT_VERSION = 4.2; 735 | SYMROOT = "${SRCROOT}/../build"; 736 | }; 737 | name = Release; 738 | }; 739 | /* End XCBuildConfiguration section */ 740 | 741 | /* Begin XCConfigurationList section */ 742 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 743 | isa = XCConfigurationList; 744 | buildConfigurations = ( 745 | AB4D69770D8ACE3A05E80BB3502666F6 /* Debug */, 746 | F232B5ECA11A71BFA199A229B323F454 /* Release */, 747 | ); 748 | defaultConfigurationIsVisible = 0; 749 | defaultConfigurationName = Release; 750 | }; 751 | 6B258D806D78590112D4BEE883223E3B /* Build configuration list for PBXNativeTarget "Pods-rubber-range-picker_Example" */ = { 752 | isa = XCConfigurationList; 753 | buildConfigurations = ( 754 | 0B9EF1A275F8C89687CA98108033557C /* Debug */, 755 | 2C9796D207CEC0FB0FEDBF9D869A3F8F /* Release */, 756 | ); 757 | defaultConfigurationIsVisible = 0; 758 | defaultConfigurationName = Release; 759 | }; 760 | 717B33B331155EC922F08916FF282612 /* Build configuration list for PBXNativeTarget "rubber-range-picker" */ = { 761 | isa = XCConfigurationList; 762 | buildConfigurations = ( 763 | 9DD13D8CD77F9AA9D8DF6FC43D93C2ED /* Debug */, 764 | 9BB914737CD9BDFF735457A7BE87C0CF /* Release */, 765 | ); 766 | defaultConfigurationIsVisible = 0; 767 | defaultConfigurationName = Release; 768 | }; 769 | AB48B57C41D5B86F9B9958D22B93A6D6 /* Build configuration list for PBXNativeTarget "Pods-rubber-range-picker_Tests" */ = { 770 | isa = XCConfigurationList; 771 | buildConfigurations = ( 772 | 300679CE66492FDA1686198638E0D626 /* Debug */, 773 | 015F44C4605F30A44C134C383003E0C6 /* Release */, 774 | ); 775 | defaultConfigurationIsVisible = 0; 776 | defaultConfigurationName = Release; 777 | }; 778 | /* End XCConfigurationList section */ 779 | }; 780 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 781 | } 782 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_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-rubber-range-picker_Example/Pods-rubber-range-picker_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## rubber-range-picker 5 | 6 | MIT License 7 | 8 | Copyright (c) 2019 Cuberto 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | Generated by CocoaPods - https://cocoapods.org 29 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_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 | MIT License 18 | 19 | Copyright (c) 2019 Cuberto 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | 39 | License 40 | MIT 41 | Title 42 | rubber-range-picker 43 | Type 44 | PSGroupSpecifier 45 | 46 | 47 | FooterText 48 | Generated by CocoaPods - https://cocoapods.org 49 | Title 50 | 51 | Type 52 | PSGroupSpecifier 53 | 54 | 55 | StringsTable 56 | Acknowledgements 57 | Title 58 | Acknowledgements 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_rubber_range_picker_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_rubber_range_picker_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Signs a framework with the provided identity 113 | code_sign_if_enabled() { 114 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 115 | # Use the current code_sign_identity 116 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 117 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 118 | 119 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 120 | code_sign_cmd="$code_sign_cmd &" 121 | fi 122 | echo "$code_sign_cmd" 123 | eval "$code_sign_cmd" 124 | fi 125 | } 126 | 127 | # Strip invalid architectures 128 | strip_invalid_archs() { 129 | binary="$1" 130 | # Get architectures for current target binary 131 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 132 | # Intersect them with the architectures we are building for 133 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 134 | # If there are no archs supported by this binary then warn the user 135 | if [[ -z "$intersected_archs" ]]; then 136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 137 | STRIP_BINARY_RETVAL=0 138 | return 139 | fi 140 | stripped="" 141 | for arch in $binary_archs; do 142 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 143 | # Strip non-valid architectures in-place 144 | lipo -remove "$arch" -output "$binary" "$binary" 145 | stripped="$stripped $arch" 146 | fi 147 | done 148 | if [[ "$stripped" ]]; then 149 | echo "Stripped $binary of architectures:$stripped" 150 | fi 151 | STRIP_BINARY_RETVAL=1 152 | } 153 | 154 | 155 | if [[ "$CONFIGURATION" == "Debug" ]]; then 156 | install_framework "${BUILT_PRODUCTS_DIR}/rubber-range-picker/rubber_range_picker.framework" 157 | fi 158 | if [[ "$CONFIGURATION" == "Release" ]]; then 159 | install_framework "${BUILT_PRODUCTS_DIR}/rubber-range-picker/rubber_range_picker.framework" 160 | fi 161 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 162 | wait 163 | fi 164 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_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_rubber_range_picker_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_rubber_range_picker_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/rubber-range-picker" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/rubber-range-picker/rubber_range_picker.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "rubber_range_picker" 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_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_rubber_range_picker_Example { 2 | umbrella header "Pods-rubber-range-picker_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/rubber-range-picker" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/rubber-range-picker/rubber_range_picker.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "rubber_range_picker" 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_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_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-rubber-range-picker_Tests/Pods-rubber-range-picker_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-rubber-range-picker_Tests/Pods-rubber-range-picker_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-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_rubber_range_picker_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_rubber_range_picker_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_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_rubber_range_picker_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_rubber_range_picker_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/rubber-range-picker" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/rubber-range-picker/rubber_range_picker.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "rubber_range_picker" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_rubber_range_picker_Tests { 2 | umbrella header "Pods-rubber-range-picker_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/rubber-range-picker" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/rubber-range-picker/rubber_range_picker.framework/Headers" 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_LDFLAGS = $(inherited) -framework "rubber_range_picker" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/rubber-range-picker/rubber-range-picker-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.4.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/rubber-range-picker/rubber-range-picker-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_rubber_range_picker : NSObject 3 | @end 4 | @implementation PodsDummy_rubber_range_picker 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/rubber-range-picker/rubber-range-picker-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/rubber-range-picker/rubber-range-picker-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 rubber_range_pickerVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char rubber_range_pickerVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/rubber-range-picker/rubber-range-picker.modulemap: -------------------------------------------------------------------------------- 1 | framework module rubber_range_picker { 2 | umbrella header "rubber-range-picker-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/rubber-range-picker/rubber-range-picker.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/rubber-range-picker 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/rubber-range-picker.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 | CE503451221B0EBC007A556B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CE50344F221B0EBC007A556B /* LaunchScreen.storyboard */; }; 14 | CEF8B755221B109F0000A3E2 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CEF8B754221B109F0000A3E2 /* Images.xcassets */; }; 15 | D68331A069F265D437D923C7 /* Pods_rubber_range_picker_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBD78FB19F5524DBA3E861E4 /* Pods_rubber_range_picker_Example.framework */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXFileReference section */ 19 | 0CC36A62D6BAA2394BB9F43D /* rubber-range-picker.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "rubber-range-picker.podspec"; path = "../rubber-range-picker.podspec"; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 20 | 471628E8BC5BE9AB612F4FD9 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 21 | 607FACD01AFB9204008FA782 /* rubber-range-picker_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "rubber-range-picker_Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 22 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 23 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 24 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 25 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 26 | 6950D51C745AA570E97D8B51 /* Pods-rubber-range-picker_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rubber-range-picker_Example.debug.xcconfig"; path = "Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example.debug.xcconfig"; sourceTree = ""; }; 27 | 80F4B68D2372213B9E6A1537 /* Pods_rubber_range_picker_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_rubber_range_picker_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 28 | 86283CD14BECA0BA17C7955E /* Pods-rubber-range-picker_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rubber-range-picker_Tests.debug.xcconfig"; path = "Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests.debug.xcconfig"; sourceTree = ""; }; 29 | CB4FC64D813F0522779A2DB9 /* Pods-rubber-range-picker_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rubber-range-picker_Tests.release.xcconfig"; path = "Target Support Files/Pods-rubber-range-picker_Tests/Pods-rubber-range-picker_Tests.release.xcconfig"; sourceTree = ""; }; 30 | CBD78FB19F5524DBA3E861E4 /* Pods_rubber_range_picker_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_rubber_range_picker_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | CE503450221B0EBC007A556B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 32 | CEF8B754221B109F0000A3E2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 33 | EC14AE661B72A2C3A43980F0 /* Pods-rubber-range-picker_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-rubber-range-picker_Example.release.xcconfig"; path = "Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example.release.xcconfig"; sourceTree = ""; }; 34 | F04E529041432A7AECAFAB79 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 35 | /* End PBXFileReference section */ 36 | 37 | /* Begin PBXFrameworksBuildPhase section */ 38 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 39 | isa = PBXFrameworksBuildPhase; 40 | buildActionMask = 2147483647; 41 | files = ( 42 | D68331A069F265D437D923C7 /* Pods_rubber_range_picker_Example.framework in Frameworks */, 43 | ); 44 | runOnlyForDeploymentPostprocessing = 0; 45 | }; 46 | /* End PBXFrameworksBuildPhase section */ 47 | 48 | /* Begin PBXGroup section */ 49 | 418C4B4D9DEA5DBA5230A5DE /* Pods */ = { 50 | isa = PBXGroup; 51 | children = ( 52 | 6950D51C745AA570E97D8B51 /* Pods-rubber-range-picker_Example.debug.xcconfig */, 53 | EC14AE661B72A2C3A43980F0 /* Pods-rubber-range-picker_Example.release.xcconfig */, 54 | 86283CD14BECA0BA17C7955E /* Pods-rubber-range-picker_Tests.debug.xcconfig */, 55 | CB4FC64D813F0522779A2DB9 /* Pods-rubber-range-picker_Tests.release.xcconfig */, 56 | ); 57 | path = Pods; 58 | sourceTree = ""; 59 | }; 60 | 607FACC71AFB9204008FA782 = { 61 | isa = PBXGroup; 62 | children = ( 63 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 64 | 607FACD21AFB9204008FA782 /* Example for rubber-range-picker */, 65 | 607FACD11AFB9204008FA782 /* Products */, 66 | 418C4B4D9DEA5DBA5230A5DE /* Pods */, 67 | C9D8D78D4069CDA35B484E6E /* Frameworks */, 68 | ); 69 | sourceTree = ""; 70 | }; 71 | 607FACD11AFB9204008FA782 /* Products */ = { 72 | isa = PBXGroup; 73 | children = ( 74 | 607FACD01AFB9204008FA782 /* rubber-range-picker_Example.app */, 75 | ); 76 | name = Products; 77 | sourceTree = ""; 78 | }; 79 | 607FACD21AFB9204008FA782 /* Example for rubber-range-picker */ = { 80 | isa = PBXGroup; 81 | children = ( 82 | CEF8B754221B109F0000A3E2 /* Images.xcassets */, 83 | CE50344F221B0EBC007A556B /* LaunchScreen.storyboard */, 84 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 85 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 86 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 87 | 607FACD31AFB9204008FA782 /* Supporting Files */, 88 | ); 89 | name = "Example for rubber-range-picker"; 90 | path = "rubber-range-picker"; 91 | sourceTree = ""; 92 | }; 93 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD41AFB9204008FA782 /* Info.plist */, 97 | ); 98 | name = "Supporting Files"; 99 | sourceTree = ""; 100 | }; 101 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 102 | isa = PBXGroup; 103 | children = ( 104 | 0CC36A62D6BAA2394BB9F43D /* rubber-range-picker.podspec */, 105 | F04E529041432A7AECAFAB79 /* README.md */, 106 | 471628E8BC5BE9AB612F4FD9 /* LICENSE */, 107 | ); 108 | name = "Podspec Metadata"; 109 | sourceTree = ""; 110 | }; 111 | C9D8D78D4069CDA35B484E6E /* Frameworks */ = { 112 | isa = PBXGroup; 113 | children = ( 114 | CBD78FB19F5524DBA3E861E4 /* Pods_rubber_range_picker_Example.framework */, 115 | 80F4B68D2372213B9E6A1537 /* Pods_rubber_range_picker_Tests.framework */, 116 | ); 117 | name = Frameworks; 118 | sourceTree = ""; 119 | }; 120 | /* End PBXGroup section */ 121 | 122 | /* Begin PBXNativeTarget section */ 123 | 607FACCF1AFB9204008FA782 /* rubber-range-picker_Example */ = { 124 | isa = PBXNativeTarget; 125 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "rubber-range-picker_Example" */; 126 | buildPhases = ( 127 | 12D51CDFC06027F344AF0D66 /* [CP] Check Pods Manifest.lock */, 128 | 607FACCC1AFB9204008FA782 /* Sources */, 129 | 607FACCD1AFB9204008FA782 /* Frameworks */, 130 | 607FACCE1AFB9204008FA782 /* Resources */, 131 | 6E7C02C390596FA2E71FE381 /* [CP] Embed Pods Frameworks */, 132 | ); 133 | buildRules = ( 134 | ); 135 | dependencies = ( 136 | ); 137 | name = "rubber-range-picker_Example"; 138 | productName = "rubber-range-picker"; 139 | productReference = 607FACD01AFB9204008FA782 /* rubber-range-picker_Example.app */; 140 | productType = "com.apple.product-type.application"; 141 | }; 142 | /* End PBXNativeTarget section */ 143 | 144 | /* Begin PBXProject section */ 145 | 607FACC81AFB9204008FA782 /* Project object */ = { 146 | isa = PBXProject; 147 | attributes = { 148 | LastSwiftUpdateCheck = 0830; 149 | LastUpgradeCheck = 0830; 150 | ORGANIZATIONNAME = CocoaPods; 151 | TargetAttributes = { 152 | 607FACCF1AFB9204008FA782 = { 153 | CreatedOnToolsVersion = 6.3.1; 154 | DevelopmentTeam = SK7A63GXF6; 155 | LastSwiftMigration = 0900; 156 | }; 157 | }; 158 | }; 159 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "rubber-range-picker" */; 160 | compatibilityVersion = "Xcode 3.2"; 161 | developmentRegion = English; 162 | hasScannedForEncodings = 0; 163 | knownRegions = ( 164 | en, 165 | Base, 166 | ); 167 | mainGroup = 607FACC71AFB9204008FA782; 168 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 169 | projectDirPath = ""; 170 | projectRoot = ""; 171 | targets = ( 172 | 607FACCF1AFB9204008FA782 /* rubber-range-picker_Example */, 173 | ); 174 | }; 175 | /* End PBXProject section */ 176 | 177 | /* Begin PBXResourcesBuildPhase section */ 178 | 607FACCE1AFB9204008FA782 /* Resources */ = { 179 | isa = PBXResourcesBuildPhase; 180 | buildActionMask = 2147483647; 181 | files = ( 182 | CEF8B755221B109F0000A3E2 /* Images.xcassets in Resources */, 183 | CE503451221B0EBC007A556B /* LaunchScreen.storyboard in Resources */, 184 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 185 | ); 186 | runOnlyForDeploymentPostprocessing = 0; 187 | }; 188 | /* End PBXResourcesBuildPhase section */ 189 | 190 | /* Begin PBXShellScriptBuildPhase section */ 191 | 12D51CDFC06027F344AF0D66 /* [CP] Check Pods Manifest.lock */ = { 192 | isa = PBXShellScriptBuildPhase; 193 | buildActionMask = 2147483647; 194 | files = ( 195 | ); 196 | inputFileListPaths = ( 197 | ); 198 | inputPaths = ( 199 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 200 | "${PODS_ROOT}/Manifest.lock", 201 | ); 202 | name = "[CP] Check Pods Manifest.lock"; 203 | outputFileListPaths = ( 204 | ); 205 | outputPaths = ( 206 | "$(DERIVED_FILE_DIR)/Pods-rubber-range-picker_Example-checkManifestLockResult.txt", 207 | ); 208 | runOnlyForDeploymentPostprocessing = 0; 209 | shellPath = /bin/sh; 210 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 211 | showEnvVarsInLog = 0; 212 | }; 213 | 6E7C02C390596FA2E71FE381 /* [CP] Embed Pods Frameworks */ = { 214 | isa = PBXShellScriptBuildPhase; 215 | buildActionMask = 2147483647; 216 | files = ( 217 | ); 218 | inputFileListPaths = ( 219 | ); 220 | inputPaths = ( 221 | "${PODS_ROOT}/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example-frameworks.sh", 222 | "${BUILT_PRODUCTS_DIR}/rubber-range-picker/rubber_range_picker.framework", 223 | ); 224 | name = "[CP] Embed Pods Frameworks"; 225 | outputFileListPaths = ( 226 | ); 227 | outputPaths = ( 228 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/rubber_range_picker.framework", 229 | ); 230 | runOnlyForDeploymentPostprocessing = 0; 231 | shellPath = /bin/sh; 232 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-rubber-range-picker_Example/Pods-rubber-range-picker_Example-frameworks.sh\"\n"; 233 | showEnvVarsInLog = 0; 234 | }; 235 | /* End PBXShellScriptBuildPhase section */ 236 | 237 | /* Begin PBXSourcesBuildPhase section */ 238 | 607FACCC1AFB9204008FA782 /* Sources */ = { 239 | isa = PBXSourcesBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 243 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 244 | ); 245 | runOnlyForDeploymentPostprocessing = 0; 246 | }; 247 | /* End PBXSourcesBuildPhase section */ 248 | 249 | /* Begin PBXVariantGroup section */ 250 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 251 | isa = PBXVariantGroup; 252 | children = ( 253 | 607FACDA1AFB9204008FA782 /* Base */, 254 | ); 255 | name = Main.storyboard; 256 | sourceTree = ""; 257 | }; 258 | CE50344F221B0EBC007A556B /* LaunchScreen.storyboard */ = { 259 | isa = PBXVariantGroup; 260 | children = ( 261 | CE503450221B0EBC007A556B /* Base */, 262 | ); 263 | name = LaunchScreen.storyboard; 264 | sourceTree = ""; 265 | }; 266 | /* End PBXVariantGroup section */ 267 | 268 | /* Begin XCBuildConfiguration section */ 269 | 607FACED1AFB9204008FA782 /* Debug */ = { 270 | isa = XCBuildConfiguration; 271 | buildSettings = { 272 | ALWAYS_SEARCH_USER_PATHS = NO; 273 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 274 | CLANG_CXX_LIBRARY = "libc++"; 275 | CLANG_ENABLE_MODULES = YES; 276 | CLANG_ENABLE_OBJC_ARC = YES; 277 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 278 | CLANG_WARN_BOOL_CONVERSION = YES; 279 | CLANG_WARN_COMMA = YES; 280 | CLANG_WARN_CONSTANT_CONVERSION = YES; 281 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 282 | CLANG_WARN_EMPTY_BODY = YES; 283 | CLANG_WARN_ENUM_CONVERSION = YES; 284 | CLANG_WARN_INFINITE_RECURSION = YES; 285 | CLANG_WARN_INT_CONVERSION = YES; 286 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 287 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 288 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 289 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 290 | CLANG_WARN_STRICT_PROTOTYPES = YES; 291 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 292 | CLANG_WARN_UNREACHABLE_CODE = YES; 293 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 294 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 295 | COPY_PHASE_STRIP = NO; 296 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 297 | ENABLE_STRICT_OBJC_MSGSEND = YES; 298 | ENABLE_TESTABILITY = YES; 299 | GCC_C_LANGUAGE_STANDARD = gnu99; 300 | GCC_DYNAMIC_NO_PIC = NO; 301 | GCC_NO_COMMON_BLOCKS = YES; 302 | GCC_OPTIMIZATION_LEVEL = 0; 303 | GCC_PREPROCESSOR_DEFINITIONS = ( 304 | "DEBUG=1", 305 | "$(inherited)", 306 | ); 307 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 308 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 309 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 310 | GCC_WARN_UNDECLARED_SELECTOR = YES; 311 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 312 | GCC_WARN_UNUSED_FUNCTION = YES; 313 | GCC_WARN_UNUSED_VARIABLE = YES; 314 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 315 | MTL_ENABLE_DEBUG_INFO = YES; 316 | ONLY_ACTIVE_ARCH = YES; 317 | SDKROOT = iphoneos; 318 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 319 | }; 320 | name = Debug; 321 | }; 322 | 607FACEE1AFB9204008FA782 /* Release */ = { 323 | isa = XCBuildConfiguration; 324 | buildSettings = { 325 | ALWAYS_SEARCH_USER_PATHS = NO; 326 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 327 | CLANG_CXX_LIBRARY = "libc++"; 328 | CLANG_ENABLE_MODULES = YES; 329 | CLANG_ENABLE_OBJC_ARC = YES; 330 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 331 | CLANG_WARN_BOOL_CONVERSION = YES; 332 | CLANG_WARN_COMMA = YES; 333 | CLANG_WARN_CONSTANT_CONVERSION = YES; 334 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 335 | CLANG_WARN_EMPTY_BODY = YES; 336 | CLANG_WARN_ENUM_CONVERSION = YES; 337 | CLANG_WARN_INFINITE_RECURSION = YES; 338 | CLANG_WARN_INT_CONVERSION = YES; 339 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 340 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 341 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 342 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 343 | CLANG_WARN_STRICT_PROTOTYPES = YES; 344 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 345 | CLANG_WARN_UNREACHABLE_CODE = YES; 346 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 347 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 348 | COPY_PHASE_STRIP = NO; 349 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 350 | ENABLE_NS_ASSERTIONS = NO; 351 | ENABLE_STRICT_OBJC_MSGSEND = YES; 352 | GCC_C_LANGUAGE_STANDARD = gnu99; 353 | GCC_NO_COMMON_BLOCKS = YES; 354 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 355 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 356 | GCC_WARN_UNDECLARED_SELECTOR = YES; 357 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 358 | GCC_WARN_UNUSED_FUNCTION = YES; 359 | GCC_WARN_UNUSED_VARIABLE = YES; 360 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 361 | MTL_ENABLE_DEBUG_INFO = NO; 362 | SDKROOT = iphoneos; 363 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 364 | VALIDATE_PRODUCT = YES; 365 | }; 366 | name = Release; 367 | }; 368 | 607FACF01AFB9204008FA782 /* Debug */ = { 369 | isa = XCBuildConfiguration; 370 | baseConfigurationReference = 6950D51C745AA570E97D8B51 /* Pods-rubber-range-picker_Example.debug.xcconfig */; 371 | buildSettings = { 372 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 373 | DEVELOPMENT_TEAM = SK7A63GXF6; 374 | INFOPLIST_FILE = "rubber-range-picker/Info.plist"; 375 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 376 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 377 | MODULE_NAME = ExampleApp; 378 | PRODUCT_BUNDLE_IDENTIFIER = "com.cuberto.components.rubber-range-picker"; 379 | PRODUCT_NAME = "$(TARGET_NAME)"; 380 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 381 | SWIFT_VERSION = 4.0; 382 | }; 383 | name = Debug; 384 | }; 385 | 607FACF11AFB9204008FA782 /* Release */ = { 386 | isa = XCBuildConfiguration; 387 | baseConfigurationReference = EC14AE661B72A2C3A43980F0 /* Pods-rubber-range-picker_Example.release.xcconfig */; 388 | buildSettings = { 389 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 390 | DEVELOPMENT_TEAM = SK7A63GXF6; 391 | INFOPLIST_FILE = "rubber-range-picker/Info.plist"; 392 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 393 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 394 | MODULE_NAME = ExampleApp; 395 | PRODUCT_BUNDLE_IDENTIFIER = "com.cuberto.components.rubber-range-picker"; 396 | PRODUCT_NAME = "$(TARGET_NAME)"; 397 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 398 | SWIFT_VERSION = 4.0; 399 | }; 400 | name = Release; 401 | }; 402 | /* End XCBuildConfiguration section */ 403 | 404 | /* Begin XCConfigurationList section */ 405 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "rubber-range-picker" */ = { 406 | isa = XCConfigurationList; 407 | buildConfigurations = ( 408 | 607FACED1AFB9204008FA782 /* Debug */, 409 | 607FACEE1AFB9204008FA782 /* Release */, 410 | ); 411 | defaultConfigurationIsVisible = 0; 412 | defaultConfigurationName = Release; 413 | }; 414 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "rubber-range-picker_Example" */ = { 415 | isa = XCConfigurationList; 416 | buildConfigurations = ( 417 | 607FACF01AFB9204008FA782 /* Debug */, 418 | 607FACF11AFB9204008FA782 /* Release */, 419 | ); 420 | defaultConfigurationIsVisible = 0; 421 | defaultConfigurationName = Release; 422 | }; 423 | /* End XCConfigurationList section */ 424 | }; 425 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 426 | } 427 | -------------------------------------------------------------------------------- /Example/rubber-range-picker.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/rubber-range-picker.xcodeproj/xcshareddata/xcschemes/rubber-range-picker-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/rubber-range-picker.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/rubber-range-picker.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/rubber-range-picker/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // rubber-range-picker 4 | // 5 | // Created by Anton Skopin on 02/15/2019. 6 | // Copyright (c) 2019 Anton Skopin. 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/rubber-range-picker/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /Example/rubber-range-picker/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | -------------------------------------------------------------------------------- /Example/rubber-range-picker/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "60x60", 35 | "idiom" : "iphone", 36 | "filename" : "Icon_60@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "60x60", 41 | "idiom" : "iphone", 42 | "filename" : "Icon_60@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "idiom" : "ios-marketing", 47 | "size" : "1024x1024", 48 | "scale" : "1x" 49 | } 50 | ], 51 | "info" : { 52 | "version" : 1, 53 | "author" : "xcode" 54 | } 55 | } -------------------------------------------------------------------------------- /Example/rubber-range-picker/Images.xcassets/AppIcon.appiconset/Icon_60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cuberto/rubber-range-picker/b711fc2d53ffae70e8d7869c86dc816d5643feda/Example/rubber-range-picker/Images.xcassets/AppIcon.appiconset/Icon_60@2x.png -------------------------------------------------------------------------------- /Example/rubber-range-picker/Images.xcassets/AppIcon.appiconset/Icon_60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cuberto/rubber-range-picker/b711fc2d53ffae70e8d7869c86dc816d5643feda/Example/rubber-range-picker/Images.xcassets/AppIcon.appiconset/Icon_60@3x.png -------------------------------------------------------------------------------- /Example/rubber-range-picker/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/rubber-range-picker/Images.xcassets/cuberto-logo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "cuberto-logo.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "cuberto-logo@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "cuberto-logo@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /Example/rubber-range-picker/Images.xcassets/cuberto-logo.imageset/cuberto-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cuberto/rubber-range-picker/b711fc2d53ffae70e8d7869c86dc816d5643feda/Example/rubber-range-picker/Images.xcassets/cuberto-logo.imageset/cuberto-logo.png -------------------------------------------------------------------------------- /Example/rubber-range-picker/Images.xcassets/cuberto-logo.imageset/cuberto-logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cuberto/rubber-range-picker/b711fc2d53ffae70e8d7869c86dc816d5643feda/Example/rubber-range-picker/Images.xcassets/cuberto-logo.imageset/cuberto-logo@2x.png -------------------------------------------------------------------------------- /Example/rubber-range-picker/Images.xcassets/cuberto-logo.imageset/cuberto-logo@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cuberto/rubber-range-picker/b711fc2d53ffae70e8d7869c86dc816d5643feda/Example/rubber-range-picker/Images.xcassets/cuberto-logo.imageset/cuberto-logo@3x.png -------------------------------------------------------------------------------- /Example/rubber-range-picker/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | rubber-range-picker 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/rubber-range-picker/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // rubber-range-picker 4 | // 5 | // Created by Anton Skopin on 02/15/2019. 6 | // Copyright (c) 2019 Anton Skopin. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import rubber_range_picker 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var sampleSlider: RubberRangePicker! 15 | @IBOutlet weak var lblValues: UILabel! 16 | 17 | @IBOutlet weak var behaviorSelector: UISegmentedControl! 18 | @IBOutlet weak var lblDamping: UILabel! 19 | @IBOutlet weak var dampingSlider: UISlider! 20 | @IBOutlet weak var lblElasticity: UILabel! 21 | @IBOutlet weak var elasticitySlider: UISlider! 22 | @IBOutlet weak var lblHeight: UILabel! 23 | @IBOutlet weak var lblSpeed: UILabel! 24 | @IBOutlet weak var heightSlider: UISlider! 25 | @IBOutlet weak var speedSlider: UISlider! 26 | @IBOutlet weak var swtConstraintStretch: UISwitch! 27 | 28 | 29 | override func viewDidLoad() { 30 | super.viewDidLoad() 31 | updateState() 32 | sliderUpdated() 33 | } 34 | 35 | @IBAction func updateState() { 36 | lblDamping.text = String(format:"damping: %.1f", dampingSlider.value) 37 | lblElasticity.text = String(format:"elasticity: %.1f", elasticitySlider.value) 38 | lblHeight.text = "stretchRange: \(ceil(heightSlider.value))" 39 | lblSpeed.text = String(format:"animationSpeed: %.1f", speedSlider.value) 40 | 41 | sampleSlider.elasticBehavior = behaviorSelector.selectedSegmentIndex == 0 ? .cubic : .linear 42 | sampleSlider.damping = CGFloat(dampingSlider.value) 43 | sampleSlider.elasticity = CGFloat(elasticitySlider.value) 44 | sampleSlider.constraintStretch = swtConstraintStretch.isOn 45 | sampleSlider.stretchRange = CGFloat(heightSlider.value) 46 | sampleSlider.animationSpeed = CGFloat(speedSlider.value) 47 | view.layoutIfNeeded() 48 | } 49 | 50 | @IBAction func sliderUpdated() { 51 | lblValues.text = String(format:"Selected values: %.1f - %.1f", sampleSlider.lowerValue, sampleSlider.upperValue) 52 | } 53 | 54 | } 55 | 56 | -------------------------------------------------------------------------------- /Example/rubber-range-picker/en.lproj/LaunchScreen.strings: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Cuberto 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Cuberto's development lab: 2 | 3 | Cuberto is a leading digital agency with solid design and development expertise. We build mobile and web products for startups. Drop us a line. 4 | 5 | # rubber-range-picker 6 | 7 | [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/Cuberto/rubber-range-picker/master/LICENSE) 8 | [![CocoaPods](https://img.shields.io/cocoapods/v/rubber-range-picker.svg?style=flat)](http://cocoapods.org/pods/rubber-range-picker) 9 | [![Swift 4.2](https://img.shields.io/badge/Swift-4.2-green.svg?style=flat)](https://developer.apple.com/swift/) 10 | 11 | ![Animation](https://raw.githubusercontent.com/Cuberto/rubber-range-picker/master/Screenshots/animation.gif) 12 | 13 | ## Example 14 | 15 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 16 | 17 | ## Requirements 18 | 19 | - iOS 9.3+ 20 | - Xcode 10 21 | 22 | ## Installation 23 | 24 | rubber-range-picker is available through [CocoaPods](https://cocoapods.org). To install 25 | it, simply add the following line to your Podfile: 26 | 27 | ```ruby 28 | pod 'rubber-range-picker' 29 | ``` 30 | Then run `pod install`. 31 | 32 | Do not forget to run `pod repo update` if spec not found 33 | 34 | ## Usage 35 | 36 | Set `RubberRangePicker` as class for custom view in interface builder, or instantiate it from manualy from code. 37 | 38 | Use `minimumValue`/`maximumValue` to set border values, and `lowerValue`/`upperValue` to get or set selected values. 39 | 40 | Target-action model (valueChanged) can be used to monitor selection changes. 41 | 42 | There are some parameters that determine animation behavior, use sample app to check them and find values satisfying your needs. 43 | 44 | ## Author 45 | 46 | Cuberto Design, info@cuberto.com 47 | 48 | ## License 49 | 50 | rubber-range-picker is available under the MIT license. See the LICENSE file for more info. 51 | -------------------------------------------------------------------------------- /Screenshots/animation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cuberto/rubber-range-picker/b711fc2d53ffae70e8d7869c86dc816d5643feda/Screenshots/animation.gif -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /rubber-range-picker.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint rubber-range-picker.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'rubber-range-picker' 11 | s.version = '0.8.1' 12 | s.swift_version = '4.2' 13 | s.summary = 'Two-sided slider with elastic behavior' 14 | s.homepage = 'https://github.com/Cuberto/rubber-range-picker' 15 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 16 | s.license = { :type => 'MIT', :file => 'LICENSE' } 17 | s.author = { 'Anton Skopin' => 'askopin@gmail.com' } 18 | s.source = { :git => 'https://github.com/Cuberto/rubber-range-picker.git', :tag => s.version.to_s } 19 | s.social_media_url = 'https://twitter.com/cuberto' 20 | 21 | s.ios.deployment_target = '9.3' 22 | 23 | s.source_files = 'rubber-range-picker/Classes/**/*' 24 | end 25 | -------------------------------------------------------------------------------- /rubber-range-picker/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cuberto/rubber-range-picker/b711fc2d53ffae70e8d7869c86dc816d5643feda/rubber-range-picker/Assets/.gitkeep -------------------------------------------------------------------------------- /rubber-range-picker/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Cuberto/rubber-range-picker/b711fc2d53ffae70e8d7869c86dc816d5643feda/rubber-range-picker/Classes/.gitkeep -------------------------------------------------------------------------------- /rubber-range-picker/Classes/Extensions.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Extensions.swift 3 | // rubberRangePickerSample 4 | // 5 | // Created by Anton Skopin on 13/02/2019. 6 | // Copyright © 2019 cuberto. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | extension CGPoint { 12 | func offsetBy(dx: CGFloat = 0, dy: CGFloat = 0) -> CGPoint { 13 | return CGPoint(x: x + dx, y: y + dy) 14 | } 15 | } 16 | 17 | extension UIColor { 18 | func lighter(by lighterPercent: CGFloat) -> UIColor { 19 | var fRed: CGFloat = 0 20 | var fGreen: CGFloat = 0 21 | var fBlue: CGFloat = 0 22 | var fAlpha: CGFloat = 0 23 | getRed(&fRed, green: &fGreen, blue: &fBlue, alpha: &fAlpha) 24 | return UIColor(red: min(1.0, (fRed + 1.0) * lighterPercent), 25 | green: min(1.0, (fGreen + 1.0) * lighterPercent), 26 | blue: min(1.0, (fBlue + 1.0) * lighterPercent), alpha: fAlpha) 27 | } 28 | } 29 | 30 | 31 | -------------------------------------------------------------------------------- /rubber-range-picker/Classes/RubberRangePicker.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RubberRangePicker.swift 3 | // rubberRangePickerSample 4 | // 5 | // Created by Anton Skopin on 13/02/2019. 6 | // Copyright © 2019 cuberto. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @IBDesignable open class RubberRangePicker: UIControl { 12 | 13 | public enum ElasticBehavior { 14 | case linear 15 | case cubic 16 | } 17 | 18 | open var elasticBehavior: ElasticBehavior = .cubic { 19 | didSet { 20 | trackLayer.behavior = elasticBehavior 21 | } 22 | } 23 | 24 | @IBInspectable open var damping: CGFloat = 0.5 25 | @IBInspectable open var elasticity: CGFloat = 0.5 26 | @IBInspectable open var constraintStretch: Bool = true 27 | @IBInspectable open var stretchRange: CGFloat = 30 28 | @IBInspectable open var animationSpeed: CGFloat = 1.0 29 | 30 | open override var tintColor: UIColor! { 31 | didSet { 32 | trackLayer.innerColor = tintColor 33 | trackLayer.setNeedsDisplay() 34 | lowerThumb.tintColor = tintColor 35 | upperThumb.tintColor = tintColor 36 | } 37 | } 38 | 39 | open var lineColor: UIColor! = #colorLiteral(red: 0.862745098, green: 0.862745098, blue: 0.9294117647, alpha: 1) { 40 | didSet { 41 | trackLayer.outerColor = lineColor 42 | trackLayer.setNeedsDisplay() 43 | } 44 | } 45 | 46 | open var thumbSize: CGFloat = 40.0 { 47 | didSet { 48 | trackLayer.margin = thumbSize/2.0 49 | invalidateIntrinsicContentSize() 50 | } 51 | } 52 | 53 | open override var intrinsicContentSize: CGSize { 54 | return CGSize(width: thumbSize * 6, height: thumbSize + 2) 55 | } 56 | 57 | 58 | private var _lowerValue: Double = 0.0 59 | private var _upperValue: Double = 1.0 60 | 61 | @IBInspectable public var minimumValue: Double = 0.0 { 62 | didSet { 63 | if minimumValue > maximumValue { 64 | maximumValue = minimumValue 65 | } 66 | } 67 | } 68 | @IBInspectable public var maximumValue: Double = 1.0 { 69 | didSet { 70 | if maximumValue < minimumValue { 71 | minimumValue = maximumValue 72 | } 73 | } 74 | } 75 | 76 | @IBInspectable public var lowerValue: Double { 77 | get { 78 | return _lowerValue 79 | } 80 | set { 81 | _lowerValue = max(minimumValue, min(maximumValue, newValue)) 82 | if _lowerValue > upperValue { 83 | upperValue = _lowerValue 84 | } 85 | } 86 | } 87 | @IBInspectable public var upperValue: Double { 88 | get { 89 | return _upperValue 90 | } 91 | set { 92 | _upperValue = max(minimumValue, min(maximumValue, newValue)) 93 | if _upperValue < lowerValue { 94 | lowerValue = _upperValue 95 | } 96 | } 97 | } 98 | 99 | @IBInspectable open var enableValueStep: Bool = false 100 | @IBInspectable open var stepValue: Double = 1.0 101 | 102 | private var trackLayer = RubberTrackLayer() 103 | private var lowerThumb = RubberRangeThumb() 104 | private var upperThumb = RubberRangeThumb() 105 | private var previousLocation = CGPoint() 106 | 107 | private lazy var displayLink: CADisplayLink = CADisplayLink(target: self, selector: #selector(screenUpdate)) 108 | 109 | private var movingLower: Bool = false 110 | private var movingUpper: Bool = false 111 | 112 | private var lowerAnimationStart: CFTimeInterval? 113 | private var lowerStartOffset: CGFloat? 114 | private var upperAnimationStart: CFTimeInterval? 115 | private var upperStartOffset: CGFloat? 116 | 117 | private var vertOffset: CGFloat = 0 118 | 119 | public override init(frame: CGRect) { 120 | super.init(frame: frame) 121 | configure() 122 | } 123 | 124 | public required init?(coder aDecoder: NSCoder) { 125 | super.init(coder: aDecoder) 126 | configure() 127 | } 128 | 129 | override open func prepareForInterfaceBuilder() { 130 | configure() 131 | screenUpdate() 132 | updateTrackLayer() 133 | } 134 | 135 | private func configure() { 136 | tintColor = #colorLiteral(red: 0.168627451, green: 0.6745098039, blue: 0.9882352941, alpha: 1) 137 | trackLayer.innerColor = tintColor 138 | trackLayer.outerColor = lineColor 139 | trackLayer.behavior = elasticBehavior 140 | lowerThumb.isUserInteractionEnabled = false 141 | upperThumb.isUserInteractionEnabled = false 142 | layer.addSublayer(trackLayer) 143 | addSubview(lowerThumb) 144 | addSubview(upperThumb) 145 | lowerThumb.frame = CGRect(x: 0, y: (bounds.height - thumbSize) / 2.0, 146 | width: thumbSize, height: thumbSize) 147 | upperThumb.frame = CGRect(x: bounds.width - thumbSize, y: (bounds.height - thumbSize) / 2.0, 148 | width: thumbSize, height: thumbSize) 149 | displayLink.add(to: .current, forMode: .common) 150 | } 151 | 152 | open override func beginTracking(_ touch: UITouch, with event: UIEvent?) -> Bool { 153 | previousLocation = touch.location(in: self) 154 | vertOffset = 0 155 | let location = touch.location(in: self) 156 | if lowerThumb.frame.contains(location) { 157 | movingLower = true 158 | lowerAnimationStart = nil 159 | lowerStartOffset = nil 160 | } else if upperThumb.frame.contains(location) { 161 | movingUpper = true 162 | upperAnimationStart = nil 163 | upperStartOffset = nil 164 | } 165 | return movingLower || movingUpper 166 | } 167 | 168 | open override func continueTracking(_ touch: UITouch, with event: UIEvent?) -> Bool { 169 | let location = touch.location(in: self) 170 | 171 | let deltaLocation = Double(location.x - previousLocation.x) 172 | let deltaValue = (maximumValue - minimumValue) * deltaLocation / Double(bounds.width - thumbSize * 2) 173 | previousLocation = location 174 | if movingLower { 175 | lowerValue = bound(value: lowerValue + deltaValue, toLowerValue: minimumValue, upperValue: maximumValue) 176 | upperValue = max(upperValue, lowerValue) 177 | if enableValueStep == true { 178 | lowerValue = Double(roundf(Float(lowerValue / stepValue))) * stepValue 179 | } 180 | } else if movingUpper { 181 | upperValue = bound(value: upperValue + deltaValue, toLowerValue: minimumValue, upperValue: maximumValue) 182 | lowerValue = min(upperValue, lowerValue) 183 | if enableValueStep == true { 184 | upperValue = Double(roundf(Float(upperValue / stepValue))) * stepValue 185 | } 186 | } 187 | 188 | let touchOffset = (location.y - bounds.height/2.0) 189 | let touchOffsetVal = abs(touchOffset) 190 | let sign: CGFloat = touchOffset.sign == .minus ? -1 : 1 191 | var maxVal: CGFloat = stretchRange 192 | if (constraintStretch){ 193 | maxVal = min(maxVal, (upperOffset - lowerOffset)/2.0) 194 | if movingLower { 195 | maxVal = min(maxVal, lowerOffset/2.0) 196 | } 197 | if movingUpper { 198 | maxVal = min(maxVal, (bounds.width - upperOffset)/2.0) 199 | } 200 | } 201 | let offsetVal = (maxVal - 1/(touchOffsetVal * pow(48, -(1.9 + 0.6 * elasticity)) + 1/maxVal)) 202 | vertOffset = sign * min(offsetVal, touchOffsetVal) 203 | 204 | sendActions(for: .valueChanged) 205 | return true 206 | } 207 | open override func endTracking(_ touch: UITouch?, with event: UIEvent?) { 208 | CACurrentMediaTime() 209 | if (movingLower) { 210 | lowerAnimationStart = CACurrentMediaTime() 211 | lowerStartOffset = vertOffset 212 | } 213 | if (movingUpper) { 214 | upperAnimationStart = CACurrentMediaTime() 215 | upperStartOffset = vertOffset 216 | } 217 | movingLower = false 218 | movingUpper = false 219 | } 220 | 221 | private var lowerOffset: CGFloat { 222 | return (bounds.width - thumbSize * 2) * CGFloat((lowerValue - minimumValue) / (maximumValue - minimumValue)) 223 | } 224 | 225 | private var upperOffset: CGFloat { 226 | return (bounds.width - thumbSize * 2) * CGFloat((upperValue - minimumValue) / (maximumValue - minimumValue)) + thumbSize 227 | } 228 | 229 | private func bound(value: Double, toLowerValue lowerValue: Double, upperValue: Double) -> Double { 230 | return min(max(value, lowerValue), upperValue) 231 | } 232 | 233 | private func position(for value: Double) -> CGFloat { 234 | return (bounds.width - thumbSize) * CGFloat((value - minimumValue) / (maximumValue - minimumValue)) 235 | } 236 | 237 | @objc private func screenUpdate() { 238 | lowerThumb.isHighLighted = movingLower 239 | upperThumb.isHighLighted = movingUpper 240 | 241 | let timeMultiplier: CGFloat = 2.5 * animationSpeed 242 | 243 | var lowerVertOffset: CGFloat = (movingLower ? vertOffset : 0) 244 | if !movingLower, 245 | let lowerAnimationStart = lowerAnimationStart, 246 | let lowerStartOffset = lowerStartOffset { 247 | let elapsedTime = CGFloat(CACurrentMediaTime() - lowerAnimationStart) * timeMultiplier 248 | lowerVertOffset = springCoordinate(forTime: elapsedTime, offset: lowerStartOffset) 249 | } 250 | var upperVertOffset: CGFloat = (movingUpper ? vertOffset : 0) 251 | if !movingLower, 252 | let upperAnimationStart = upperAnimationStart, 253 | let upperStartOffset = upperStartOffset { 254 | let elapsedTime = CGFloat(CACurrentMediaTime() - upperAnimationStart) * timeMultiplier 255 | upperVertOffset = springCoordinate(forTime: elapsedTime, offset: upperStartOffset) 256 | } 257 | 258 | lowerThumb.frame = CGRect(x: lowerOffset, 259 | y: (bounds.height - thumbSize)/2.0 + lowerVertOffset, 260 | width: thumbSize, height: thumbSize) 261 | 262 | upperThumb.frame = CGRect(x: upperOffset, 263 | y: (bounds.height - thumbSize)/2.0 + upperVertOffset, 264 | width: thumbSize, height: thumbSize) 265 | updateTrackLayer() 266 | 267 | } 268 | 269 | private func springCoordinate(forTime time: CGFloat, offset: CGFloat) -> CGFloat { 270 | let A: CGFloat = offset 271 | let r: CGFloat = 40 272 | let m: CGFloat = 6 273 | let beta: CGFloat = r/(2*m) 274 | let k: CGFloat = 20 + 100 * damping 275 | let omega0: CGFloat = k/m 276 | let omega: CGFloat = pow(-pow(beta,2)+pow(omega0,2), 0.5) 277 | 278 | return A * exp(-beta * time) * cos(omega * time) 279 | } 280 | 281 | private func updateTrackLayer() { 282 | trackLayer.frame = bounds 283 | trackLayer.lowerOffset = lowerThumb.frame.midX 284 | trackLayer.upperOffset = upperThumb.frame.midX 285 | trackLayer.lowerVertOffset = lowerThumb.frame.midY - bounds.height/2.0 286 | trackLayer.upperVertOffset = upperThumb.frame.midY - bounds.height/2.0 287 | trackLayer.redraw() 288 | } 289 | 290 | } 291 | -------------------------------------------------------------------------------- /rubber-range-picker/Classes/RubberRangeThumb.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RubberRangeThumb.swift 3 | // rubberRangePickerSample 4 | // 5 | // Created by Anton Skopin on 13/02/2019. 6 | // Copyright © 2019 cuberto. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class RubberRangeThumb: UIView { 12 | override var tintColor: UIColor! { 13 | didSet { 14 | fillColor = tintColor.lighter(by: 0.5) 15 | content?.strokeColor = tintColor.cgColor 16 | content?.fillColor = isHighLighted ? fillColor.cgColor : UIColor.white.cgColor 17 | } 18 | } 19 | var fillColor: UIColor = .white 20 | 21 | var isHighLighted: Bool = false { 22 | didSet { 23 | content?.fillColor = isHighLighted ? fillColor.cgColor : UIColor.white.cgColor 24 | } 25 | } 26 | 27 | var content: CAShapeLayer? 28 | func drawContent() { 29 | let contentLayer = CAShapeLayer() 30 | contentLayer.path = UIBezierPath(ovalIn: bounds).cgPath 31 | contentLayer.fillColor = fillColor.cgColor 32 | contentLayer.strokeColor = tintColor.cgColor 33 | contentLayer.lineWidth = 2.0 34 | layer.addSublayer(contentLayer) 35 | content?.removeFromSuperlayer() 36 | content = contentLayer 37 | } 38 | 39 | override func layoutSubviews() { 40 | drawContent() 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /rubber-range-picker/Classes/RubberTrackLayer.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RubberTrackLayer.swift 3 | // rubberRangePickerSample 4 | // 5 | // Created by Anton Skopin on 13/02/2019. 6 | // Copyright © 2019 cuberto. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class RubberTrackLayer: CALayer { 12 | 13 | var behavior: RubberRangePicker.ElasticBehavior = .linear 14 | var margin: CGFloat = 0 15 | var innerColor: UIColor = .blue { 16 | didSet { 17 | secondSegment.strokeColor = innerColor.cgColor 18 | } 19 | } 20 | var outerColor: UIColor = .lightGray { 21 | didSet { 22 | firstSegment.strokeColor = outerColor.cgColor 23 | thirdSegment.strokeColor = outerColor.cgColor 24 | } 25 | } 26 | 27 | var lowerOffset: CGFloat = 0 28 | var upperOffset: CGFloat = 1.0 29 | 30 | var lowerVertOffset: CGFloat = 0 31 | var upperVertOffset: CGFloat = 0 32 | 33 | lazy var firstSegment: CAShapeLayer = { 34 | let layer = CAShapeLayer() 35 | layer.strokeColor = innerColor.cgColor 36 | layer.fillColor = nil 37 | layer.lineWidth = 1.0 38 | self.addSublayer(layer) 39 | return layer 40 | }() 41 | lazy var secondSegment: CAShapeLayer = { 42 | let layer = CAShapeLayer() 43 | layer.strokeColor = outerColor.cgColor 44 | layer.fillColor = nil 45 | layer.lineWidth = 2.0 46 | self.addSublayer(layer) 47 | return layer 48 | }() 49 | lazy var thirdSegment: CAShapeLayer = { 50 | let layer = CAShapeLayer() 51 | layer.strokeColor = innerColor.cgColor 52 | layer.fillColor = nil 53 | layer.lineWidth = 1.0 54 | self.addSublayer(layer) 55 | return layer 56 | }() 57 | 58 | func redraw() { 59 | firstSegment.frame = self.bounds 60 | secondSegment.frame = self.bounds 61 | thirdSegment.frame = self.bounds 62 | let diff = upperOffset - lowerOffset 63 | 64 | let pt1 = CGPoint(x: margin, y: bounds.midY) 65 | let pt2 = CGPoint(x: margin + lowerOffset, y: bounds.midY + lowerVertOffset) 66 | let pt3 = CGPoint(x: margin + upperOffset, y: bounds.midY + upperVertOffset) 67 | let pt4 = CGPoint(x: bounds.maxX - margin, y: bounds.midY) 68 | 69 | let firstPath = UIBezierPath() 70 | let secondPath = UIBezierPath() 71 | let thirdPath = UIBezierPath() 72 | firstPath.move(to: pt1) 73 | secondPath.move(to: pt2) 74 | thirdPath.move(to: pt3) 75 | switch behavior { 76 | case .linear: 77 | firstPath.addLine(to: pt2) 78 | secondPath.addLine(to: pt3) 79 | thirdPath.addLine(to: pt4) 80 | case .cubic: 81 | firstPath.addCurve(to: pt2, 82 | controlPoint1: pt1.offsetBy(dx: lowerOffset/2.0), 83 | controlPoint2: pt2.offsetBy(dx: -lowerOffset/2.0)) 84 | secondPath.addCurve(to: pt3, 85 | controlPoint1: pt2.offsetBy(dx: diff/2.0), 86 | controlPoint2: pt3.offsetBy(dx: -diff/2.0)) 87 | let controlOffset = (bounds.width - margin * 2 - upperOffset)/2.0 88 | thirdPath.addCurve(to: pt4, 89 | controlPoint1: pt3.offsetBy(dx: controlOffset), 90 | controlPoint2: pt4.offsetBy(dx: -controlOffset)) 91 | } 92 | firstSegment.path = firstPath.cgPath 93 | secondSegment.path = secondPath.cgPath 94 | thirdSegment.path = thirdPath.cgPath 95 | } 96 | } 97 | --------------------------------------------------------------------------------