├── .gitignore ├── .travis.yml ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── SlidingNumberView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── Target Support Files │ │ ├── Pods-SlidingNumberView_Example │ │ ├── Pods-SlidingNumberView_Example-Info.plist │ │ ├── Pods-SlidingNumberView_Example-acknowledgements.markdown │ │ ├── Pods-SlidingNumberView_Example-acknowledgements.plist │ │ ├── Pods-SlidingNumberView_Example-dummy.m │ │ ├── Pods-SlidingNumberView_Example-frameworks.sh │ │ ├── Pods-SlidingNumberView_Example-umbrella.h │ │ ├── Pods-SlidingNumberView_Example.debug.xcconfig │ │ ├── Pods-SlidingNumberView_Example.modulemap │ │ └── Pods-SlidingNumberView_Example.release.xcconfig │ │ ├── Pods-SlidingNumberView_Tests │ │ ├── Pods-SlidingNumberView_Tests-Info.plist │ │ ├── Pods-SlidingNumberView_Tests-acknowledgements.markdown │ │ ├── Pods-SlidingNumberView_Tests-acknowledgements.plist │ │ ├── Pods-SlidingNumberView_Tests-dummy.m │ │ ├── Pods-SlidingNumberView_Tests-umbrella.h │ │ ├── Pods-SlidingNumberView_Tests.debug.xcconfig │ │ ├── Pods-SlidingNumberView_Tests.modulemap │ │ └── Pods-SlidingNumberView_Tests.release.xcconfig │ │ └── SlidingNumberView │ │ ├── SlidingNumberView-Info.plist │ │ ├── SlidingNumberView-dummy.m │ │ ├── SlidingNumberView-prefix.pch │ │ ├── SlidingNumberView-umbrella.h │ │ ├── SlidingNumberView.modulemap │ │ └── SlidingNumberView.xcconfig ├── SlidingNumberView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── SlidingNumberView-Example.xcscheme ├── SlidingNumberView.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── SlidingNumberView │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── README.md ├── Samples └── SlidingNumberView-SampleGif.gif ├── SlidingNumberView.podspec ├── SlidingNumberView ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── SlidingNumberStrips.swift │ └── SlidingNumberView.swift └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode10.2 6 | language: objective-c 7 | xcode_workspace: Example/SlidingNumberView.xcworkspace #3 8 | xcode_scheme: SlidingNumberView-Example #4 9 | xcode_sdk: iphonesimulator12.2 10 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'SlidingNumberView_Example' do 4 | pod 'SlidingNumberView', :path => '../' 5 | 6 | target 'SlidingNumberView_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SlidingNumberView (0.0.6) 3 | 4 | DEPENDENCIES: 5 | - SlidingNumberView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SlidingNumberView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SlidingNumberView: b4701f14bcb02e4f3627f9f43cf4254b7012402d 13 | 14 | PODFILE CHECKSUM: d2596f909db0a372bbcffe59d0c6ad248f78bc42 15 | 16 | COCOAPODS: 1.7.2 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/SlidingNumberView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SlidingNumberView", 3 | "version": "0.0.6", 4 | "summary": "SlidingNumberView is a custom view that will count from an initial number to a final number with sliding animation", 5 | "description": "SlidingNumberView enables numbers to change like the hand tally counter (most relevant example). It changes from a starting number to a final number with sliding animation. Currently, it supports numbers up to 11 Digits", 6 | "homepage": "https://github.com/bupstan/SlidingNumberView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "bupstan": "bupstan.dev@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/bupstan/SlidingNumberView.git", 16 | "tag": "0.0.6" 17 | }, 18 | "platforms": { 19 | "ios": "10.0" 20 | }, 21 | "swift_versions": "4.2", 22 | "source_files": "SlidingNumberView/Classes/**/*", 23 | "swift_version": "4.2" 24 | } 25 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - SlidingNumberView (0.0.6) 3 | 4 | DEPENDENCIES: 5 | - SlidingNumberView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | SlidingNumberView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | SlidingNumberView: b4701f14bcb02e4f3627f9f43cf4254b7012402d 13 | 14 | PODFILE CHECKSUM: d2596f909db0a372bbcffe59d0c6ad248f78bc42 15 | 16 | COCOAPODS: 1.7.2 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 | 0D2F4F63BFF247FB3F2B0F36624D7283 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 11 | 39B9FF3228B1328468B5639F44D07E7F /* SlidingNumberView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 8C71170F6AE7D2604F89D20EDD0FF93E /* SlidingNumberView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 69A993B5C5002D92DE3C1CB0B2C4E6F3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 13 | 91DEAC1A57A8E7EE3902117059993DFF /* SlidingNumberStrips.swift in Sources */ = {isa = PBXBuildFile; fileRef = D79E667D3FE9E6D361BE154570BA6A32 /* SlidingNumberStrips.swift */; }; 14 | AC80572675309C1A155ABCF3966DC823 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 15 | ADB95F07791C60EFE93A2B69BD092A1F /* Pods-SlidingNumberView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9940F65E1CD53F889DEBEF5B25A13801 /* Pods-SlidingNumberView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | B49395C3543A3C3BD2EF79BDE4706E9C /* Pods-SlidingNumberView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C799A71716E60003E7C2EB469CDD5C32 /* Pods-SlidingNumberView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | BC1F41DE820B42ED2794D0CE98FEE938 /* Pods-SlidingNumberView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 656FC9BEBE26566ABA87669E29552DB6 /* Pods-SlidingNumberView_Example-dummy.m */; }; 18 | D0228F33A23C6813A80F1D33D063763C /* Pods-SlidingNumberView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9870337F6B713704DB9CA466CAE9AF15 /* Pods-SlidingNumberView_Tests-dummy.m */; }; 19 | E6C733C5D84E49511F370276BAC972BD /* SlidingNumberView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9ADA41E6EF606761FAFD0C43C93C2542 /* SlidingNumberView.swift */; }; 20 | F48ECBDAED9744A3185F24A8CDA363DF /* SlidingNumberView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CD2F758B990DE2B748258E17F51C9B28 /* SlidingNumberView-dummy.m */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | 9448B6FB1D0591F7B03AF36068B77B3D /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = 5948BD04474A048B00BCB4726E34B69B; 29 | remoteInfo = "Pods-SlidingNumberView_Example"; 30 | }; 31 | FFF88E3C86008F45DFC859D60924A5DB /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = FB1908B2256E5D37BAB1AC7AB224D1EA; 36 | remoteInfo = SlidingNumberView; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 02CF3FDCF37826638B0393723FBD5C4B /* Pods-SlidingNumberView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SlidingNumberView_Example-acknowledgements.plist"; sourceTree = ""; }; 42 | 144D8113F1C42865C96A1351B678459C /* Pods-SlidingNumberView_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SlidingNumberView_Tests-Info.plist"; sourceTree = ""; }; 43 | 16B076F35E912618C8E96AEEF4D32B6F /* Pods_SlidingNumberView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SlidingNumberView_Tests.framework; path = "Pods-SlidingNumberView_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 1F3359DF28F8CD63A8B3270C0917A538 /* Pods-SlidingNumberView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SlidingNumberView_Example.release.xcconfig"; sourceTree = ""; }; 45 | 2404014E7C4475A1ACA23F38DD1F3955 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; 46 | 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 47 | 33E7D2D6EDDBE29AC88E044772C69F46 /* SlidingNumberView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = SlidingNumberView.modulemap; sourceTree = ""; }; 48 | 3935F2C4A26496F4C1FFF07C7E3B5D1F /* Pods-SlidingNumberView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SlidingNumberView_Example.debug.xcconfig"; sourceTree = ""; }; 49 | 3B5DF4528927186B2B4C7B6579843FD7 /* SlidingNumberView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SlidingNumberView-prefix.pch"; sourceTree = ""; }; 50 | 423E489CEBCA8F63DB9732632ACD504D /* Pods-SlidingNumberView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SlidingNumberView_Example-acknowledgements.markdown"; sourceTree = ""; }; 51 | 48647D66F098A676C162B0D543DC94D9 /* Pods-SlidingNumberView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SlidingNumberView_Example.modulemap"; sourceTree = ""; }; 52 | 490DACBEE22E8196B2A7D21A09C71178 /* SlidingNumberView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SlidingNumberView.xcconfig; sourceTree = ""; }; 53 | 56C020197FD136B45AC53C48D819E842 /* Pods-SlidingNumberView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SlidingNumberView_Tests.release.xcconfig"; sourceTree = ""; }; 54 | 656FC9BEBE26566ABA87669E29552DB6 /* Pods-SlidingNumberView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SlidingNumberView_Example-dummy.m"; sourceTree = ""; }; 55 | 7031CBF7F10E6A914E5670EBC2E7B8A1 /* Pods-SlidingNumberView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SlidingNumberView_Example-frameworks.sh"; sourceTree = ""; }; 56 | 8C71170F6AE7D2604F89D20EDD0FF93E /* SlidingNumberView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SlidingNumberView-umbrella.h"; sourceTree = ""; }; 57 | 95CF6EC67B6ECA41E44B500482D42B3E /* Pods-SlidingNumberView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SlidingNumberView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 58 | 9870337F6B713704DB9CA466CAE9AF15 /* Pods-SlidingNumberView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SlidingNumberView_Tests-dummy.m"; sourceTree = ""; }; 59 | 9940F65E1CD53F889DEBEF5B25A13801 /* Pods-SlidingNumberView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SlidingNumberView_Tests-umbrella.h"; sourceTree = ""; }; 60 | 9ADA41E6EF606761FAFD0C43C93C2542 /* SlidingNumberView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SlidingNumberView.swift; path = SlidingNumberView/Classes/SlidingNumberView.swift; sourceTree = ""; }; 61 | 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; }; 62 | A9A892F4BE81734D7814C7FBBAE8FB41 /* Pods-SlidingNumberView_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SlidingNumberView_Example-Info.plist"; sourceTree = ""; }; 63 | C799A71716E60003E7C2EB469CDD5C32 /* Pods-SlidingNumberView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SlidingNumberView_Example-umbrella.h"; sourceTree = ""; }; 64 | CA58DBC3A90B093E0A6FDC0B2E474441 /* Pods_SlidingNumberView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SlidingNumberView_Example.framework; path = "Pods-SlidingNumberView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 65 | CC9EAA08B8B906FC776FCEDD0CB3A5F8 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; 66 | CD2F758B990DE2B748258E17F51C9B28 /* SlidingNumberView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SlidingNumberView-dummy.m"; sourceTree = ""; }; 67 | D610F13F84F81BED7620BA7E14E38248 /* Pods-SlidingNumberView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SlidingNumberView_Tests.modulemap"; sourceTree = ""; }; 68 | D637B8EE3DF158936EC71E0D9A5D4C8D /* SlidingNumberView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = SlidingNumberView.framework; path = SlidingNumberView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 69 | D79E667D3FE9E6D361BE154570BA6A32 /* SlidingNumberStrips.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SlidingNumberStrips.swift; path = SlidingNumberView/Classes/SlidingNumberStrips.swift; sourceTree = ""; }; 70 | DC60FA45058EBDFEEE840F6803BDF3FA /* SlidingNumberView-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "SlidingNumberView-Info.plist"; sourceTree = ""; }; 71 | F3B383F242E378FDAD6CEA9226F30B08 /* SlidingNumberView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = SlidingNumberView.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 72 | F8BF46D72FE4DC4279889DA2202152FB /* Pods-SlidingNumberView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SlidingNumberView_Tests-acknowledgements.plist"; sourceTree = ""; }; 73 | FCBF435919F094A585E45743AF3BAB03 /* Pods-SlidingNumberView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SlidingNumberView_Tests.debug.xcconfig"; sourceTree = ""; }; 74 | /* End PBXFileReference section */ 75 | 76 | /* Begin PBXFrameworksBuildPhase section */ 77 | 548337B8A570DCA9A373EEC4AC5BC636 /* Frameworks */ = { 78 | isa = PBXFrameworksBuildPhase; 79 | buildActionMask = 2147483647; 80 | files = ( 81 | 0D2F4F63BFF247FB3F2B0F36624D7283 /* Foundation.framework in Frameworks */, 82 | ); 83 | runOnlyForDeploymentPostprocessing = 0; 84 | }; 85 | 7049B6329E75106E5A00A30CF0644F2F /* Frameworks */ = { 86 | isa = PBXFrameworksBuildPhase; 87 | buildActionMask = 2147483647; 88 | files = ( 89 | AC80572675309C1A155ABCF3966DC823 /* Foundation.framework in Frameworks */, 90 | ); 91 | runOnlyForDeploymentPostprocessing = 0; 92 | }; 93 | F348B883AEE4FA3ECCB7C22D93DD7B0F /* Frameworks */ = { 94 | isa = PBXFrameworksBuildPhase; 95 | buildActionMask = 2147483647; 96 | files = ( 97 | 69A993B5C5002D92DE3C1CB0B2C4E6F3 /* Foundation.framework in Frameworks */, 98 | ); 99 | runOnlyForDeploymentPostprocessing = 0; 100 | }; 101 | /* End PBXFrameworksBuildPhase section */ 102 | 103 | /* Begin PBXGroup section */ 104 | 4A68D088D65007630E614275E1CB208C /* SlidingNumberView */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | D79E667D3FE9E6D361BE154570BA6A32 /* SlidingNumberStrips.swift */, 108 | 9ADA41E6EF606761FAFD0C43C93C2542 /* SlidingNumberView.swift */, 109 | 82AAC9CA69E48651B0F9CA6CA25A2937 /* Pod */, 110 | A993C3EBBB5E2C46AA907A6B17E8D491 /* Support Files */, 111 | ); 112 | name = SlidingNumberView; 113 | path = ../..; 114 | sourceTree = ""; 115 | }; 116 | 4DF33884C0DD93983FA6F2A97D07D175 /* Pods-SlidingNumberView_Example */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 48647D66F098A676C162B0D543DC94D9 /* Pods-SlidingNumberView_Example.modulemap */, 120 | 423E489CEBCA8F63DB9732632ACD504D /* Pods-SlidingNumberView_Example-acknowledgements.markdown */, 121 | 02CF3FDCF37826638B0393723FBD5C4B /* Pods-SlidingNumberView_Example-acknowledgements.plist */, 122 | 656FC9BEBE26566ABA87669E29552DB6 /* Pods-SlidingNumberView_Example-dummy.m */, 123 | 7031CBF7F10E6A914E5670EBC2E7B8A1 /* Pods-SlidingNumberView_Example-frameworks.sh */, 124 | A9A892F4BE81734D7814C7FBBAE8FB41 /* Pods-SlidingNumberView_Example-Info.plist */, 125 | C799A71716E60003E7C2EB469CDD5C32 /* Pods-SlidingNumberView_Example-umbrella.h */, 126 | 3935F2C4A26496F4C1FFF07C7E3B5D1F /* Pods-SlidingNumberView_Example.debug.xcconfig */, 127 | 1F3359DF28F8CD63A8B3270C0917A538 /* Pods-SlidingNumberView_Example.release.xcconfig */, 128 | ); 129 | name = "Pods-SlidingNumberView_Example"; 130 | path = "Target Support Files/Pods-SlidingNumberView_Example"; 131 | sourceTree = ""; 132 | }; 133 | 59C3838335C6EAF14F7581CC4A5B309B /* Targets Support Files */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | 4DF33884C0DD93983FA6F2A97D07D175 /* Pods-SlidingNumberView_Example */, 137 | 5E276016EF5AF271E168561AEDC8E31F /* Pods-SlidingNumberView_Tests */, 138 | ); 139 | name = "Targets Support Files"; 140 | sourceTree = ""; 141 | }; 142 | 5E276016EF5AF271E168561AEDC8E31F /* Pods-SlidingNumberView_Tests */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | D610F13F84F81BED7620BA7E14E38248 /* Pods-SlidingNumberView_Tests.modulemap */, 146 | 95CF6EC67B6ECA41E44B500482D42B3E /* Pods-SlidingNumberView_Tests-acknowledgements.markdown */, 147 | F8BF46D72FE4DC4279889DA2202152FB /* Pods-SlidingNumberView_Tests-acknowledgements.plist */, 148 | 9870337F6B713704DB9CA466CAE9AF15 /* Pods-SlidingNumberView_Tests-dummy.m */, 149 | 144D8113F1C42865C96A1351B678459C /* Pods-SlidingNumberView_Tests-Info.plist */, 150 | 9940F65E1CD53F889DEBEF5B25A13801 /* Pods-SlidingNumberView_Tests-umbrella.h */, 151 | FCBF435919F094A585E45743AF3BAB03 /* Pods-SlidingNumberView_Tests.debug.xcconfig */, 152 | 56C020197FD136B45AC53C48D819E842 /* Pods-SlidingNumberView_Tests.release.xcconfig */, 153 | ); 154 | name = "Pods-SlidingNumberView_Tests"; 155 | path = "Target Support Files/Pods-SlidingNumberView_Tests"; 156 | sourceTree = ""; 157 | }; 158 | 699E435F222554DF11ACD3443B2D15D0 /* Development Pods */ = { 159 | isa = PBXGroup; 160 | children = ( 161 | 4A68D088D65007630E614275E1CB208C /* SlidingNumberView */, 162 | ); 163 | name = "Development Pods"; 164 | sourceTree = ""; 165 | }; 166 | 82AAC9CA69E48651B0F9CA6CA25A2937 /* Pod */ = { 167 | isa = PBXGroup; 168 | children = ( 169 | CC9EAA08B8B906FC776FCEDD0CB3A5F8 /* LICENSE */, 170 | 2404014E7C4475A1ACA23F38DD1F3955 /* README.md */, 171 | F3B383F242E378FDAD6CEA9226F30B08 /* SlidingNumberView.podspec */, 172 | ); 173 | name = Pod; 174 | sourceTree = ""; 175 | }; 176 | A993C3EBBB5E2C46AA907A6B17E8D491 /* Support Files */ = { 177 | isa = PBXGroup; 178 | children = ( 179 | 33E7D2D6EDDBE29AC88E044772C69F46 /* SlidingNumberView.modulemap */, 180 | 490DACBEE22E8196B2A7D21A09C71178 /* SlidingNumberView.xcconfig */, 181 | CD2F758B990DE2B748258E17F51C9B28 /* SlidingNumberView-dummy.m */, 182 | DC60FA45058EBDFEEE840F6803BDF3FA /* SlidingNumberView-Info.plist */, 183 | 3B5DF4528927186B2B4C7B6579843FD7 /* SlidingNumberView-prefix.pch */, 184 | 8C71170F6AE7D2604F89D20EDD0FF93E /* SlidingNumberView-umbrella.h */, 185 | ); 186 | name = "Support Files"; 187 | path = "Example/Pods/Target Support Files/SlidingNumberView"; 188 | sourceTree = ""; 189 | }; 190 | C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, 194 | ); 195 | name = iOS; 196 | sourceTree = ""; 197 | }; 198 | CCD11F48670AF17D7D05E975B8B376B8 /* Products */ = { 199 | isa = PBXGroup; 200 | children = ( 201 | CA58DBC3A90B093E0A6FDC0B2E474441 /* Pods_SlidingNumberView_Example.framework */, 202 | 16B076F35E912618C8E96AEEF4D32B6F /* Pods_SlidingNumberView_Tests.framework */, 203 | D637B8EE3DF158936EC71E0D9A5D4C8D /* SlidingNumberView.framework */, 204 | ); 205 | name = Products; 206 | sourceTree = ""; 207 | }; 208 | CF1408CF629C7361332E53B88F7BD30C = { 209 | isa = PBXGroup; 210 | children = ( 211 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 212 | 699E435F222554DF11ACD3443B2D15D0 /* Development Pods */, 213 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 214 | CCD11F48670AF17D7D05E975B8B376B8 /* Products */, 215 | 59C3838335C6EAF14F7581CC4A5B309B /* Targets Support Files */, 216 | ); 217 | sourceTree = ""; 218 | }; 219 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 220 | isa = PBXGroup; 221 | children = ( 222 | C0834CEBB1379A84116EF29F93051C60 /* iOS */, 223 | ); 224 | name = Frameworks; 225 | sourceTree = ""; 226 | }; 227 | /* End PBXGroup section */ 228 | 229 | /* Begin PBXHeadersBuildPhase section */ 230 | 3DA738C120E4324D1EF6BF32182146EF /* Headers */ = { 231 | isa = PBXHeadersBuildPhase; 232 | buildActionMask = 2147483647; 233 | files = ( 234 | ADB95F07791C60EFE93A2B69BD092A1F /* Pods-SlidingNumberView_Tests-umbrella.h in Headers */, 235 | ); 236 | runOnlyForDeploymentPostprocessing = 0; 237 | }; 238 | 663429A0A605E83903677291EF35B95E /* Headers */ = { 239 | isa = PBXHeadersBuildPhase; 240 | buildActionMask = 2147483647; 241 | files = ( 242 | 39B9FF3228B1328468B5639F44D07E7F /* SlidingNumberView-umbrella.h in Headers */, 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | }; 246 | BCE5EA505390ADF93FFCDCF9E658ADDE /* Headers */ = { 247 | isa = PBXHeadersBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | B49395C3543A3C3BD2EF79BDE4706E9C /* Pods-SlidingNumberView_Example-umbrella.h in Headers */, 251 | ); 252 | runOnlyForDeploymentPostprocessing = 0; 253 | }; 254 | /* End PBXHeadersBuildPhase section */ 255 | 256 | /* Begin PBXNativeTarget section */ 257 | 2518E8A1369E537E658F0A9F6C37DE51 /* Pods-SlidingNumberView_Tests */ = { 258 | isa = PBXNativeTarget; 259 | buildConfigurationList = 9BE964A2DB31AB371F8C8B78AE18E32D /* Build configuration list for PBXNativeTarget "Pods-SlidingNumberView_Tests" */; 260 | buildPhases = ( 261 | 3DA738C120E4324D1EF6BF32182146EF /* Headers */, 262 | 61D3E3FE67A2108CA74BB9C8DE0BAA80 /* Sources */, 263 | 548337B8A570DCA9A373EEC4AC5BC636 /* Frameworks */, 264 | 8925233EEAA0F6818F98827CCFFCF43F /* Resources */, 265 | ); 266 | buildRules = ( 267 | ); 268 | dependencies = ( 269 | 12562AB335C88C305D213CC98B6FC6A5 /* PBXTargetDependency */, 270 | ); 271 | name = "Pods-SlidingNumberView_Tests"; 272 | productName = "Pods-SlidingNumberView_Tests"; 273 | productReference = 16B076F35E912618C8E96AEEF4D32B6F /* Pods_SlidingNumberView_Tests.framework */; 274 | productType = "com.apple.product-type.framework"; 275 | }; 276 | 5948BD04474A048B00BCB4726E34B69B /* Pods-SlidingNumberView_Example */ = { 277 | isa = PBXNativeTarget; 278 | buildConfigurationList = 748FAD80FC0BD98A01C316811A69596A /* Build configuration list for PBXNativeTarget "Pods-SlidingNumberView_Example" */; 279 | buildPhases = ( 280 | BCE5EA505390ADF93FFCDCF9E658ADDE /* Headers */, 281 | 256A434E92B2B466431EE25694A64FE4 /* Sources */, 282 | 7049B6329E75106E5A00A30CF0644F2F /* Frameworks */, 283 | 08EF90301656D01F4685B9E1649420D9 /* Resources */, 284 | ); 285 | buildRules = ( 286 | ); 287 | dependencies = ( 288 | A11C286CD38441F5B4BF48E7975A5243 /* PBXTargetDependency */, 289 | ); 290 | name = "Pods-SlidingNumberView_Example"; 291 | productName = "Pods-SlidingNumberView_Example"; 292 | productReference = CA58DBC3A90B093E0A6FDC0B2E474441 /* Pods_SlidingNumberView_Example.framework */; 293 | productType = "com.apple.product-type.framework"; 294 | }; 295 | FB1908B2256E5D37BAB1AC7AB224D1EA /* SlidingNumberView */ = { 296 | isa = PBXNativeTarget; 297 | buildConfigurationList = 3CFA059451828322FF3FE97A133C9F3B /* Build configuration list for PBXNativeTarget "SlidingNumberView" */; 298 | buildPhases = ( 299 | 663429A0A605E83903677291EF35B95E /* Headers */, 300 | 6CDA14B94FFDF4477C9A73CF0020E6A5 /* Sources */, 301 | F348B883AEE4FA3ECCB7C22D93DD7B0F /* Frameworks */, 302 | 0FE5D99E3E9B285D64F8C0821D5A6C8F /* Resources */, 303 | ); 304 | buildRules = ( 305 | ); 306 | dependencies = ( 307 | ); 308 | name = SlidingNumberView; 309 | productName = SlidingNumberView; 310 | productReference = D637B8EE3DF158936EC71E0D9A5D4C8D /* SlidingNumberView.framework */; 311 | productType = "com.apple.product-type.framework"; 312 | }; 313 | /* End PBXNativeTarget section */ 314 | 315 | /* Begin PBXProject section */ 316 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 317 | isa = PBXProject; 318 | attributes = { 319 | LastSwiftUpdateCheck = 1100; 320 | LastUpgradeCheck = 1100; 321 | }; 322 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 323 | compatibilityVersion = "Xcode 3.2"; 324 | developmentRegion = en; 325 | hasScannedForEncodings = 0; 326 | knownRegions = ( 327 | en, 328 | ); 329 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 330 | productRefGroup = CCD11F48670AF17D7D05E975B8B376B8 /* Products */; 331 | projectDirPath = ""; 332 | projectRoot = ""; 333 | targets = ( 334 | 5948BD04474A048B00BCB4726E34B69B /* Pods-SlidingNumberView_Example */, 335 | 2518E8A1369E537E658F0A9F6C37DE51 /* Pods-SlidingNumberView_Tests */, 336 | FB1908B2256E5D37BAB1AC7AB224D1EA /* SlidingNumberView */, 337 | ); 338 | }; 339 | /* End PBXProject section */ 340 | 341 | /* Begin PBXResourcesBuildPhase section */ 342 | 08EF90301656D01F4685B9E1649420D9 /* Resources */ = { 343 | isa = PBXResourcesBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | runOnlyForDeploymentPostprocessing = 0; 348 | }; 349 | 0FE5D99E3E9B285D64F8C0821D5A6C8F /* Resources */ = { 350 | isa = PBXResourcesBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | ); 354 | runOnlyForDeploymentPostprocessing = 0; 355 | }; 356 | 8925233EEAA0F6818F98827CCFFCF43F /* Resources */ = { 357 | isa = PBXResourcesBuildPhase; 358 | buildActionMask = 2147483647; 359 | files = ( 360 | ); 361 | runOnlyForDeploymentPostprocessing = 0; 362 | }; 363 | /* End PBXResourcesBuildPhase section */ 364 | 365 | /* Begin PBXSourcesBuildPhase section */ 366 | 256A434E92B2B466431EE25694A64FE4 /* Sources */ = { 367 | isa = PBXSourcesBuildPhase; 368 | buildActionMask = 2147483647; 369 | files = ( 370 | BC1F41DE820B42ED2794D0CE98FEE938 /* Pods-SlidingNumberView_Example-dummy.m in Sources */, 371 | ); 372 | runOnlyForDeploymentPostprocessing = 0; 373 | }; 374 | 61D3E3FE67A2108CA74BB9C8DE0BAA80 /* Sources */ = { 375 | isa = PBXSourcesBuildPhase; 376 | buildActionMask = 2147483647; 377 | files = ( 378 | D0228F33A23C6813A80F1D33D063763C /* Pods-SlidingNumberView_Tests-dummy.m in Sources */, 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | }; 382 | 6CDA14B94FFDF4477C9A73CF0020E6A5 /* Sources */ = { 383 | isa = PBXSourcesBuildPhase; 384 | buildActionMask = 2147483647; 385 | files = ( 386 | 91DEAC1A57A8E7EE3902117059993DFF /* SlidingNumberStrips.swift in Sources */, 387 | F48ECBDAED9744A3185F24A8CDA363DF /* SlidingNumberView-dummy.m in Sources */, 388 | E6C733C5D84E49511F370276BAC972BD /* SlidingNumberView.swift in Sources */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | /* End PBXSourcesBuildPhase section */ 393 | 394 | /* Begin PBXTargetDependency section */ 395 | 12562AB335C88C305D213CC98B6FC6A5 /* PBXTargetDependency */ = { 396 | isa = PBXTargetDependency; 397 | name = "Pods-SlidingNumberView_Example"; 398 | target = 5948BD04474A048B00BCB4726E34B69B /* Pods-SlidingNumberView_Example */; 399 | targetProxy = 9448B6FB1D0591F7B03AF36068B77B3D /* PBXContainerItemProxy */; 400 | }; 401 | A11C286CD38441F5B4BF48E7975A5243 /* PBXTargetDependency */ = { 402 | isa = PBXTargetDependency; 403 | name = SlidingNumberView; 404 | target = FB1908B2256E5D37BAB1AC7AB224D1EA /* SlidingNumberView */; 405 | targetProxy = FFF88E3C86008F45DFC859D60924A5DB /* PBXContainerItemProxy */; 406 | }; 407 | /* End PBXTargetDependency section */ 408 | 409 | /* Begin XCBuildConfiguration section */ 410 | 196DFA3E4A09A28224918543529A1885 /* Debug */ = { 411 | isa = XCBuildConfiguration; 412 | buildSettings = { 413 | ALWAYS_SEARCH_USER_PATHS = NO; 414 | CLANG_ANALYZER_NONNULL = YES; 415 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 416 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 417 | CLANG_CXX_LIBRARY = "libc++"; 418 | CLANG_ENABLE_MODULES = YES; 419 | CLANG_ENABLE_OBJC_ARC = YES; 420 | CLANG_ENABLE_OBJC_WEAK = YES; 421 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 422 | CLANG_WARN_BOOL_CONVERSION = YES; 423 | CLANG_WARN_COMMA = YES; 424 | CLANG_WARN_CONSTANT_CONVERSION = YES; 425 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 426 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 427 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 428 | CLANG_WARN_EMPTY_BODY = YES; 429 | CLANG_WARN_ENUM_CONVERSION = YES; 430 | CLANG_WARN_INFINITE_RECURSION = YES; 431 | CLANG_WARN_INT_CONVERSION = YES; 432 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 433 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 434 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 435 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 436 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 437 | CLANG_WARN_STRICT_PROTOTYPES = YES; 438 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 439 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 440 | CLANG_WARN_UNREACHABLE_CODE = YES; 441 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 442 | COPY_PHASE_STRIP = NO; 443 | DEBUG_INFORMATION_FORMAT = dwarf; 444 | ENABLE_STRICT_OBJC_MSGSEND = YES; 445 | ENABLE_TESTABILITY = YES; 446 | GCC_C_LANGUAGE_STANDARD = gnu11; 447 | GCC_DYNAMIC_NO_PIC = NO; 448 | GCC_NO_COMMON_BLOCKS = YES; 449 | GCC_OPTIMIZATION_LEVEL = 0; 450 | GCC_PREPROCESSOR_DEFINITIONS = ( 451 | "POD_CONFIGURATION_DEBUG=1", 452 | "DEBUG=1", 453 | "$(inherited)", 454 | ); 455 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 456 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 457 | GCC_WARN_UNDECLARED_SELECTOR = YES; 458 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 459 | GCC_WARN_UNUSED_FUNCTION = YES; 460 | GCC_WARN_UNUSED_VARIABLE = YES; 461 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 462 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 463 | MTL_FAST_MATH = YES; 464 | ONLY_ACTIVE_ARCH = YES; 465 | PRODUCT_NAME = "$(TARGET_NAME)"; 466 | STRIP_INSTALLED_PRODUCT = NO; 467 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 468 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 469 | SWIFT_VERSION = 5.0; 470 | SYMROOT = "${SRCROOT}/../build"; 471 | }; 472 | name = Debug; 473 | }; 474 | 315DB07C64638EE33A17F96F8A119317 /* Release */ = { 475 | isa = XCBuildConfiguration; 476 | baseConfigurationReference = 1F3359DF28F8CD63A8B3270C0917A538 /* Pods-SlidingNumberView_Example.release.xcconfig */; 477 | buildSettings = { 478 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 479 | CLANG_ENABLE_OBJC_WEAK = NO; 480 | CODE_SIGN_IDENTITY = ""; 481 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 482 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 483 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 484 | CURRENT_PROJECT_VERSION = 1; 485 | DEFINES_MODULE = YES; 486 | DYLIB_COMPATIBILITY_VERSION = 1; 487 | DYLIB_CURRENT_VERSION = 1; 488 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 489 | INFOPLIST_FILE = "Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example-Info.plist"; 490 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 491 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 492 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 493 | MACH_O_TYPE = staticlib; 494 | MODULEMAP_FILE = "Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example.modulemap"; 495 | OTHER_LDFLAGS = ""; 496 | OTHER_LIBTOOLFLAGS = ""; 497 | PODS_ROOT = "$(SRCROOT)"; 498 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 499 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 500 | SDKROOT = iphoneos; 501 | SKIP_INSTALL = YES; 502 | TARGETED_DEVICE_FAMILY = "1,2"; 503 | VALIDATE_PRODUCT = YES; 504 | VERSIONING_SYSTEM = "apple-generic"; 505 | VERSION_INFO_PREFIX = ""; 506 | }; 507 | name = Release; 508 | }; 509 | 491637043D8E68624F1D55416448FDA3 /* Debug */ = { 510 | isa = XCBuildConfiguration; 511 | baseConfigurationReference = 3935F2C4A26496F4C1FFF07C7E3B5D1F /* Pods-SlidingNumberView_Example.debug.xcconfig */; 512 | buildSettings = { 513 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 514 | CLANG_ENABLE_OBJC_WEAK = NO; 515 | CODE_SIGN_IDENTITY = ""; 516 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 517 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 518 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 519 | CURRENT_PROJECT_VERSION = 1; 520 | DEFINES_MODULE = YES; 521 | DYLIB_COMPATIBILITY_VERSION = 1; 522 | DYLIB_CURRENT_VERSION = 1; 523 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 524 | INFOPLIST_FILE = "Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example-Info.plist"; 525 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 526 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 527 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 528 | MACH_O_TYPE = staticlib; 529 | MODULEMAP_FILE = "Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example.modulemap"; 530 | OTHER_LDFLAGS = ""; 531 | OTHER_LIBTOOLFLAGS = ""; 532 | PODS_ROOT = "$(SRCROOT)"; 533 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 534 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 535 | SDKROOT = iphoneos; 536 | SKIP_INSTALL = YES; 537 | TARGETED_DEVICE_FAMILY = "1,2"; 538 | VERSIONING_SYSTEM = "apple-generic"; 539 | VERSION_INFO_PREFIX = ""; 540 | }; 541 | name = Debug; 542 | }; 543 | 5BB0F2B7E988DC5C28623CAFDB66EAEE /* Debug */ = { 544 | isa = XCBuildConfiguration; 545 | baseConfigurationReference = FCBF435919F094A585E45743AF3BAB03 /* Pods-SlidingNumberView_Tests.debug.xcconfig */; 546 | buildSettings = { 547 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 548 | CLANG_ENABLE_OBJC_WEAK = NO; 549 | CODE_SIGN_IDENTITY = ""; 550 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 551 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 552 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 553 | CURRENT_PROJECT_VERSION = 1; 554 | DEFINES_MODULE = YES; 555 | DYLIB_COMPATIBILITY_VERSION = 1; 556 | DYLIB_CURRENT_VERSION = 1; 557 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 558 | INFOPLIST_FILE = "Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests-Info.plist"; 559 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 560 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 561 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 562 | MACH_O_TYPE = staticlib; 563 | MODULEMAP_FILE = "Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests.modulemap"; 564 | OTHER_LDFLAGS = ""; 565 | OTHER_LIBTOOLFLAGS = ""; 566 | PODS_ROOT = "$(SRCROOT)"; 567 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 568 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 569 | SDKROOT = iphoneos; 570 | SKIP_INSTALL = YES; 571 | TARGETED_DEVICE_FAMILY = "1,2"; 572 | VERSIONING_SYSTEM = "apple-generic"; 573 | VERSION_INFO_PREFIX = ""; 574 | }; 575 | name = Debug; 576 | }; 577 | 83D14EAAA217067041628B21235DEC32 /* Release */ = { 578 | isa = XCBuildConfiguration; 579 | baseConfigurationReference = 56C020197FD136B45AC53C48D819E842 /* Pods-SlidingNumberView_Tests.release.xcconfig */; 580 | buildSettings = { 581 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 582 | CLANG_ENABLE_OBJC_WEAK = NO; 583 | CODE_SIGN_IDENTITY = ""; 584 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 585 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 586 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 587 | CURRENT_PROJECT_VERSION = 1; 588 | DEFINES_MODULE = YES; 589 | DYLIB_COMPATIBILITY_VERSION = 1; 590 | DYLIB_CURRENT_VERSION = 1; 591 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 592 | INFOPLIST_FILE = "Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests-Info.plist"; 593 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 594 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 595 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 596 | MACH_O_TYPE = staticlib; 597 | MODULEMAP_FILE = "Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests.modulemap"; 598 | OTHER_LDFLAGS = ""; 599 | OTHER_LIBTOOLFLAGS = ""; 600 | PODS_ROOT = "$(SRCROOT)"; 601 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 602 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 603 | SDKROOT = iphoneos; 604 | SKIP_INSTALL = YES; 605 | TARGETED_DEVICE_FAMILY = "1,2"; 606 | VALIDATE_PRODUCT = YES; 607 | VERSIONING_SYSTEM = "apple-generic"; 608 | VERSION_INFO_PREFIX = ""; 609 | }; 610 | name = Release; 611 | }; 612 | B01D14FDC83DCF9D4BE53066BEA96D05 /* Release */ = { 613 | isa = XCBuildConfiguration; 614 | buildSettings = { 615 | ALWAYS_SEARCH_USER_PATHS = NO; 616 | CLANG_ANALYZER_NONNULL = YES; 617 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 618 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 619 | CLANG_CXX_LIBRARY = "libc++"; 620 | CLANG_ENABLE_MODULES = YES; 621 | CLANG_ENABLE_OBJC_ARC = YES; 622 | CLANG_ENABLE_OBJC_WEAK = YES; 623 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 624 | CLANG_WARN_BOOL_CONVERSION = YES; 625 | CLANG_WARN_COMMA = YES; 626 | CLANG_WARN_CONSTANT_CONVERSION = YES; 627 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 628 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 629 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 630 | CLANG_WARN_EMPTY_BODY = YES; 631 | CLANG_WARN_ENUM_CONVERSION = YES; 632 | CLANG_WARN_INFINITE_RECURSION = YES; 633 | CLANG_WARN_INT_CONVERSION = YES; 634 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 635 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 636 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 637 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 638 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 639 | CLANG_WARN_STRICT_PROTOTYPES = YES; 640 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 641 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 642 | CLANG_WARN_UNREACHABLE_CODE = YES; 643 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 644 | COPY_PHASE_STRIP = NO; 645 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 646 | ENABLE_NS_ASSERTIONS = NO; 647 | ENABLE_STRICT_OBJC_MSGSEND = YES; 648 | GCC_C_LANGUAGE_STANDARD = gnu11; 649 | GCC_NO_COMMON_BLOCKS = YES; 650 | GCC_PREPROCESSOR_DEFINITIONS = ( 651 | "POD_CONFIGURATION_RELEASE=1", 652 | "$(inherited)", 653 | ); 654 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 655 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 656 | GCC_WARN_UNDECLARED_SELECTOR = YES; 657 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 658 | GCC_WARN_UNUSED_FUNCTION = YES; 659 | GCC_WARN_UNUSED_VARIABLE = YES; 660 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 661 | MTL_ENABLE_DEBUG_INFO = NO; 662 | MTL_FAST_MATH = YES; 663 | PRODUCT_NAME = "$(TARGET_NAME)"; 664 | STRIP_INSTALLED_PRODUCT = NO; 665 | SWIFT_COMPILATION_MODE = wholemodule; 666 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 667 | SWIFT_VERSION = 5.0; 668 | SYMROOT = "${SRCROOT}/../build"; 669 | }; 670 | name = Release; 671 | }; 672 | B34618E4597B6FCFD51C10D9A74281EC /* Release */ = { 673 | isa = XCBuildConfiguration; 674 | baseConfigurationReference = 490DACBEE22E8196B2A7D21A09C71178 /* SlidingNumberView.xcconfig */; 675 | buildSettings = { 676 | CLANG_ENABLE_OBJC_WEAK = NO; 677 | CODE_SIGN_IDENTITY = ""; 678 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 679 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 680 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 681 | CURRENT_PROJECT_VERSION = 1; 682 | DEFINES_MODULE = YES; 683 | DYLIB_COMPATIBILITY_VERSION = 1; 684 | DYLIB_CURRENT_VERSION = 1; 685 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 686 | GCC_PREFIX_HEADER = "Target Support Files/SlidingNumberView/SlidingNumberView-prefix.pch"; 687 | INFOPLIST_FILE = "Target Support Files/SlidingNumberView/SlidingNumberView-Info.plist"; 688 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 689 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 690 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 691 | MODULEMAP_FILE = "Target Support Files/SlidingNumberView/SlidingNumberView.modulemap"; 692 | PRODUCT_MODULE_NAME = SlidingNumberView; 693 | PRODUCT_NAME = SlidingNumberView; 694 | SDKROOT = iphoneos; 695 | SKIP_INSTALL = YES; 696 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 697 | SWIFT_VERSION = 4.2; 698 | TARGETED_DEVICE_FAMILY = "1,2"; 699 | VALIDATE_PRODUCT = YES; 700 | VERSIONING_SYSTEM = "apple-generic"; 701 | VERSION_INFO_PREFIX = ""; 702 | }; 703 | name = Release; 704 | }; 705 | FA973256F8567FEF146D033F06DEBAC2 /* Debug */ = { 706 | isa = XCBuildConfiguration; 707 | baseConfigurationReference = 490DACBEE22E8196B2A7D21A09C71178 /* SlidingNumberView.xcconfig */; 708 | buildSettings = { 709 | CLANG_ENABLE_OBJC_WEAK = NO; 710 | CODE_SIGN_IDENTITY = ""; 711 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 712 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 713 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 714 | CURRENT_PROJECT_VERSION = 1; 715 | DEFINES_MODULE = YES; 716 | DYLIB_COMPATIBILITY_VERSION = 1; 717 | DYLIB_CURRENT_VERSION = 1; 718 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 719 | GCC_PREFIX_HEADER = "Target Support Files/SlidingNumberView/SlidingNumberView-prefix.pch"; 720 | INFOPLIST_FILE = "Target Support Files/SlidingNumberView/SlidingNumberView-Info.plist"; 721 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 722 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 723 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 724 | MODULEMAP_FILE = "Target Support Files/SlidingNumberView/SlidingNumberView.modulemap"; 725 | PRODUCT_MODULE_NAME = SlidingNumberView; 726 | PRODUCT_NAME = SlidingNumberView; 727 | SDKROOT = iphoneos; 728 | SKIP_INSTALL = YES; 729 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 730 | SWIFT_VERSION = 4.2; 731 | TARGETED_DEVICE_FAMILY = "1,2"; 732 | VERSIONING_SYSTEM = "apple-generic"; 733 | VERSION_INFO_PREFIX = ""; 734 | }; 735 | name = Debug; 736 | }; 737 | /* End XCBuildConfiguration section */ 738 | 739 | /* Begin XCConfigurationList section */ 740 | 3CFA059451828322FF3FE97A133C9F3B /* Build configuration list for PBXNativeTarget "SlidingNumberView" */ = { 741 | isa = XCConfigurationList; 742 | buildConfigurations = ( 743 | FA973256F8567FEF146D033F06DEBAC2 /* Debug */, 744 | B34618E4597B6FCFD51C10D9A74281EC /* Release */, 745 | ); 746 | defaultConfigurationIsVisible = 0; 747 | defaultConfigurationName = Release; 748 | }; 749 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 750 | isa = XCConfigurationList; 751 | buildConfigurations = ( 752 | 196DFA3E4A09A28224918543529A1885 /* Debug */, 753 | B01D14FDC83DCF9D4BE53066BEA96D05 /* Release */, 754 | ); 755 | defaultConfigurationIsVisible = 0; 756 | defaultConfigurationName = Release; 757 | }; 758 | 748FAD80FC0BD98A01C316811A69596A /* Build configuration list for PBXNativeTarget "Pods-SlidingNumberView_Example" */ = { 759 | isa = XCConfigurationList; 760 | buildConfigurations = ( 761 | 491637043D8E68624F1D55416448FDA3 /* Debug */, 762 | 315DB07C64638EE33A17F96F8A119317 /* Release */, 763 | ); 764 | defaultConfigurationIsVisible = 0; 765 | defaultConfigurationName = Release; 766 | }; 767 | 9BE964A2DB31AB371F8C8B78AE18E32D /* Build configuration list for PBXNativeTarget "Pods-SlidingNumberView_Tests" */ = { 768 | isa = XCConfigurationList; 769 | buildConfigurations = ( 770 | 5BB0F2B7E988DC5C28623CAFDB66EAEE /* Debug */, 771 | 83D14EAAA217067041628B21235DEC32 /* Release */, 772 | ); 773 | defaultConfigurationIsVisible = 0; 774 | defaultConfigurationName = Release; 775 | }; 776 | /* End XCConfigurationList section */ 777 | }; 778 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 779 | } 780 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_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-SlidingNumberView_Example/Pods-SlidingNumberView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## SlidingNumberView 5 | 6 | Copyright (c) 2019 bupstan 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2019 bupstan <bupstan.dev@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | SlidingNumberView 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SlidingNumberView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SlidingNumberView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_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 | # Copies the bcsymbolmap files of a vendored framework 113 | install_bcsymbolmap() { 114 | local bcsymbolmap_path="$1" 115 | local destination="${BUILT_PRODUCTS_DIR}" 116 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 117 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 118 | } 119 | 120 | # Signs a framework with the provided identity 121 | code_sign_if_enabled() { 122 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 123 | # Use the current code_sign_identity 124 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 125 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 126 | 127 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 128 | code_sign_cmd="$code_sign_cmd &" 129 | fi 130 | echo "$code_sign_cmd" 131 | eval "$code_sign_cmd" 132 | fi 133 | } 134 | 135 | # Strip invalid architectures 136 | strip_invalid_archs() { 137 | binary="$1" 138 | # Get architectures for current target binary 139 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 140 | # Intersect them with the architectures we are building for 141 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 142 | # If there are no archs supported by this binary then warn the user 143 | if [[ -z "$intersected_archs" ]]; then 144 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 145 | STRIP_BINARY_RETVAL=0 146 | return 147 | fi 148 | stripped="" 149 | for arch in $binary_archs; do 150 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 151 | # Strip non-valid architectures in-place 152 | lipo -remove "$arch" -output "$binary" "$binary" 153 | stripped="$stripped $arch" 154 | fi 155 | done 156 | if [[ "$stripped" ]]; then 157 | echo "Stripped $binary of architectures:$stripped" 158 | fi 159 | STRIP_BINARY_RETVAL=1 160 | } 161 | 162 | 163 | if [[ "$CONFIGURATION" == "Debug" ]]; then 164 | install_framework "${BUILT_PRODUCTS_DIR}/SlidingNumberView/SlidingNumberView.framework" 165 | fi 166 | if [[ "$CONFIGURATION" == "Release" ]]; then 167 | install_framework "${BUILT_PRODUCTS_DIR}/SlidingNumberView/SlidingNumberView.framework" 168 | fi 169 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 170 | wait 171 | fi 172 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_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_SlidingNumberView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SlidingNumberView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SlidingNumberView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SlidingNumberView/SlidingNumberView.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "SlidingNumberView" 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-SlidingNumberView_Example/Pods-SlidingNumberView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SlidingNumberView_Example { 2 | umbrella header "Pods-SlidingNumberView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SlidingNumberView" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SlidingNumberView/SlidingNumberView.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "SlidingNumberView" 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-SlidingNumberView_Tests/Pods-SlidingNumberView_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-SlidingNumberView_Tests/Pods-SlidingNumberView_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-SlidingNumberView_Tests/Pods-SlidingNumberView_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-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_SlidingNumberView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_SlidingNumberView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_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_SlidingNumberView_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_SlidingNumberView_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SlidingNumberView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SlidingNumberView/SlidingNumberView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "SlidingNumberView" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_SlidingNumberView_Tests { 2 | umbrella header "Pods-SlidingNumberView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SlidingNumberView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SlidingNumberView/SlidingNumberView.framework/Headers" 4 | OTHER_LDFLAGS = $(inherited) -framework "SlidingNumberView" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SlidingNumberView/SlidingNumberView-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.0.6 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SlidingNumberView/SlidingNumberView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SlidingNumberView : NSObject 3 | @end 4 | @implementation PodsDummy_SlidingNumberView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SlidingNumberView/SlidingNumberView-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/SlidingNumberView/SlidingNumberView-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 SlidingNumberViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char SlidingNumberViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SlidingNumberView/SlidingNumberView.modulemap: -------------------------------------------------------------------------------- 1 | framework module SlidingNumberView { 2 | umbrella header "SlidingNumberView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/SlidingNumberView/SlidingNumberView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SlidingNumberView 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/SlidingNumberView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1F3B490E9C870D2499A4735F /* Pods_SlidingNumberView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 413E3C019C1524B20CCC402C /* Pods_SlidingNumberView_Example.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | 8DFB453536E9B5D1517CC753 /* Pods_SlidingNumberView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82DC54B2EDF853791C6BC229 /* Pods_SlidingNumberView_Tests.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = SlidingNumberView; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 15C527F7DF6BF65B97C41E22 /* Pods-SlidingNumberView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SlidingNumberView_Example.release.xcconfig"; path = "Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example.release.xcconfig"; sourceTree = ""; }; 32 | 260B935A8EAE50E52392A68D /* SlidingNumberView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SlidingNumberView.podspec; path = ../SlidingNumberView.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 33 | 413E3C019C1524B20CCC402C /* Pods_SlidingNumberView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SlidingNumberView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 607FACD01AFB9204008FA782 /* SlidingNumberView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SlidingNumberView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 36 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 38 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 39 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 40 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 41 | 607FACE51AFB9204008FA782 /* SlidingNumberView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SlidingNumberView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 43 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 44 | 736BC3DC156D7A1D96951E67 /* Pods-SlidingNumberView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SlidingNumberView_Tests.debug.xcconfig"; path = "Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests.debug.xcconfig"; sourceTree = ""; }; 45 | 82DC54B2EDF853791C6BC229 /* Pods_SlidingNumberView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SlidingNumberView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | D77445510B516EAE0399743C /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 47 | D92043E8B65D2F0961A11753 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 48 | E16E060FA33E7EBD2C23C0E8 /* Pods-SlidingNumberView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SlidingNumberView_Tests.release.xcconfig"; path = "Target Support Files/Pods-SlidingNumberView_Tests/Pods-SlidingNumberView_Tests.release.xcconfig"; sourceTree = ""; }; 49 | F70E5DDC5F420D83EC43D9D7 /* Pods-SlidingNumberView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SlidingNumberView_Example.debug.xcconfig"; path = "Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example.debug.xcconfig"; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 1F3B490E9C870D2499A4735F /* Pods_SlidingNumberView_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 8DFB453536E9B5D1517CC753 /* Pods_SlidingNumberView_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 01C5ECA76558ECC9F060A8EA /* Pods */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | F70E5DDC5F420D83EC43D9D7 /* Pods-SlidingNumberView_Example.debug.xcconfig */, 76 | 15C527F7DF6BF65B97C41E22 /* Pods-SlidingNumberView_Example.release.xcconfig */, 77 | 736BC3DC156D7A1D96951E67 /* Pods-SlidingNumberView_Tests.debug.xcconfig */, 78 | E16E060FA33E7EBD2C23C0E8 /* Pods-SlidingNumberView_Tests.release.xcconfig */, 79 | ); 80 | path = Pods; 81 | sourceTree = ""; 82 | }; 83 | 607FACC71AFB9204008FA782 = { 84 | isa = PBXGroup; 85 | children = ( 86 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 87 | 607FACD21AFB9204008FA782 /* Example for SlidingNumberView */, 88 | 607FACE81AFB9204008FA782 /* Tests */, 89 | 607FACD11AFB9204008FA782 /* Products */, 90 | 01C5ECA76558ECC9F060A8EA /* Pods */, 91 | 633F54C08D4CFBA0EFCF9638 /* Frameworks */, 92 | ); 93 | sourceTree = ""; 94 | }; 95 | 607FACD11AFB9204008FA782 /* Products */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 607FACD01AFB9204008FA782 /* SlidingNumberView_Example.app */, 99 | 607FACE51AFB9204008FA782 /* SlidingNumberView_Tests.xctest */, 100 | ); 101 | name = Products; 102 | sourceTree = ""; 103 | }; 104 | 607FACD21AFB9204008FA782 /* Example for SlidingNumberView */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 108 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 109 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 110 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 111 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 112 | 607FACD31AFB9204008FA782 /* Supporting Files */, 113 | ); 114 | name = "Example for SlidingNumberView"; 115 | path = SlidingNumberView; 116 | sourceTree = ""; 117 | }; 118 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 607FACD41AFB9204008FA782 /* Info.plist */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | 607FACE81AFB9204008FA782 /* Tests */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 130 | 607FACE91AFB9204008FA782 /* Supporting Files */, 131 | ); 132 | path = Tests; 133 | sourceTree = ""; 134 | }; 135 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 607FACEA1AFB9204008FA782 /* Info.plist */, 139 | ); 140 | name = "Supporting Files"; 141 | sourceTree = ""; 142 | }; 143 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 260B935A8EAE50E52392A68D /* SlidingNumberView.podspec */, 147 | D92043E8B65D2F0961A11753 /* README.md */, 148 | D77445510B516EAE0399743C /* LICENSE */, 149 | ); 150 | name = "Podspec Metadata"; 151 | sourceTree = ""; 152 | }; 153 | 633F54C08D4CFBA0EFCF9638 /* Frameworks */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 413E3C019C1524B20CCC402C /* Pods_SlidingNumberView_Example.framework */, 157 | 82DC54B2EDF853791C6BC229 /* Pods_SlidingNumberView_Tests.framework */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* SlidingNumberView_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SlidingNumberView_Example" */; 168 | buildPhases = ( 169 | 32D8E49297A0F1613F61B37F /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 662EAD49619C681CB9214A18 /* [CP] Embed Pods Frameworks */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = SlidingNumberView_Example; 180 | productName = SlidingNumberView; 181 | productReference = 607FACD01AFB9204008FA782 /* SlidingNumberView_Example.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 607FACE41AFB9204008FA782 /* SlidingNumberView_Tests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SlidingNumberView_Tests" */; 187 | buildPhases = ( 188 | 17BBB2DB56D576C865CFA938 /* [CP] Check Pods Manifest.lock */, 189 | 607FACE11AFB9204008FA782 /* Sources */, 190 | 607FACE21AFB9204008FA782 /* Frameworks */, 191 | 607FACE31AFB9204008FA782 /* Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 197 | ); 198 | name = SlidingNumberView_Tests; 199 | productName = Tests; 200 | productReference = 607FACE51AFB9204008FA782 /* SlidingNumberView_Tests.xctest */; 201 | productType = "com.apple.product-type.bundle.unit-test"; 202 | }; 203 | /* End PBXNativeTarget section */ 204 | 205 | /* Begin PBXProject section */ 206 | 607FACC81AFB9204008FA782 /* Project object */ = { 207 | isa = PBXProject; 208 | attributes = { 209 | LastSwiftUpdateCheck = 0830; 210 | LastUpgradeCheck = 0830; 211 | ORGANIZATIONNAME = CocoaPods; 212 | TargetAttributes = { 213 | 607FACCF1AFB9204008FA782 = { 214 | CreatedOnToolsVersion = 6.3.1; 215 | LastSwiftMigration = 0900; 216 | }; 217 | 607FACE41AFB9204008FA782 = { 218 | CreatedOnToolsVersion = 6.3.1; 219 | LastSwiftMigration = 0900; 220 | TestTargetID = 607FACCF1AFB9204008FA782; 221 | }; 222 | }; 223 | }; 224 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SlidingNumberView" */; 225 | compatibilityVersion = "Xcode 3.2"; 226 | developmentRegion = English; 227 | hasScannedForEncodings = 0; 228 | knownRegions = ( 229 | English, 230 | en, 231 | Base, 232 | ); 233 | mainGroup = 607FACC71AFB9204008FA782; 234 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 235 | projectDirPath = ""; 236 | projectRoot = ""; 237 | targets = ( 238 | 607FACCF1AFB9204008FA782 /* SlidingNumberView_Example */, 239 | 607FACE41AFB9204008FA782 /* SlidingNumberView_Tests */, 240 | ); 241 | }; 242 | /* End PBXProject section */ 243 | 244 | /* Begin PBXResourcesBuildPhase section */ 245 | 607FACCE1AFB9204008FA782 /* Resources */ = { 246 | isa = PBXResourcesBuildPhase; 247 | buildActionMask = 2147483647; 248 | files = ( 249 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 250 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 251 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 252 | ); 253 | runOnlyForDeploymentPostprocessing = 0; 254 | }; 255 | 607FACE31AFB9204008FA782 /* Resources */ = { 256 | isa = PBXResourcesBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | /* End PBXResourcesBuildPhase section */ 263 | 264 | /* Begin PBXShellScriptBuildPhase section */ 265 | 17BBB2DB56D576C865CFA938 /* [CP] Check Pods Manifest.lock */ = { 266 | isa = PBXShellScriptBuildPhase; 267 | buildActionMask = 2147483647; 268 | files = ( 269 | ); 270 | inputFileListPaths = ( 271 | ); 272 | inputPaths = ( 273 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 274 | "${PODS_ROOT}/Manifest.lock", 275 | ); 276 | name = "[CP] Check Pods Manifest.lock"; 277 | outputFileListPaths = ( 278 | ); 279 | outputPaths = ( 280 | "$(DERIVED_FILE_DIR)/Pods-SlidingNumberView_Tests-checkManifestLockResult.txt", 281 | ); 282 | runOnlyForDeploymentPostprocessing = 0; 283 | shellPath = /bin/sh; 284 | 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"; 285 | showEnvVarsInLog = 0; 286 | }; 287 | 32D8E49297A0F1613F61B37F /* [CP] Check Pods Manifest.lock */ = { 288 | isa = PBXShellScriptBuildPhase; 289 | buildActionMask = 2147483647; 290 | files = ( 291 | ); 292 | inputFileListPaths = ( 293 | ); 294 | inputPaths = ( 295 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 296 | "${PODS_ROOT}/Manifest.lock", 297 | ); 298 | name = "[CP] Check Pods Manifest.lock"; 299 | outputFileListPaths = ( 300 | ); 301 | outputPaths = ( 302 | "$(DERIVED_FILE_DIR)/Pods-SlidingNumberView_Example-checkManifestLockResult.txt", 303 | ); 304 | runOnlyForDeploymentPostprocessing = 0; 305 | shellPath = /bin/sh; 306 | 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"; 307 | showEnvVarsInLog = 0; 308 | }; 309 | 662EAD49619C681CB9214A18 /* [CP] Embed Pods Frameworks */ = { 310 | isa = PBXShellScriptBuildPhase; 311 | buildActionMask = 2147483647; 312 | files = ( 313 | ); 314 | inputPaths = ( 315 | "${PODS_ROOT}/Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example-frameworks.sh", 316 | "${BUILT_PRODUCTS_DIR}/SlidingNumberView/SlidingNumberView.framework", 317 | ); 318 | name = "[CP] Embed Pods Frameworks"; 319 | outputPaths = ( 320 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SlidingNumberView.framework", 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | shellPath = /bin/sh; 324 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SlidingNumberView_Example/Pods-SlidingNumberView_Example-frameworks.sh\"\n"; 325 | showEnvVarsInLog = 0; 326 | }; 327 | /* End PBXShellScriptBuildPhase section */ 328 | 329 | /* Begin PBXSourcesBuildPhase section */ 330 | 607FACCC1AFB9204008FA782 /* Sources */ = { 331 | isa = PBXSourcesBuildPhase; 332 | buildActionMask = 2147483647; 333 | files = ( 334 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 335 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | }; 339 | 607FACE11AFB9204008FA782 /* Sources */ = { 340 | isa = PBXSourcesBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | }; 347 | /* End PBXSourcesBuildPhase section */ 348 | 349 | /* Begin PBXTargetDependency section */ 350 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 351 | isa = PBXTargetDependency; 352 | target = 607FACCF1AFB9204008FA782 /* SlidingNumberView_Example */; 353 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 354 | }; 355 | /* End PBXTargetDependency section */ 356 | 357 | /* Begin PBXVariantGroup section */ 358 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 359 | isa = PBXVariantGroup; 360 | children = ( 361 | 607FACDA1AFB9204008FA782 /* Base */, 362 | ); 363 | name = Main.storyboard; 364 | sourceTree = ""; 365 | }; 366 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 367 | isa = PBXVariantGroup; 368 | children = ( 369 | 607FACDF1AFB9204008FA782 /* Base */, 370 | ); 371 | name = LaunchScreen.xib; 372 | sourceTree = ""; 373 | }; 374 | /* End PBXVariantGroup section */ 375 | 376 | /* Begin XCBuildConfiguration section */ 377 | 607FACED1AFB9204008FA782 /* Debug */ = { 378 | isa = XCBuildConfiguration; 379 | buildSettings = { 380 | ALWAYS_SEARCH_USER_PATHS = NO; 381 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 382 | CLANG_CXX_LIBRARY = "libc++"; 383 | CLANG_ENABLE_MODULES = YES; 384 | CLANG_ENABLE_OBJC_ARC = YES; 385 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 386 | CLANG_WARN_BOOL_CONVERSION = YES; 387 | CLANG_WARN_COMMA = YES; 388 | CLANG_WARN_CONSTANT_CONVERSION = YES; 389 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 390 | CLANG_WARN_EMPTY_BODY = YES; 391 | CLANG_WARN_ENUM_CONVERSION = YES; 392 | CLANG_WARN_INFINITE_RECURSION = YES; 393 | CLANG_WARN_INT_CONVERSION = YES; 394 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 395 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 396 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 397 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 398 | CLANG_WARN_STRICT_PROTOTYPES = YES; 399 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 400 | CLANG_WARN_UNREACHABLE_CODE = YES; 401 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 402 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 403 | COPY_PHASE_STRIP = NO; 404 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 405 | ENABLE_STRICT_OBJC_MSGSEND = YES; 406 | ENABLE_TESTABILITY = YES; 407 | GCC_C_LANGUAGE_STANDARD = gnu99; 408 | GCC_DYNAMIC_NO_PIC = NO; 409 | GCC_NO_COMMON_BLOCKS = YES; 410 | GCC_OPTIMIZATION_LEVEL = 0; 411 | GCC_PREPROCESSOR_DEFINITIONS = ( 412 | "DEBUG=1", 413 | "$(inherited)", 414 | ); 415 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 416 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 417 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 418 | GCC_WARN_UNDECLARED_SELECTOR = YES; 419 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 420 | GCC_WARN_UNUSED_FUNCTION = YES; 421 | GCC_WARN_UNUSED_VARIABLE = YES; 422 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 423 | MTL_ENABLE_DEBUG_INFO = YES; 424 | ONLY_ACTIVE_ARCH = YES; 425 | SDKROOT = iphoneos; 426 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 427 | }; 428 | name = Debug; 429 | }; 430 | 607FACEE1AFB9204008FA782 /* Release */ = { 431 | isa = XCBuildConfiguration; 432 | buildSettings = { 433 | ALWAYS_SEARCH_USER_PATHS = NO; 434 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 435 | CLANG_CXX_LIBRARY = "libc++"; 436 | CLANG_ENABLE_MODULES = YES; 437 | CLANG_ENABLE_OBJC_ARC = YES; 438 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 439 | CLANG_WARN_BOOL_CONVERSION = YES; 440 | CLANG_WARN_COMMA = YES; 441 | CLANG_WARN_CONSTANT_CONVERSION = YES; 442 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 443 | CLANG_WARN_EMPTY_BODY = YES; 444 | CLANG_WARN_ENUM_CONVERSION = YES; 445 | CLANG_WARN_INFINITE_RECURSION = YES; 446 | CLANG_WARN_INT_CONVERSION = YES; 447 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 448 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 449 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 450 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 451 | CLANG_WARN_STRICT_PROTOTYPES = YES; 452 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 453 | CLANG_WARN_UNREACHABLE_CODE = YES; 454 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 455 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 456 | COPY_PHASE_STRIP = NO; 457 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 458 | ENABLE_NS_ASSERTIONS = NO; 459 | ENABLE_STRICT_OBJC_MSGSEND = YES; 460 | GCC_C_LANGUAGE_STANDARD = gnu99; 461 | GCC_NO_COMMON_BLOCKS = YES; 462 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 463 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 464 | GCC_WARN_UNDECLARED_SELECTOR = YES; 465 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 466 | GCC_WARN_UNUSED_FUNCTION = YES; 467 | GCC_WARN_UNUSED_VARIABLE = YES; 468 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 469 | MTL_ENABLE_DEBUG_INFO = NO; 470 | SDKROOT = iphoneos; 471 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 472 | VALIDATE_PRODUCT = YES; 473 | }; 474 | name = Release; 475 | }; 476 | 607FACF01AFB9204008FA782 /* Debug */ = { 477 | isa = XCBuildConfiguration; 478 | baseConfigurationReference = F70E5DDC5F420D83EC43D9D7 /* Pods-SlidingNumberView_Example.debug.xcconfig */; 479 | buildSettings = { 480 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 481 | INFOPLIST_FILE = SlidingNumberView/Info.plist; 482 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 483 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 484 | MODULE_NAME = ExampleApp; 485 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 486 | PRODUCT_NAME = "$(TARGET_NAME)"; 487 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 488 | SWIFT_VERSION = 4.0; 489 | }; 490 | name = Debug; 491 | }; 492 | 607FACF11AFB9204008FA782 /* Release */ = { 493 | isa = XCBuildConfiguration; 494 | baseConfigurationReference = 15C527F7DF6BF65B97C41E22 /* Pods-SlidingNumberView_Example.release.xcconfig */; 495 | buildSettings = { 496 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 497 | INFOPLIST_FILE = SlidingNumberView/Info.plist; 498 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 499 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 500 | MODULE_NAME = ExampleApp; 501 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 502 | PRODUCT_NAME = "$(TARGET_NAME)"; 503 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 504 | SWIFT_VERSION = 4.0; 505 | }; 506 | name = Release; 507 | }; 508 | 607FACF31AFB9204008FA782 /* Debug */ = { 509 | isa = XCBuildConfiguration; 510 | baseConfigurationReference = 736BC3DC156D7A1D96951E67 /* Pods-SlidingNumberView_Tests.debug.xcconfig */; 511 | buildSettings = { 512 | FRAMEWORK_SEARCH_PATHS = ( 513 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 514 | "$(inherited)", 515 | ); 516 | GCC_PREPROCESSOR_DEFINITIONS = ( 517 | "DEBUG=1", 518 | "$(inherited)", 519 | ); 520 | INFOPLIST_FILE = Tests/Info.plist; 521 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 522 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 523 | PRODUCT_NAME = "$(TARGET_NAME)"; 524 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 525 | SWIFT_VERSION = 4.0; 526 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SlidingNumberView_Example.app/SlidingNumberView_Example"; 527 | }; 528 | name = Debug; 529 | }; 530 | 607FACF41AFB9204008FA782 /* Release */ = { 531 | isa = XCBuildConfiguration; 532 | baseConfigurationReference = E16E060FA33E7EBD2C23C0E8 /* Pods-SlidingNumberView_Tests.release.xcconfig */; 533 | buildSettings = { 534 | FRAMEWORK_SEARCH_PATHS = ( 535 | "$(PLATFORM_DIR)/Developer/Library/Frameworks", 536 | "$(inherited)", 537 | ); 538 | INFOPLIST_FILE = Tests/Info.plist; 539 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 540 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 541 | PRODUCT_NAME = "$(TARGET_NAME)"; 542 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 543 | SWIFT_VERSION = 4.0; 544 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SlidingNumberView_Example.app/SlidingNumberView_Example"; 545 | }; 546 | name = Release; 547 | }; 548 | /* End XCBuildConfiguration section */ 549 | 550 | /* Begin XCConfigurationList section */ 551 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SlidingNumberView" */ = { 552 | isa = XCConfigurationList; 553 | buildConfigurations = ( 554 | 607FACED1AFB9204008FA782 /* Debug */, 555 | 607FACEE1AFB9204008FA782 /* Release */, 556 | ); 557 | defaultConfigurationIsVisible = 0; 558 | defaultConfigurationName = Release; 559 | }; 560 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SlidingNumberView_Example" */ = { 561 | isa = XCConfigurationList; 562 | buildConfigurations = ( 563 | 607FACF01AFB9204008FA782 /* Debug */, 564 | 607FACF11AFB9204008FA782 /* Release */, 565 | ); 566 | defaultConfigurationIsVisible = 0; 567 | defaultConfigurationName = Release; 568 | }; 569 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SlidingNumberView_Tests" */ = { 570 | isa = XCConfigurationList; 571 | buildConfigurations = ( 572 | 607FACF31AFB9204008FA782 /* Debug */, 573 | 607FACF41AFB9204008FA782 /* Release */, 574 | ); 575 | defaultConfigurationIsVisible = 0; 576 | defaultConfigurationName = Release; 577 | }; 578 | /* End XCConfigurationList section */ 579 | }; 580 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 581 | } 582 | -------------------------------------------------------------------------------- /Example/SlidingNumberView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/SlidingNumberView.xcodeproj/xcshareddata/xcschemes/SlidingNumberView-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/SlidingNumberView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/SlidingNumberView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/SlidingNumberView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // SlidingNumberView 4 | // 5 | // Created by bupstan on 08/08/2019. 6 | // Copyright (c) 2019 bupstan. 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/SlidingNumberView/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/SlidingNumberView/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 | 36 | 37 | 38 | 39 | 40 | 51 | 62 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /Example/SlidingNumberView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Example/SlidingNumberView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/SlidingNumberView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // SlidingNumberView 4 | // 5 | // Created by bupstan on 08/08/2019. 6 | // Copyright (c) 2019 bupstan. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import SlidingNumberView 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var targetValue: UILabel! 15 | @IBOutlet weak var outletNumberView: SlidingNumberView! 16 | 17 | var number = 0 18 | var numberView: SlidingNumberView! 19 | 20 | @IBAction func clickOnStartCounting(_ sender: Any) { 21 | if (!outletNumberView.inProgress) { 22 | outletNumberView.startCounting(completion: {finish in 23 | }) 24 | } 25 | } 26 | 27 | @IBAction func add(_ sender: Any) { 28 | number += 1000 29 | targetValue.text = "Target Value - \(number)" 30 | if (!outletNumberView.inProgress) { 31 | outletNumberView.endNumber = "\(number)" 32 | } 33 | } 34 | @IBAction func subtract(_ sender: Any) { 35 | number -= 1000 36 | targetValue.text = "Target Value - \(number)" 37 | if (!outletNumberView.inProgress) { 38 | outletNumberView.endNumber = "\(number)" 39 | } 40 | } 41 | 42 | override func viewDidLoad() { 43 | super.viewDidLoad() 44 | outletNumberView.font = .systemFont(ofSize: 42) 45 | outletNumberView.startNumber = "0" 46 | outletNumberView.endNumber = "\(number)" 47 | outletNumberView.digitSpacing = 0 48 | targetValue.text = "Target Value - \(number)" 49 | } 50 | 51 | override func viewDidAppear(_ animated: Bool) { 52 | super.viewDidAppear(animated) 53 | } 54 | 55 | override func didReceiveMemoryWarning() { 56 | super.didReceiveMemoryWarning() 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import SlidingNumberView 3 | 4 | class Tests: XCTestCase { 5 | 6 | override func setUp() { 7 | super.setUp() 8 | // Put setup code here. This method is called before the invocation of each test method in the class. 9 | } 10 | 11 | override func tearDown() { 12 | // Put teardown code here. This method is called after the invocation of each test method in the class. 13 | super.tearDown() 14 | } 15 | 16 | func testExample() { 17 | // This is an example of a functional test case. 18 | XCTAssert(true, "Pass") 19 | } 20 | 21 | func testPerformanceExample() { 22 | // This is an example of a performance test case. 23 | self.measure() { 24 | // Put the code you want to measure the time of here. 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2019 bupstan 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SlidingNumberView 2 | 3 | [![CI Status](https://img.shields.io/travis/bupstan/SlidingNumberView.svg?style=flat)](https://travis-ci.org/bupstan/SlidingNumberView) 4 | [![Version](https://img.shields.io/cocoapods/v/SlidingNumberView.svg?style=flat)](https://cocoapods.org/pods/SlidingNumberView) 5 | [![License](https://img.shields.io/cocoapods/l/SlidingNumberView.svg?style=flat)](https://cocoapods.org/pods/SlidingNumberView) 6 | [![Platform](https://img.shields.io/cocoapods/p/SlidingNumberView.svg?style=flat)](https://cocoapods.org/pods/SlidingNumberView) 7 | 8 | ## How it looks 9 | ![](Samples/SlidingNumberView-SampleGif.gif) 10 | 11 | ## Example Project 12 | 13 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 14 | 15 | ## Requirements 16 | - iOS 10.0+ 17 | - Swift 4.2+ 18 | 19 | ## Installation 20 | 21 | SlidingNumberView is available through [CocoaPods](https://cocoapods.org). To install 22 | it, simply add the following line to your Podfile: 23 | 24 | ```ruby 25 | pod 'SlidingNumberView' 26 | ``` 27 | 28 | ## Usage 29 | - Import SlidingNumberView in the class you want to use. 30 | 31 | ```swift 32 | import SlidingNumberView 33 | ``` 34 | 35 | - Initialize a SlidingNumberView object with a starting number and a final number as **String** parameters (Numbers, as of now, are only supported up to 11 Digits). You can also specify a custom font. However, custom fonts can cause undesirable clipping. 36 | 37 | ```swift 38 | var numberView = SlidingNumberView(startNumber: "1234", endNumber: "5678") 39 | 40 | \\ or 41 | 42 | var numberView = SlidingNumberView(startNumber: "1234", endNumber: "5678", font: UIFont.systemFont(ofSize: 26)) 43 | ``` 44 | 45 | - (Optional) You can specify the total animation duration 46 | 47 | ```swift 48 | numberView.animationDuration = 3 49 | ``` 50 | 51 | - Add to the container view so constraints can be added 52 | 53 | ```swift 54 | self.view.addSubview(numberView) 55 | numberView.translatesAutoresizingMaskIntoConstraints = false 56 | ``` 57 | 58 | - **SlidingNumberView** has its own weight and height constraint calculated from your font size. So you only need to give its **x** and **y** position constraints. 59 | 60 | ```swift 61 | numberView.centerYAnchor.constraint(equalTo: self.view.centerYAnchor, constant: 0).isActive = true 62 | 63 | numberView.centerXAnchor.constraint(equalTo: self.view.centerXAnchor, constant: 0).isActive = true 64 | ``` 65 | 66 | - Call the object's `startCounting` method to start animation. 67 | 68 | ```swift 69 | numberView.startCounting(completion: {finish in 70 | print("Counting Done") 71 | }) 72 | ``` 73 | 74 | - The `startCounting` method has a completion handler so you can change to another `endNumber` through its properties and start the counting again. (It is crucial to note that the `startNumber` and `endNumber` are meant to accept strings of the same digit size). 75 | 76 | ```swift 77 | numberView.startCounting(completion: {finish in 78 | self.numberView.endNumber = "0000" 79 | self.numberView.startCounting(completion: { finish in 80 | print("Counting Finally done") 81 | }) 82 | }) 83 | ``` 84 | 85 | ### Full Code Block 86 | 87 | ```swift 88 | numberView = SlidingNumberView(startNumber: "0100", endNumber: "1250", font: UIFont.systemFont(ofSize: 26)) 89 | numberView.animationDuration = 3 90 | 91 | self.view.addSubview(numberView) 92 | numberView.translatesAutoresizingMaskIntoConstraints = false 93 | 94 | numberView.centerYAnchor.constraint(equalTo: self.view.centerYAnchor, constant: 0).isActive = true 95 | numberView.centerXAnchor.constraint(equalTo: self.view.centerXAnchor, constant: 0).isActive = true 96 | self.view.layoutIfNeeded() 97 | 98 | numberView.startCounting(completion: {finish in 99 | self.numberView.endNumber = "0000" 100 | self.numberView.startCounting(completion: { finish in 101 | print("Counting Finally done") 102 | }) 103 | }) 104 | ``` 105 | 106 | ## Accessible Properties 107 | ```swift 108 | /// Spacing of the Digits 109 | numberView.digitSpacing = 10 110 | 111 | /// Digit Font 112 | numberView.font = .systemFont(ofSize: 42) 113 | 114 | /// The whole animation duration 115 | numberView.animationDuration = 3 116 | 117 | /// Boolean. Is it still counting? 118 | numberView.inProgress 119 | ``` 120 | 121 | ## Known Limitations 122 | - SlidingNumberView is in alpha state. 123 | - ~~SlidingNumberView can only be initialized programmatically like the usage above.~~ (Can now be set as a custom class for `UIView` in storyboard.) 124 | - ~~Only numbers of the same digits can be animated~~ (Increasing-digits will smoothly animate through its change, Decreasing ones are snappy) 125 | 126 | ## To be implemented 127 | - [x] Multiple font weights 128 | - [x] Support for animating through different digit numbers 129 | - [x] Support for initializing through storyboard objects and IBOutlets 130 | 131 | ## Author 132 | 133 | bupstan, bupstan.dev@gmail.com 134 | 135 | ## License 136 | 137 | SlidingNumberView is available under the MIT license. See the LICENSE file for more info. 138 | -------------------------------------------------------------------------------- /Samples/SlidingNumberView-SampleGif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bupstan/SlidingNumberView/0e056fa5a3b12f1dc60c3c4c97bcc50ec94088e5/Samples/SlidingNumberView-SampleGif.gif -------------------------------------------------------------------------------- /SlidingNumberView.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint SlidingNumberView.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 = 'SlidingNumberView' 11 | s.version = '0.0.6' 12 | s.summary = 'SlidingNumberView is a custom view that will count from an initial number to a final number with sliding animation' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = 'SlidingNumberView enables numbers to change like the hand tally counter (most relevant example). It changes from a starting number to a final number with sliding animation. Currently, it supports numbers up to 11 Digits' 21 | 22 | s.homepage = 'https://github.com/bupstan/SlidingNumberView' 23 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 24 | s.license = { :type => 'MIT', :file => 'LICENSE' } 25 | s.author = { 'bupstan' => 'bupstan.dev@gmail.com' } 26 | s.source = { :git => 'https://github.com/bupstan/SlidingNumberView.git', :tag => s.version.to_s } 27 | # s.social_media_url = 'https://twitter.com/' 28 | 29 | s.ios.deployment_target = '10.0' 30 | s.swift_version = '4.2' 31 | s.source_files = 'SlidingNumberView/Classes/**/*' 32 | 33 | # s.resource_bundles = { 34 | # 'SlidingNumberView' => ['SlidingNumberView/Assets/*.png'] 35 | # } 36 | 37 | # s.public_header_files = 'Pod/Classes/**/*.h' 38 | # s.frameworks = 'UIKit', 'MapKit' 39 | # s.dependency 'AFNetworking', '~> 2.3' 40 | end 41 | -------------------------------------------------------------------------------- /SlidingNumberView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bupstan/SlidingNumberView/0e056fa5a3b12f1dc60c3c4c97bcc50ec94088e5/SlidingNumberView/Assets/.gitkeep -------------------------------------------------------------------------------- /SlidingNumberView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bupstan/SlidingNumberView/0e056fa5a3b12f1dc60c3c4c97bcc50ec94088e5/SlidingNumberView/Classes/.gitkeep -------------------------------------------------------------------------------- /SlidingNumberView/Classes/SlidingNumberStrips.swift: -------------------------------------------------------------------------------- 1 | // 2 | // SlidingNumberStrips.swift 3 | // SlidingNumberStrips 4 | // 5 | // Created by Ye Wai Yan on 8/8/19. 6 | // Copyright © 2019 Ye Wai Yan. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public class SlidingNumberStrips: UIStackView { 12 | 13 | var labelFont: UIFont! 14 | var displacementValue: Int! 15 | private var previousNumber: Int! 16 | var targetNumber: Int! 17 | var labelSize: CGSize! 18 | 19 | var currentNumber: Int! { 20 | didSet { 21 | if let _ = previousNumber { 22 | if currentNumber > previousNumber { 23 | // Case that number is rising up 24 | currentNumber = currentNumber == 10 ? 0 : currentNumber 25 | } else if currentNumber < previousNumber { 26 | // Case that number is going down 27 | currentNumber = currentNumber == -1 ? 9 : currentNumber 28 | } 29 | if !(previousNumber == currentNumber) { 30 | previousNumber = currentNumber 31 | } 32 | } else { 33 | previousNumber = currentNumber 34 | } 35 | } 36 | } 37 | 38 | override init(frame: CGRect) { 39 | super.init(frame: frame) 40 | 41 | // Default properties for number strips 42 | axis = .vertical 43 | distribution = .equalSpacing 44 | spacing = 0 45 | alignment = .center 46 | } 47 | 48 | required init(coder: NSCoder) { 49 | super.init(coder: coder) 50 | } 51 | 52 | func generateCounterStrip(){ 53 | let goingUp = targetNumber > currentNumber 54 | if let currentNo = currentNumber { 55 | var tempNo = currentNo 56 | for _ in 0.. toNumber.count) { 41 | var zeroString = "" 42 | for _ in 0.. fromNumber.count) { 60 | var zeroString = "" 61 | for _ in 0.. ()) { 267 | counting = true 268 | widthConstraint.constant = widthValue 269 | heightConstraint.constant = heightValue 270 | 271 | var finishCount = 0 272 | for index in 0.. CGFloat { 296 | return "0".widthOfString(usingFont: counterFont) 297 | } 298 | 299 | private func getLargestLabelStripHeight() -> CGFloat { 300 | var result:CGFloat = 0 301 | for view in labelStrips { 302 | result = view.labelSize.height > result ? view.labelSize.height : result 303 | } 304 | return result 305 | } 306 | 307 | required init?(coder aDecoder: NSCoder) { 308 | super.init(coder: aDecoder) 309 | self.layer.masksToBounds = true 310 | self.counterFont = UIFont.systemFont(ofSize: 36) 311 | initializeStackViews() 312 | self.layoutIfNeeded() 313 | } 314 | } 315 | 316 | extension String { 317 | func widthOfString(usingFont font: UIFont) -> CGFloat { 318 | let fontAttributes = [NSAttributedString.Key.font: font] 319 | let size = self.size(withAttributes: fontAttributes) 320 | return size.width 321 | } 322 | } 323 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------