├── .gitignore ├── .travis.yml ├── Example ├── .swiftlint.yml ├── NumericAnimatedLabel.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── NumericAnimatedLabel-Example.xcscheme ├── NumericAnimatedLabel.xcworkspace │ └── contents.xcworkspacedata ├── NumericAnimatedLabel │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── NumericAnimatedLabel.podspec.json │ ├── Manifest.lock │ ├── NumericAnimatedLabel │ │ ├── LICENSE │ │ ├── NumericAnimatedLabel │ │ │ └── Classes │ │ │ │ └── NumericAnimatedLabel.swift │ │ └── README.md │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── NumericAnimatedLabel │ │ ├── Info.plist │ │ ├── NumericAnimatedLabel-dummy.m │ │ ├── NumericAnimatedLabel-prefix.pch │ │ ├── NumericAnimatedLabel-umbrella.h │ │ ├── NumericAnimatedLabel.modulemap │ │ └── NumericAnimatedLabel.xcconfig │ │ ├── Pods-NumericAnimatedLabel_Example │ │ ├── Info.plist │ │ ├── Pods-NumericAnimatedLabel_Example-acknowledgements.markdown │ │ ├── Pods-NumericAnimatedLabel_Example-acknowledgements.plist │ │ ├── Pods-NumericAnimatedLabel_Example-dummy.m │ │ ├── Pods-NumericAnimatedLabel_Example-frameworks.sh │ │ ├── Pods-NumericAnimatedLabel_Example-resources.sh │ │ ├── Pods-NumericAnimatedLabel_Example-umbrella.h │ │ ├── Pods-NumericAnimatedLabel_Example.debug.xcconfig │ │ ├── Pods-NumericAnimatedLabel_Example.modulemap │ │ └── Pods-NumericAnimatedLabel_Example.release.xcconfig │ │ └── Pods-NumericAnimatedLabel_Tests │ │ ├── Info.plist │ │ ├── Pods-NumericAnimatedLabel_Tests-acknowledgements.markdown │ │ ├── Pods-NumericAnimatedLabel_Tests-acknowledgements.plist │ │ ├── Pods-NumericAnimatedLabel_Tests-dummy.m │ │ ├── Pods-NumericAnimatedLabel_Tests-frameworks.sh │ │ ├── Pods-NumericAnimatedLabel_Tests-resources.sh │ │ ├── Pods-NumericAnimatedLabel_Tests-umbrella.h │ │ ├── Pods-NumericAnimatedLabel_Tests.debug.xcconfig │ │ ├── Pods-NumericAnimatedLabel_Tests.modulemap │ │ └── Pods-NumericAnimatedLabel_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── NumericAnimatedLabel.gif ├── NumericAnimatedLabel.podspec ├── NumericAnimatedLabel ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── NumericAnimatedLabel.swift ├── README.md └── _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 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | before_install: 5 | - gem install cocoapods # Since Travis is not always on latest version 6 | - pod repo update 7 | - pod install --project-directory=Example 8 | 9 | language: swift 10 | osx_image: xcode8.3 11 | xcode_workspace: Example/NumericAnimatedLabel.xcworkspace 12 | xcode_scheme: NumericAnimatedLabel-Example 13 | xcode_sdk: iphonesimulator10.3 14 | podfile: Example/Podfile 15 | branches: 16 | only: 17 | - master 18 | -------------------------------------------------------------------------------- /Example/.swiftlint.yml: -------------------------------------------------------------------------------- 1 | disabled_rules: # rule identifiers to exclude from running 2 | - line_length 3 | - function_parameter_count -------------------------------------------------------------------------------- /Example/NumericAnimatedLabel.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4A72FD590DE0C99EEC2E4340 /* Pods_NumericAnimatedLabel_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7A3DD983E73CAEE458BD66A /* Pods_NumericAnimatedLabel_Tests.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 | FD57BEC11D104621DE5A22E5 /* Pods_NumericAnimatedLabel_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 59DEC8FDBC1D865870F00784 /* Pods_NumericAnimatedLabel_Example.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = NumericAnimatedLabel; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 19A2C94EB97D6A7AFCE5D321 /* Pods-NumericAnimatedLabel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NumericAnimatedLabel_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example.release.xcconfig"; sourceTree = ""; }; 32 | 1EB646F2EE033456F31EEE31 /* Pods-NumericAnimatedLabel_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NumericAnimatedLabel_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests.release.xcconfig"; sourceTree = ""; }; 33 | 37FB1012442A758427AD9DFC /* NumericAnimatedLabel.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = NumericAnimatedLabel.podspec; path = ../NumericAnimatedLabel.podspec; sourceTree = ""; }; 34 | 4AE6D76EB1D15BF12701909E /* Pods-NumericAnimatedLabel_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NumericAnimatedLabel_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests.debug.xcconfig"; sourceTree = ""; }; 35 | 59DEC8FDBC1D865870F00784 /* Pods_NumericAnimatedLabel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NumericAnimatedLabel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 36 | 607FACD01AFB9204008FA782 /* NumericAnimatedLabel_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NumericAnimatedLabel_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 38 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 39 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 40 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 41 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 42 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 43 | 607FACE51AFB9204008FA782 /* NumericAnimatedLabel_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NumericAnimatedLabel_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 46 | A4191E00A090EEF9DF1D8975 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 47 | C7A3DD983E73CAEE458BD66A /* Pods_NumericAnimatedLabel_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_NumericAnimatedLabel_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | CA5D1ED0105B0F7CD532BC73 /* Pods-NumericAnimatedLabel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NumericAnimatedLabel_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example.debug.xcconfig"; sourceTree = ""; }; 49 | EEDCBF9B294C7D0DD235B106 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | FD57BEC11D104621DE5A22E5 /* Pods_NumericAnimatedLabel_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 4A72FD590DE0C99EEC2E4340 /* Pods_NumericAnimatedLabel_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 607FACC71AFB9204008FA782 = { 73 | isa = PBXGroup; 74 | children = ( 75 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 76 | 607FACD21AFB9204008FA782 /* Example for NumericAnimatedLabel */, 77 | 607FACE81AFB9204008FA782 /* Tests */, 78 | 607FACD11AFB9204008FA782 /* Products */, 79 | B07AE88A1E5D11580658C051 /* Pods */, 80 | EB9017EAC75CE3F42725409B /* Frameworks */, 81 | ); 82 | sourceTree = ""; 83 | }; 84 | 607FACD11AFB9204008FA782 /* Products */ = { 85 | isa = PBXGroup; 86 | children = ( 87 | 607FACD01AFB9204008FA782 /* NumericAnimatedLabel_Example.app */, 88 | 607FACE51AFB9204008FA782 /* NumericAnimatedLabel_Tests.xctest */, 89 | ); 90 | name = Products; 91 | sourceTree = ""; 92 | }; 93 | 607FACD21AFB9204008FA782 /* Example for NumericAnimatedLabel */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 97 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 98 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 99 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 100 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 101 | 607FACD31AFB9204008FA782 /* Supporting Files */, 102 | ); 103 | name = "Example for NumericAnimatedLabel"; 104 | path = NumericAnimatedLabel; 105 | sourceTree = ""; 106 | }; 107 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 607FACD41AFB9204008FA782 /* Info.plist */, 111 | ); 112 | name = "Supporting Files"; 113 | sourceTree = ""; 114 | }; 115 | 607FACE81AFB9204008FA782 /* Tests */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 119 | 607FACE91AFB9204008FA782 /* Supporting Files */, 120 | ); 121 | path = Tests; 122 | sourceTree = ""; 123 | }; 124 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 607FACEA1AFB9204008FA782 /* Info.plist */, 128 | ); 129 | name = "Supporting Files"; 130 | sourceTree = ""; 131 | }; 132 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 37FB1012442A758427AD9DFC /* NumericAnimatedLabel.podspec */, 136 | A4191E00A090EEF9DF1D8975 /* README.md */, 137 | EEDCBF9B294C7D0DD235B106 /* LICENSE */, 138 | ); 139 | name = "Podspec Metadata"; 140 | sourceTree = ""; 141 | }; 142 | B07AE88A1E5D11580658C051 /* Pods */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | CA5D1ED0105B0F7CD532BC73 /* Pods-NumericAnimatedLabel_Example.debug.xcconfig */, 146 | 19A2C94EB97D6A7AFCE5D321 /* Pods-NumericAnimatedLabel_Example.release.xcconfig */, 147 | 4AE6D76EB1D15BF12701909E /* Pods-NumericAnimatedLabel_Tests.debug.xcconfig */, 148 | 1EB646F2EE033456F31EEE31 /* Pods-NumericAnimatedLabel_Tests.release.xcconfig */, 149 | ); 150 | name = Pods; 151 | sourceTree = ""; 152 | }; 153 | EB9017EAC75CE3F42725409B /* Frameworks */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 59DEC8FDBC1D865870F00784 /* Pods_NumericAnimatedLabel_Example.framework */, 157 | C7A3DD983E73CAEE458BD66A /* Pods_NumericAnimatedLabel_Tests.framework */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* NumericAnimatedLabel_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NumericAnimatedLabel_Example" */; 168 | buildPhases = ( 169 | AA672E01CC05E1A81F026E67 /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | 310F35FFCC875B37E85BD764 /* [CP] Embed Pods Frameworks */, 174 | 723E5A880CB797D2C9C9C27C /* [CP] Copy Pods Resources */, 175 | 9C6AE0D51ED6F8240080B7EC /* Swift Lint */, 176 | ); 177 | buildRules = ( 178 | ); 179 | dependencies = ( 180 | ); 181 | name = NumericAnimatedLabel_Example; 182 | productName = NumericAnimatedLabel; 183 | productReference = 607FACD01AFB9204008FA782 /* NumericAnimatedLabel_Example.app */; 184 | productType = "com.apple.product-type.application"; 185 | }; 186 | 607FACE41AFB9204008FA782 /* NumericAnimatedLabel_Tests */ = { 187 | isa = PBXNativeTarget; 188 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NumericAnimatedLabel_Tests" */; 189 | buildPhases = ( 190 | 728B596056EE8A4BCD950349 /* [CP] Check Pods Manifest.lock */, 191 | 607FACE11AFB9204008FA782 /* Sources */, 192 | 607FACE21AFB9204008FA782 /* Frameworks */, 193 | 607FACE31AFB9204008FA782 /* Resources */, 194 | F22F312920B29F8B996BD82C /* [CP] Embed Pods Frameworks */, 195 | 3ADDB1DDCA4D1BAF6100984E /* [CP] Copy Pods Resources */, 196 | ); 197 | buildRules = ( 198 | ); 199 | dependencies = ( 200 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 201 | ); 202 | name = NumericAnimatedLabel_Tests; 203 | productName = Tests; 204 | productReference = 607FACE51AFB9204008FA782 /* NumericAnimatedLabel_Tests.xctest */; 205 | productType = "com.apple.product-type.bundle.unit-test"; 206 | }; 207 | /* End PBXNativeTarget section */ 208 | 209 | /* Begin PBXProject section */ 210 | 607FACC81AFB9204008FA782 /* Project object */ = { 211 | isa = PBXProject; 212 | attributes = { 213 | LastSwiftUpdateCheck = 0720; 214 | LastUpgradeCheck = 0820; 215 | ORGANIZATIONNAME = CocoaPods; 216 | TargetAttributes = { 217 | 607FACCF1AFB9204008FA782 = { 218 | CreatedOnToolsVersion = 6.3.1; 219 | LastSwiftMigration = 0820; 220 | }; 221 | 607FACE41AFB9204008FA782 = { 222 | CreatedOnToolsVersion = 6.3.1; 223 | LastSwiftMigration = 0820; 224 | TestTargetID = 607FACCF1AFB9204008FA782; 225 | }; 226 | }; 227 | }; 228 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "NumericAnimatedLabel" */; 229 | compatibilityVersion = "Xcode 3.2"; 230 | developmentRegion = English; 231 | hasScannedForEncodings = 0; 232 | knownRegions = ( 233 | en, 234 | Base, 235 | ); 236 | mainGroup = 607FACC71AFB9204008FA782; 237 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 238 | projectDirPath = ""; 239 | projectRoot = ""; 240 | targets = ( 241 | 607FACCF1AFB9204008FA782 /* NumericAnimatedLabel_Example */, 242 | 607FACE41AFB9204008FA782 /* NumericAnimatedLabel_Tests */, 243 | ); 244 | }; 245 | /* End PBXProject section */ 246 | 247 | /* Begin PBXResourcesBuildPhase section */ 248 | 607FACCE1AFB9204008FA782 /* Resources */ = { 249 | isa = PBXResourcesBuildPhase; 250 | buildActionMask = 2147483647; 251 | files = ( 252 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 253 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 254 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | 607FACE31AFB9204008FA782 /* Resources */ = { 259 | isa = PBXResourcesBuildPhase; 260 | buildActionMask = 2147483647; 261 | files = ( 262 | ); 263 | runOnlyForDeploymentPostprocessing = 0; 264 | }; 265 | /* End PBXResourcesBuildPhase section */ 266 | 267 | /* Begin PBXShellScriptBuildPhase section */ 268 | 310F35FFCC875B37E85BD764 /* [CP] Embed Pods Frameworks */ = { 269 | isa = PBXShellScriptBuildPhase; 270 | buildActionMask = 2147483647; 271 | files = ( 272 | ); 273 | inputPaths = ( 274 | ); 275 | name = "[CP] Embed Pods Frameworks"; 276 | outputPaths = ( 277 | ); 278 | runOnlyForDeploymentPostprocessing = 0; 279 | shellPath = /bin/sh; 280 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example-frameworks.sh\"\n"; 281 | showEnvVarsInLog = 0; 282 | }; 283 | 3ADDB1DDCA4D1BAF6100984E /* [CP] Copy Pods Resources */ = { 284 | isa = PBXShellScriptBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | ); 288 | inputPaths = ( 289 | ); 290 | name = "[CP] Copy Pods Resources"; 291 | outputPaths = ( 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | shellPath = /bin/sh; 295 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests-resources.sh\"\n"; 296 | showEnvVarsInLog = 0; 297 | }; 298 | 723E5A880CB797D2C9C9C27C /* [CP] Copy Pods Resources */ = { 299 | isa = PBXShellScriptBuildPhase; 300 | buildActionMask = 2147483647; 301 | files = ( 302 | ); 303 | inputPaths = ( 304 | ); 305 | name = "[CP] Copy Pods Resources"; 306 | outputPaths = ( 307 | ); 308 | runOnlyForDeploymentPostprocessing = 0; 309 | shellPath = /bin/sh; 310 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example-resources.sh\"\n"; 311 | showEnvVarsInLog = 0; 312 | }; 313 | 728B596056EE8A4BCD950349 /* [CP] Check Pods Manifest.lock */ = { 314 | isa = PBXShellScriptBuildPhase; 315 | buildActionMask = 2147483647; 316 | files = ( 317 | ); 318 | inputPaths = ( 319 | ); 320 | name = "[CP] Check Pods Manifest.lock"; 321 | outputPaths = ( 322 | ); 323 | runOnlyForDeploymentPostprocessing = 0; 324 | shellPath = /bin/sh; 325 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; 326 | showEnvVarsInLog = 0; 327 | }; 328 | 9C6AE0D51ED6F8240080B7EC /* Swift Lint */ = { 329 | isa = PBXShellScriptBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | ); 333 | inputPaths = ( 334 | ); 335 | name = "Swift Lint"; 336 | outputPaths = ( 337 | ); 338 | runOnlyForDeploymentPostprocessing = 0; 339 | shellPath = /bin/sh; 340 | shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi"; 341 | }; 342 | AA672E01CC05E1A81F026E67 /* [CP] Check Pods Manifest.lock */ = { 343 | isa = PBXShellScriptBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | inputPaths = ( 348 | ); 349 | name = "[CP] Check Pods Manifest.lock"; 350 | outputPaths = ( 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | shellPath = /bin/sh; 354 | 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"; 355 | showEnvVarsInLog = 0; 356 | }; 357 | F22F312920B29F8B996BD82C /* [CP] Embed Pods Frameworks */ = { 358 | isa = PBXShellScriptBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | ); 362 | inputPaths = ( 363 | ); 364 | name = "[CP] Embed Pods Frameworks"; 365 | outputPaths = ( 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | shellPath = /bin/sh; 369 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests-frameworks.sh\"\n"; 370 | showEnvVarsInLog = 0; 371 | }; 372 | /* End PBXShellScriptBuildPhase section */ 373 | 374 | /* Begin PBXSourcesBuildPhase section */ 375 | 607FACCC1AFB9204008FA782 /* Sources */ = { 376 | isa = PBXSourcesBuildPhase; 377 | buildActionMask = 2147483647; 378 | files = ( 379 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 380 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 381 | ); 382 | runOnlyForDeploymentPostprocessing = 0; 383 | }; 384 | 607FACE11AFB9204008FA782 /* Sources */ = { 385 | isa = PBXSourcesBuildPhase; 386 | buildActionMask = 2147483647; 387 | files = ( 388 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 389 | ); 390 | runOnlyForDeploymentPostprocessing = 0; 391 | }; 392 | /* End PBXSourcesBuildPhase section */ 393 | 394 | /* Begin PBXTargetDependency section */ 395 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 396 | isa = PBXTargetDependency; 397 | target = 607FACCF1AFB9204008FA782 /* NumericAnimatedLabel_Example */; 398 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 399 | }; 400 | /* End PBXTargetDependency section */ 401 | 402 | /* Begin PBXVariantGroup section */ 403 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 404 | isa = PBXVariantGroup; 405 | children = ( 406 | 607FACDA1AFB9204008FA782 /* Base */, 407 | ); 408 | name = Main.storyboard; 409 | sourceTree = ""; 410 | }; 411 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 412 | isa = PBXVariantGroup; 413 | children = ( 414 | 607FACDF1AFB9204008FA782 /* Base */, 415 | ); 416 | name = LaunchScreen.xib; 417 | sourceTree = ""; 418 | }; 419 | /* End PBXVariantGroup section */ 420 | 421 | /* Begin XCBuildConfiguration section */ 422 | 607FACED1AFB9204008FA782 /* Debug */ = { 423 | isa = XCBuildConfiguration; 424 | buildSettings = { 425 | ALWAYS_SEARCH_USER_PATHS = NO; 426 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 427 | CLANG_CXX_LIBRARY = "libc++"; 428 | CLANG_ENABLE_MODULES = YES; 429 | CLANG_ENABLE_OBJC_ARC = YES; 430 | CLANG_WARN_BOOL_CONVERSION = YES; 431 | CLANG_WARN_CONSTANT_CONVERSION = YES; 432 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 433 | CLANG_WARN_EMPTY_BODY = YES; 434 | CLANG_WARN_ENUM_CONVERSION = YES; 435 | CLANG_WARN_INFINITE_RECURSION = YES; 436 | CLANG_WARN_INT_CONVERSION = YES; 437 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 438 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 439 | CLANG_WARN_UNREACHABLE_CODE = YES; 440 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 441 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 442 | COPY_PHASE_STRIP = NO; 443 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 444 | ENABLE_STRICT_OBJC_MSGSEND = YES; 445 | ENABLE_TESTABILITY = YES; 446 | GCC_C_LANGUAGE_STANDARD = gnu99; 447 | GCC_DYNAMIC_NO_PIC = NO; 448 | GCC_NO_COMMON_BLOCKS = YES; 449 | GCC_OPTIMIZATION_LEVEL = 0; 450 | GCC_PREPROCESSOR_DEFINITIONS = ( 451 | "DEBUG=1", 452 | "$(inherited)", 453 | ); 454 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 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 = 9.0; 462 | MTL_ENABLE_DEBUG_INFO = YES; 463 | ONLY_ACTIVE_ARCH = YES; 464 | SDKROOT = iphoneos; 465 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 466 | }; 467 | name = Debug; 468 | }; 469 | 607FACEE1AFB9204008FA782 /* Release */ = { 470 | isa = XCBuildConfiguration; 471 | buildSettings = { 472 | ALWAYS_SEARCH_USER_PATHS = NO; 473 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 474 | CLANG_CXX_LIBRARY = "libc++"; 475 | CLANG_ENABLE_MODULES = YES; 476 | CLANG_ENABLE_OBJC_ARC = YES; 477 | CLANG_WARN_BOOL_CONVERSION = YES; 478 | CLANG_WARN_CONSTANT_CONVERSION = YES; 479 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 480 | CLANG_WARN_EMPTY_BODY = YES; 481 | CLANG_WARN_ENUM_CONVERSION = YES; 482 | CLANG_WARN_INFINITE_RECURSION = YES; 483 | CLANG_WARN_INT_CONVERSION = YES; 484 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 485 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 486 | CLANG_WARN_UNREACHABLE_CODE = YES; 487 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 488 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 489 | COPY_PHASE_STRIP = NO; 490 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 491 | ENABLE_NS_ASSERTIONS = NO; 492 | ENABLE_STRICT_OBJC_MSGSEND = YES; 493 | GCC_C_LANGUAGE_STANDARD = gnu99; 494 | GCC_NO_COMMON_BLOCKS = YES; 495 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 496 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 497 | GCC_WARN_UNDECLARED_SELECTOR = YES; 498 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 499 | GCC_WARN_UNUSED_FUNCTION = YES; 500 | GCC_WARN_UNUSED_VARIABLE = YES; 501 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 502 | MTL_ENABLE_DEBUG_INFO = NO; 503 | SDKROOT = iphoneos; 504 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 505 | VALIDATE_PRODUCT = YES; 506 | }; 507 | name = Release; 508 | }; 509 | 607FACF01AFB9204008FA782 /* Debug */ = { 510 | isa = XCBuildConfiguration; 511 | baseConfigurationReference = CA5D1ED0105B0F7CD532BC73 /* Pods-NumericAnimatedLabel_Example.debug.xcconfig */; 512 | buildSettings = { 513 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 514 | INFOPLIST_FILE = NumericAnimatedLabel/Info.plist; 515 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 516 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 517 | MODULE_NAME = ExampleApp; 518 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 519 | PRODUCT_NAME = "$(TARGET_NAME)"; 520 | SWIFT_VERSION = 3.0; 521 | }; 522 | name = Debug; 523 | }; 524 | 607FACF11AFB9204008FA782 /* Release */ = { 525 | isa = XCBuildConfiguration; 526 | baseConfigurationReference = 19A2C94EB97D6A7AFCE5D321 /* Pods-NumericAnimatedLabel_Example.release.xcconfig */; 527 | buildSettings = { 528 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 529 | INFOPLIST_FILE = NumericAnimatedLabel/Info.plist; 530 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 531 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 532 | MODULE_NAME = ExampleApp; 533 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 534 | PRODUCT_NAME = "$(TARGET_NAME)"; 535 | SWIFT_VERSION = 3.0; 536 | }; 537 | name = Release; 538 | }; 539 | 607FACF31AFB9204008FA782 /* Debug */ = { 540 | isa = XCBuildConfiguration; 541 | baseConfigurationReference = 4AE6D76EB1D15BF12701909E /* Pods-NumericAnimatedLabel_Tests.debug.xcconfig */; 542 | buildSettings = { 543 | FRAMEWORK_SEARCH_PATHS = ( 544 | "$(SDKROOT)/Developer/Library/Frameworks", 545 | "$(inherited)", 546 | ); 547 | GCC_PREPROCESSOR_DEFINITIONS = ( 548 | "DEBUG=1", 549 | "$(inherited)", 550 | ); 551 | INFOPLIST_FILE = Tests/Info.plist; 552 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 553 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 554 | PRODUCT_NAME = "$(TARGET_NAME)"; 555 | SWIFT_VERSION = 3.0; 556 | }; 557 | name = Debug; 558 | }; 559 | 607FACF41AFB9204008FA782 /* Release */ = { 560 | isa = XCBuildConfiguration; 561 | baseConfigurationReference = 1EB646F2EE033456F31EEE31 /* Pods-NumericAnimatedLabel_Tests.release.xcconfig */; 562 | buildSettings = { 563 | FRAMEWORK_SEARCH_PATHS = ( 564 | "$(SDKROOT)/Developer/Library/Frameworks", 565 | "$(inherited)", 566 | ); 567 | INFOPLIST_FILE = Tests/Info.plist; 568 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 569 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 570 | PRODUCT_NAME = "$(TARGET_NAME)"; 571 | SWIFT_VERSION = 3.0; 572 | }; 573 | name = Release; 574 | }; 575 | /* End XCBuildConfiguration section */ 576 | 577 | /* Begin XCConfigurationList section */ 578 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "NumericAnimatedLabel" */ = { 579 | isa = XCConfigurationList; 580 | buildConfigurations = ( 581 | 607FACED1AFB9204008FA782 /* Debug */, 582 | 607FACEE1AFB9204008FA782 /* Release */, 583 | ); 584 | defaultConfigurationIsVisible = 0; 585 | defaultConfigurationName = Release; 586 | }; 587 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NumericAnimatedLabel_Example" */ = { 588 | isa = XCConfigurationList; 589 | buildConfigurations = ( 590 | 607FACF01AFB9204008FA782 /* Debug */, 591 | 607FACF11AFB9204008FA782 /* Release */, 592 | ); 593 | defaultConfigurationIsVisible = 0; 594 | defaultConfigurationName = Release; 595 | }; 596 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "NumericAnimatedLabel_Tests" */ = { 597 | isa = XCConfigurationList; 598 | buildConfigurations = ( 599 | 607FACF31AFB9204008FA782 /* Debug */, 600 | 607FACF41AFB9204008FA782 /* Release */, 601 | ); 602 | defaultConfigurationIsVisible = 0; 603 | defaultConfigurationName = Release; 604 | }; 605 | /* End XCConfigurationList section */ 606 | }; 607 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 608 | } 609 | -------------------------------------------------------------------------------- /Example/NumericAnimatedLabel.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/NumericAnimatedLabel.xcodeproj/xcshareddata/xcschemes/NumericAnimatedLabel-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/NumericAnimatedLabel.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/NumericAnimatedLabel/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // NumericAnimatedLabel 4 | // 5 | // Created by javalnanda on 05/25/2017. 6 | // Copyright (c) 2017 javalnanda. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 17 | // Override point for customization after application launch. 18 | return true 19 | } 20 | 21 | func applicationWillResignActive(_ application: UIApplication) { 22 | // 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. 23 | // 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. 24 | } 25 | 26 | func applicationDidEnterBackground(_ application: UIApplication) { 27 | // 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. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | func applicationWillEnterForeground(_ application: UIApplication) { 32 | // 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. 33 | } 34 | 35 | func applicationDidBecomeActive(_ application: UIApplication) { 36 | // 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. 37 | } 38 | 39 | func applicationWillTerminate(_ application: UIApplication) { 40 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /Example/NumericAnimatedLabel/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/NumericAnimatedLabel/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 39 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /Example/NumericAnimatedLabel/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/NumericAnimatedLabel/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/NumericAnimatedLabel/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // NumericAnimatedLabel 4 | // 5 | // Created by javalnanda on 05/25/2017. 6 | // Copyright (c) 2017 javalnanda. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import NumericAnimatedLabel 11 | 12 | class ViewController: UIViewController { 13 | 14 | @IBOutlet weak var numericLabel: NumericAnimatedLabel! 15 | var walletBalance: Double = 0.0 16 | 17 | override func viewDidLoad() { 18 | super.viewDidLoad() 19 | numericLabel.setValue(value: walletBalance) 20 | numericLabel.textAlignment = .center 21 | numericLabel.formatString = "%.2f" 22 | numericLabel.textFont = UIFont.boldSystemFont(ofSize: 20.0) 23 | } 24 | 25 | @IBAction func addClicked(_ sender: Any) { 26 | walletBalance += 4.5 27 | numericLabel.setValue(value: walletBalance) 28 | } 29 | 30 | @IBAction func subtractClicked(_ sender: Any) { 31 | walletBalance -= 2.5 32 | numericLabel.setValue(value: walletBalance) 33 | } 34 | override func didReceiveMemoryWarning() { 35 | super.didReceiveMemoryWarning() 36 | // Dispose of any resources that can be recreated. 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'NumericAnimatedLabel_Example' do 4 | pod 'NumericAnimatedLabel' 5 | 6 | target 'NumericAnimatedLabel_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - NumericAnimatedLabel (0.1.2) 3 | 4 | DEPENDENCIES: 5 | - NumericAnimatedLabel 6 | 7 | SPEC CHECKSUMS: 8 | NumericAnimatedLabel: 5ee02f697074fb37d8740e06728823e6b86b2622 9 | 10 | PODFILE CHECKSUM: 72334133a1cae855cdf1360afed8d479979e2da4 11 | 12 | COCOAPODS: 1.2.1 13 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/NumericAnimatedLabel.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NumericAnimatedLabel", 3 | "version": "0.1.0", 4 | "summary": "A short description of NumericAnimatedLabel.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/javalnanda/NumericAnimatedLabel", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "javalnanda": "javalnanda@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/javalnanda/NumericAnimatedLabel.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "NumericAnimatedLabel/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - NumericAnimatedLabel (0.1.2) 3 | 4 | DEPENDENCIES: 5 | - NumericAnimatedLabel 6 | 7 | SPEC CHECKSUMS: 8 | NumericAnimatedLabel: 5ee02f697074fb37d8740e06728823e6b86b2622 9 | 10 | PODFILE CHECKSUM: 72334133a1cae855cdf1360afed8d479979e2da4 11 | 12 | COCOAPODS: 1.2.1 13 | -------------------------------------------------------------------------------- /Example/Pods/NumericAnimatedLabel/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 javalnanda 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Example/Pods/NumericAnimatedLabel/NumericAnimatedLabel/Classes/NumericAnimatedLabel.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NumericAnimatedLabel.swift 3 | // Pods 4 | // 5 | // Created by Javal Nanda on 5/25/17. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | public class NumericAnimatedLabel: UIView { 12 | /* 13 | // Only override draw() if you perform custom drawing. 14 | // An empty implementation adversely affects performance during animation. 15 | override func draw(_ rect: CGRect) { 16 | // Drawing code 17 | } 18 | */ 19 | 20 | var animationTimer: Timer? 21 | var targetValue: Double = 0.0 22 | var currentValue: Double = 0.0 23 | var stepSize: Double = 0.0 24 | 25 | var label: UILabel! 26 | open var textFont: UIFont = UIFont.systemFont(ofSize: 16.0) 27 | open var textAlignment: NSTextAlignment = NSTextAlignment.center { 28 | didSet { 29 | label.textAlignment = textAlignment 30 | } 31 | } 32 | 33 | @IBInspectable open var labelTextColor: UIColor = UIColor.black { 34 | didSet { 35 | label.textColor = labelTextColor 36 | } 37 | } 38 | 39 | open var formatString: String = "%.2f" 40 | 41 | public override init(frame: CGRect) { 42 | super.init(frame: frame) 43 | updateView() 44 | } 45 | 46 | public required init?(coder aDecoder: NSCoder) { 47 | super.init(coder: aDecoder) 48 | updateView() 49 | } 50 | 51 | override public func layoutSubviews() { 52 | super.layoutSubviews() 53 | 54 | label.textColor = labelTextColor 55 | label.textAlignment = textAlignment 56 | label.font = textFont 57 | label.translatesAutoresizingMaskIntoConstraints = false 58 | self.addConstraint(label, toView: self, attribute: .top, constant: 0.0) 59 | self.addConstraint(label, toView: self, attribute: .leading, constant: 0.0) 60 | self.addConstraint(label, toView: self, attribute: .bottom, constant: 0.0) 61 | self.addConstraint(label, toView: self, attribute: .trailing, constant: 0.0) 62 | 63 | } 64 | 65 | func addConstraint(_ newView: UIView, toView: UIView, attribute: NSLayoutAttribute, constant: CGFloat) { 66 | let constraint = NSLayoutConstraint(item: newView, attribute: attribute, relatedBy: .equal, toItem: toView, attribute: attribute, multiplier: 1.0, constant: constant) 67 | toView.addConstraint(constraint) 68 | } 69 | 70 | func updateView() { 71 | self.clipsToBounds = true 72 | label = UILabel(frame: self.frame) 73 | self.addSubview(label) 74 | } 75 | 76 | public func setValue(value: Double) { 77 | if animationTimer != nil { 78 | animationTimer?.invalidate() 79 | } 80 | 81 | targetValue = value 82 | stepSize = (targetValue - currentValue) / 20.0 83 | 84 | animationTimer = Timer.scheduledTimer(timeInterval: (1/40.0), target: self, selector: #selector(onAnimationTimer), userInfo: nil, repeats: true) 85 | 86 | } 87 | 88 | func onAnimationTimer() { 89 | currentValue += stepSize 90 | updateCurrentValue(value: currentValue) 91 | if stepSize < 0 { 92 | if currentValue < targetValue { 93 | //done decreasing 94 | currentValue = targetValue 95 | updateCurrentValue(value: targetValue) 96 | if (animationTimer) != nil { 97 | animationTimer?.invalidate() 98 | animationTimer = nil 99 | } 100 | } 101 | } else { 102 | if currentValue > targetValue { 103 | //done increasing 104 | currentValue = targetValue 105 | updateCurrentValue(value: targetValue) 106 | if (animationTimer) != nil { 107 | animationTimer?.invalidate() 108 | animationTimer = nil 109 | } 110 | } 111 | } 112 | } 113 | 114 | func updateCurrentValue(value: Double) { 115 | self.label.text = String(format: self.formatString, value) 116 | } 117 | 118 | } 119 | -------------------------------------------------------------------------------- /Example/Pods/NumericAnimatedLabel/README.md: -------------------------------------------------------------------------------- 1 | # NumericAnimatedLabel 2 | 3 | [![CI Status](http://img.shields.io/travis/javalnanda/NumericAnimatedLabel.svg?style=flat)](https://travis-ci.org/javalnanda/NumericAnimatedLabel) 4 | [![Version](https://img.shields.io/cocoapods/v/NumericAnimatedLabel.svg?style=flat)](http://cocoapods.org/pods/NumericAnimatedLabel) 5 | [![License](https://img.shields.io/cocoapods/l/NumericAnimatedLabel.svg?style=flat)](http://cocoapods.org/pods/NumericAnimatedLabel) 6 | [![Platform](https://img.shields.io/cocoapods/p/NumericAnimatedLabel.svg?style=flat)](http://cocoapods.org/pods/NumericAnimatedLabel) 7 | [![Twitter: @javalnanda](https://img.shields.io/badge/contact-@javalnanda-blue.svg?style=flat)](https://twitter.com/javalnanda) 8 | 9 | ![image](https://github.com/javalnanda/NumericAnimatedLabel/blob/master/NumericAnimatedLabel.gif) 10 | 11 | ## Example 12 | 13 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 14 | 15 | ## Requirements 16 | 17 | ## Installation 18 | 19 | NumericAnimatedLabel is available through [CocoaPods](http://cocoapods.org). To install 20 | it, simply add the following line to your Podfile: 21 | 22 | ```ruby 23 | pod "NumericAnimatedLabel" 24 | ``` 25 | 26 | ## Setup 27 | The only thing you need to do is import `NumericAnimatedLabel`, add a UIView to storyboard and create an outlet of it. 28 | ```swift 29 | import NumericAnimatedLabel 30 | ``` 31 | ```swift 32 | @IBOutlet weak var numericLabel: NumericAnimatedLabel! 33 | ``` 34 | 35 | ```swift 36 | override func viewDidLoad() { 37 | super.viewDidLoad() 38 | // Set Value 39 | numericLabel.setValue(v: walletBalance) 40 | 41 | // Customize if required 42 | numericLabel.textAlignment = .center 43 | numericLabel.formatString = "%.2f" 44 | numericLabel.textFont = UIFont.boldSystemFont(ofSize: 20.0) 45 | // Text color can be changed from storyboard inspector or programmatically also. 46 | } 47 | ``` 48 | ## Suggestions or feedback? 49 | 50 | Feel free to create a pull request, open an issue or find me [on Twitter](https://twitter.com/javalnanda). 51 | 52 | ## Author 53 | 54 | javalnanda, javalnanda@gmail.com 55 | 56 | ## License 57 | 58 | NumericAnimatedLabel is available under the MIT license. See the LICENSE file for more info. 59 | -------------------------------------------------------------------------------- /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 | 11A6313698596ECF648A4068EB33B190 /* Pods-NumericAnimatedLabel_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 42D8FFF1ED018679DB8FD14BC9255F01 /* Pods-NumericAnimatedLabel_Tests-dummy.m */; }; 11 | 220CBFBF80DE4B1FAD38758C6E2F3FE6 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 12 | 2CD97BFD101FB42751669130CE84C9CC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 13 | 3E806FC78BA50B5EBA188EED7ACDD94C /* Pods-NumericAnimatedLabel_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 845CF9F88157092C6D8E1815A76F465D /* Pods-NumericAnimatedLabel_Example-dummy.m */; }; 14 | 473E3A26B4CEDEAF882736796C36A0B1 /* Pods-NumericAnimatedLabel_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9C71585961CFA4EDED596897BE61827A /* Pods-NumericAnimatedLabel_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 4AB4125B7EBAD3321BB3427AC244DF95 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 16 | 6EA209365E8264A4F4D089FD4FF05D7A /* Pods-NumericAnimatedLabel_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 52CF7D4BF86C8FC8F1BC3B3874565B3D /* Pods-NumericAnimatedLabel_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | 8A1196C8D9C789DB73D6F1A760C0FE71 /* NumericAnimatedLabel-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0B07BFF0F58E8A29852F944D379430BC /* NumericAnimatedLabel-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | ECB7B6EDCD7A433FC8E51E31A48FC968 /* NumericAnimatedLabel-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F152D5A8100D6C2064459F298D624895 /* NumericAnimatedLabel-dummy.m */; }; 19 | FD96C84799532AFEE24A883E2B618647 /* NumericAnimatedLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35D7C1426FB3517A9C5111D73CED583B /* NumericAnimatedLabel.swift */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 5210B86654C6DB51EDA97F7D946AFD8B /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 8BFFF3D5528A91E4FA6D03F4170B0613; 28 | remoteInfo = NumericAnimatedLabel; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 000A6B191DA7548C37C994769A088C73 /* Pods_NumericAnimatedLabel_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_NumericAnimatedLabel_Tests.framework; path = "Pods-NumericAnimatedLabel_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 01C1D3EFE38764C2EA1A6C348FFFF10A /* Pods-NumericAnimatedLabel_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-NumericAnimatedLabel_Tests-resources.sh"; sourceTree = ""; }; 35 | 0A01E91ABE085FA829EB8689D6D00573 /* Pods-NumericAnimatedLabel_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-NumericAnimatedLabel_Example-frameworks.sh"; sourceTree = ""; }; 36 | 0B07BFF0F58E8A29852F944D379430BC /* NumericAnimatedLabel-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "NumericAnimatedLabel-umbrella.h"; sourceTree = ""; }; 37 | 117D59CFE00E31F8A30DBC829C7B78CA /* Pods-NumericAnimatedLabel_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NumericAnimatedLabel_Tests.release.xcconfig"; sourceTree = ""; }; 38 | 11A3EA183BDD27D89DDA4D172386DA29 /* Pods-NumericAnimatedLabel_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-NumericAnimatedLabel_Tests-acknowledgements.markdown"; sourceTree = ""; }; 39 | 33E0FB5CEEF3F3026B3FE1CAB331B013 /* NumericAnimatedLabel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = NumericAnimatedLabel.framework; path = NumericAnimatedLabel.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 35D7C1426FB3517A9C5111D73CED583B /* NumericAnimatedLabel.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NumericAnimatedLabel.swift; path = NumericAnimatedLabel/Classes/NumericAnimatedLabel.swift; sourceTree = ""; }; 41 | 42D8FFF1ED018679DB8FD14BC9255F01 /* Pods-NumericAnimatedLabel_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-NumericAnimatedLabel_Tests-dummy.m"; sourceTree = ""; }; 42 | 4D6B0CF798D642D1F4D3E7A2F7F11CAD /* NumericAnimatedLabel.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = NumericAnimatedLabel.modulemap; sourceTree = ""; }; 43 | 4DA478E5E1ECCED99DAA644C25385284 /* Pods-NumericAnimatedLabel_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-NumericAnimatedLabel_Example-resources.sh"; sourceTree = ""; }; 44 | 52CF7D4BF86C8FC8F1BC3B3874565B3D /* Pods-NumericAnimatedLabel_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-NumericAnimatedLabel_Example-umbrella.h"; sourceTree = ""; }; 45 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 46 | 7B8CE9E93DE09668AFE2E4A55F4327A9 /* Pods-NumericAnimatedLabel_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-NumericAnimatedLabel_Tests.modulemap"; sourceTree = ""; }; 47 | 82A20A74DAB9D851D2F13A25CF445EB5 /* Pods-NumericAnimatedLabel_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-NumericAnimatedLabel_Example.modulemap"; sourceTree = ""; }; 48 | 834B64DD79829A62BD66151D3D9A3469 /* NumericAnimatedLabel.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = NumericAnimatedLabel.xcconfig; sourceTree = ""; }; 49 | 845CF9F88157092C6D8E1815A76F465D /* Pods-NumericAnimatedLabel_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-NumericAnimatedLabel_Example-dummy.m"; sourceTree = ""; }; 50 | 88CA7DB4F02BABF893FDA7FF393389D7 /* Pods_NumericAnimatedLabel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_NumericAnimatedLabel_Example.framework; path = "Pods-NumericAnimatedLabel_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 52 | 9644D5A48F9C3A2963B993CE4E430425 /* Pods-NumericAnimatedLabel_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-NumericAnimatedLabel_Example-acknowledgements.markdown"; sourceTree = ""; }; 53 | 98645DCB019BC4621E39B625F47A3EAC /* Pods-NumericAnimatedLabel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NumericAnimatedLabel_Example.release.xcconfig"; sourceTree = ""; }; 54 | 9C71585961CFA4EDED596897BE61827A /* Pods-NumericAnimatedLabel_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-NumericAnimatedLabel_Tests-umbrella.h"; sourceTree = ""; }; 55 | B4A30EADFDEC7BEFD6E333FD6EED6814 /* Pods-NumericAnimatedLabel_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-NumericAnimatedLabel_Example-acknowledgements.plist"; sourceTree = ""; }; 56 | D44272975B2F22FFFF78C0423B3FDF85 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | D44597507663BED51BF04F9B2A0E931D /* Pods-NumericAnimatedLabel_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-NumericAnimatedLabel_Tests-acknowledgements.plist"; sourceTree = ""; }; 58 | DC796D8E20ACD7EFB091AFCC67E35DA6 /* NumericAnimatedLabel-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "NumericAnimatedLabel-prefix.pch"; sourceTree = ""; }; 59 | DD6F6CE5000B8DC51206EA693C4C9080 /* Pods-NumericAnimatedLabel_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NumericAnimatedLabel_Tests.debug.xcconfig"; sourceTree = ""; }; 60 | E39F11E1F1CB2915708348F4CB18F314 /* Pods-NumericAnimatedLabel_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-NumericAnimatedLabel_Tests-frameworks.sh"; sourceTree = ""; }; 61 | ECA750A4DB8921C4390712D270F58E39 /* Pods-NumericAnimatedLabel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-NumericAnimatedLabel_Example.debug.xcconfig"; sourceTree = ""; }; 62 | F152D5A8100D6C2064459F298D624895 /* NumericAnimatedLabel-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "NumericAnimatedLabel-dummy.m"; sourceTree = ""; }; 63 | F3646832CFB55F918879889749BA19A2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 64 | FDB864CCE2D44A02786046D1742FBC65 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 5E72F0E3974503CCF06761E463D397D0 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 220CBFBF80DE4B1FAD38758C6E2F3FE6 /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | 82405B4A6CD12B6CBA784FAD3972A59C /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | 4AB4125B7EBAD3321BB3427AC244DF95 /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | CEB6856B5133BE8751F64DFD12EBEC06 /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 2CD97BFD101FB42751669130CE84C9CC /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 04E95F88CE7027CF8E7A958FD3AC06BB /* Pods */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 96FB896F8E975644BBD7FA3EE1D67831 /* NumericAnimatedLabel */, 99 | ); 100 | name = Pods; 101 | sourceTree = ""; 102 | }; 103 | 7DB346D0F39D3F0E887471402A8071AB = { 104 | isa = PBXGroup; 105 | children = ( 106 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 107 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 108 | 04E95F88CE7027CF8E7A958FD3AC06BB /* Pods */, 109 | B3084958F794CD959582E51D4CD4BC2A /* Products */, 110 | E6E33E9D1638200A0FDFA981957CA765 /* Targets Support Files */, 111 | ); 112 | sourceTree = ""; 113 | }; 114 | 96FB896F8E975644BBD7FA3EE1D67831 /* NumericAnimatedLabel */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 35D7C1426FB3517A9C5111D73CED583B /* NumericAnimatedLabel.swift */, 118 | AA26AF6F68B7D228ADB25C00AFDCDE25 /* Support Files */, 119 | ); 120 | name = NumericAnimatedLabel; 121 | path = NumericAnimatedLabel; 122 | sourceTree = ""; 123 | }; 124 | AA26AF6F68B7D228ADB25C00AFDCDE25 /* Support Files */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | F3646832CFB55F918879889749BA19A2 /* Info.plist */, 128 | 4D6B0CF798D642D1F4D3E7A2F7F11CAD /* NumericAnimatedLabel.modulemap */, 129 | 834B64DD79829A62BD66151D3D9A3469 /* NumericAnimatedLabel.xcconfig */, 130 | F152D5A8100D6C2064459F298D624895 /* NumericAnimatedLabel-dummy.m */, 131 | DC796D8E20ACD7EFB091AFCC67E35DA6 /* NumericAnimatedLabel-prefix.pch */, 132 | 0B07BFF0F58E8A29852F944D379430BC /* NumericAnimatedLabel-umbrella.h */, 133 | ); 134 | name = "Support Files"; 135 | path = "../Target Support Files/NumericAnimatedLabel"; 136 | sourceTree = ""; 137 | }; 138 | B3084958F794CD959582E51D4CD4BC2A /* Products */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | 33E0FB5CEEF3F3026B3FE1CAB331B013 /* NumericAnimatedLabel.framework */, 142 | 88CA7DB4F02BABF893FDA7FF393389D7 /* Pods_NumericAnimatedLabel_Example.framework */, 143 | 000A6B191DA7548C37C994769A088C73 /* Pods_NumericAnimatedLabel_Tests.framework */, 144 | ); 145 | name = Products; 146 | sourceTree = ""; 147 | }; 148 | BABEF3DF30AA338113BDFF4E60204B25 /* Pods-NumericAnimatedLabel_Example */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | D44272975B2F22FFFF78C0423B3FDF85 /* Info.plist */, 152 | 82A20A74DAB9D851D2F13A25CF445EB5 /* Pods-NumericAnimatedLabel_Example.modulemap */, 153 | 9644D5A48F9C3A2963B993CE4E430425 /* Pods-NumericAnimatedLabel_Example-acknowledgements.markdown */, 154 | B4A30EADFDEC7BEFD6E333FD6EED6814 /* Pods-NumericAnimatedLabel_Example-acknowledgements.plist */, 155 | 845CF9F88157092C6D8E1815A76F465D /* Pods-NumericAnimatedLabel_Example-dummy.m */, 156 | 0A01E91ABE085FA829EB8689D6D00573 /* Pods-NumericAnimatedLabel_Example-frameworks.sh */, 157 | 4DA478E5E1ECCED99DAA644C25385284 /* Pods-NumericAnimatedLabel_Example-resources.sh */, 158 | 52CF7D4BF86C8FC8F1BC3B3874565B3D /* Pods-NumericAnimatedLabel_Example-umbrella.h */, 159 | ECA750A4DB8921C4390712D270F58E39 /* Pods-NumericAnimatedLabel_Example.debug.xcconfig */, 160 | 98645DCB019BC4621E39B625F47A3EAC /* Pods-NumericAnimatedLabel_Example.release.xcconfig */, 161 | ); 162 | name = "Pods-NumericAnimatedLabel_Example"; 163 | path = "Target Support Files/Pods-NumericAnimatedLabel_Example"; 164 | sourceTree = ""; 165 | }; 166 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 167 | isa = PBXGroup; 168 | children = ( 169 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 170 | ); 171 | name = Frameworks; 172 | sourceTree = ""; 173 | }; 174 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 175 | isa = PBXGroup; 176 | children = ( 177 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 178 | ); 179 | name = iOS; 180 | sourceTree = ""; 181 | }; 182 | DEF6722F7AB2A24C271EA3A0A56A185D /* Pods-NumericAnimatedLabel_Tests */ = { 183 | isa = PBXGroup; 184 | children = ( 185 | FDB864CCE2D44A02786046D1742FBC65 /* Info.plist */, 186 | 7B8CE9E93DE09668AFE2E4A55F4327A9 /* Pods-NumericAnimatedLabel_Tests.modulemap */, 187 | 11A3EA183BDD27D89DDA4D172386DA29 /* Pods-NumericAnimatedLabel_Tests-acknowledgements.markdown */, 188 | D44597507663BED51BF04F9B2A0E931D /* Pods-NumericAnimatedLabel_Tests-acknowledgements.plist */, 189 | 42D8FFF1ED018679DB8FD14BC9255F01 /* Pods-NumericAnimatedLabel_Tests-dummy.m */, 190 | E39F11E1F1CB2915708348F4CB18F314 /* Pods-NumericAnimatedLabel_Tests-frameworks.sh */, 191 | 01C1D3EFE38764C2EA1A6C348FFFF10A /* Pods-NumericAnimatedLabel_Tests-resources.sh */, 192 | 9C71585961CFA4EDED596897BE61827A /* Pods-NumericAnimatedLabel_Tests-umbrella.h */, 193 | DD6F6CE5000B8DC51206EA693C4C9080 /* Pods-NumericAnimatedLabel_Tests.debug.xcconfig */, 194 | 117D59CFE00E31F8A30DBC829C7B78CA /* Pods-NumericAnimatedLabel_Tests.release.xcconfig */, 195 | ); 196 | name = "Pods-NumericAnimatedLabel_Tests"; 197 | path = "Target Support Files/Pods-NumericAnimatedLabel_Tests"; 198 | sourceTree = ""; 199 | }; 200 | E6E33E9D1638200A0FDFA981957CA765 /* Targets Support Files */ = { 201 | isa = PBXGroup; 202 | children = ( 203 | BABEF3DF30AA338113BDFF4E60204B25 /* Pods-NumericAnimatedLabel_Example */, 204 | DEF6722F7AB2A24C271EA3A0A56A185D /* Pods-NumericAnimatedLabel_Tests */, 205 | ); 206 | name = "Targets Support Files"; 207 | sourceTree = ""; 208 | }; 209 | /* End PBXGroup section */ 210 | 211 | /* Begin PBXHeadersBuildPhase section */ 212 | 3B391E087712F3F796C66BE5F0643F33 /* Headers */ = { 213 | isa = PBXHeadersBuildPhase; 214 | buildActionMask = 2147483647; 215 | files = ( 216 | 8A1196C8D9C789DB73D6F1A760C0FE71 /* NumericAnimatedLabel-umbrella.h in Headers */, 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | }; 220 | 6A97EA0791D4A7A56E63E566B2842164 /* Headers */ = { 221 | isa = PBXHeadersBuildPhase; 222 | buildActionMask = 2147483647; 223 | files = ( 224 | 6EA209365E8264A4F4D089FD4FF05D7A /* Pods-NumericAnimatedLabel_Example-umbrella.h in Headers */, 225 | ); 226 | runOnlyForDeploymentPostprocessing = 0; 227 | }; 228 | D4161CBC70C189936EC19E12483E1C51 /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | 473E3A26B4CEDEAF882736796C36A0B1 /* Pods-NumericAnimatedLabel_Tests-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | /* End PBXHeadersBuildPhase section */ 237 | 238 | /* Begin PBXNativeTarget section */ 239 | 4DE7021209711C587FF01CEA6CA0989C /* Pods-NumericAnimatedLabel_Tests */ = { 240 | isa = PBXNativeTarget; 241 | buildConfigurationList = 1F881266DED58CD0BE26FA3F82C5130A /* Build configuration list for PBXNativeTarget "Pods-NumericAnimatedLabel_Tests" */; 242 | buildPhases = ( 243 | 04CEEA6A2B0312B633A2C079521864C0 /* Sources */, 244 | CEB6856B5133BE8751F64DFD12EBEC06 /* Frameworks */, 245 | D4161CBC70C189936EC19E12483E1C51 /* Headers */, 246 | ); 247 | buildRules = ( 248 | ); 249 | dependencies = ( 250 | ); 251 | name = "Pods-NumericAnimatedLabel_Tests"; 252 | productName = "Pods-NumericAnimatedLabel_Tests"; 253 | productReference = 000A6B191DA7548C37C994769A088C73 /* Pods_NumericAnimatedLabel_Tests.framework */; 254 | productType = "com.apple.product-type.framework"; 255 | }; 256 | 787D811A265CA0F90CFD0B3E3DB1983B /* Pods-NumericAnimatedLabel_Example */ = { 257 | isa = PBXNativeTarget; 258 | buildConfigurationList = 94E60D1AA64E3A2BA311EF1A325C6F3E /* Build configuration list for PBXNativeTarget "Pods-NumericAnimatedLabel_Example" */; 259 | buildPhases = ( 260 | 19868FD024DA98FAEDF2D875C8871224 /* Sources */, 261 | 5E72F0E3974503CCF06761E463D397D0 /* Frameworks */, 262 | 6A97EA0791D4A7A56E63E566B2842164 /* Headers */, 263 | ); 264 | buildRules = ( 265 | ); 266 | dependencies = ( 267 | 34B9465EFF765AEE23E9E9A573A3A1BC /* PBXTargetDependency */, 268 | ); 269 | name = "Pods-NumericAnimatedLabel_Example"; 270 | productName = "Pods-NumericAnimatedLabel_Example"; 271 | productReference = 88CA7DB4F02BABF893FDA7FF393389D7 /* Pods_NumericAnimatedLabel_Example.framework */; 272 | productType = "com.apple.product-type.framework"; 273 | }; 274 | 8BFFF3D5528A91E4FA6D03F4170B0613 /* NumericAnimatedLabel */ = { 275 | isa = PBXNativeTarget; 276 | buildConfigurationList = 7A7F4DD7430B465526D3DDEF7DD8A9D4 /* Build configuration list for PBXNativeTarget "NumericAnimatedLabel" */; 277 | buildPhases = ( 278 | F561FB4FEADB0A37A4F43B93E3AD1D51 /* Sources */, 279 | 82405B4A6CD12B6CBA784FAD3972A59C /* Frameworks */, 280 | 3B391E087712F3F796C66BE5F0643F33 /* Headers */, 281 | ); 282 | buildRules = ( 283 | ); 284 | dependencies = ( 285 | ); 286 | name = NumericAnimatedLabel; 287 | productName = NumericAnimatedLabel; 288 | productReference = 33E0FB5CEEF3F3026B3FE1CAB331B013 /* NumericAnimatedLabel.framework */; 289 | productType = "com.apple.product-type.framework"; 290 | }; 291 | /* End PBXNativeTarget section */ 292 | 293 | /* Begin PBXProject section */ 294 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 295 | isa = PBXProject; 296 | attributes = { 297 | LastSwiftUpdateCheck = 0830; 298 | LastUpgradeCheck = 0700; 299 | }; 300 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 301 | compatibilityVersion = "Xcode 3.2"; 302 | developmentRegion = English; 303 | hasScannedForEncodings = 0; 304 | knownRegions = ( 305 | en, 306 | ); 307 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 308 | productRefGroup = B3084958F794CD959582E51D4CD4BC2A /* Products */; 309 | projectDirPath = ""; 310 | projectRoot = ""; 311 | targets = ( 312 | 8BFFF3D5528A91E4FA6D03F4170B0613 /* NumericAnimatedLabel */, 313 | 787D811A265CA0F90CFD0B3E3DB1983B /* Pods-NumericAnimatedLabel_Example */, 314 | 4DE7021209711C587FF01CEA6CA0989C /* Pods-NumericAnimatedLabel_Tests */, 315 | ); 316 | }; 317 | /* End PBXProject section */ 318 | 319 | /* Begin PBXSourcesBuildPhase section */ 320 | 04CEEA6A2B0312B633A2C079521864C0 /* Sources */ = { 321 | isa = PBXSourcesBuildPhase; 322 | buildActionMask = 2147483647; 323 | files = ( 324 | 11A6313698596ECF648A4068EB33B190 /* Pods-NumericAnimatedLabel_Tests-dummy.m in Sources */, 325 | ); 326 | runOnlyForDeploymentPostprocessing = 0; 327 | }; 328 | 19868FD024DA98FAEDF2D875C8871224 /* Sources */ = { 329 | isa = PBXSourcesBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | 3E806FC78BA50B5EBA188EED7ACDD94C /* Pods-NumericAnimatedLabel_Example-dummy.m in Sources */, 333 | ); 334 | runOnlyForDeploymentPostprocessing = 0; 335 | }; 336 | F561FB4FEADB0A37A4F43B93E3AD1D51 /* Sources */ = { 337 | isa = PBXSourcesBuildPhase; 338 | buildActionMask = 2147483647; 339 | files = ( 340 | ECB7B6EDCD7A433FC8E51E31A48FC968 /* NumericAnimatedLabel-dummy.m in Sources */, 341 | FD96C84799532AFEE24A883E2B618647 /* NumericAnimatedLabel.swift in Sources */, 342 | ); 343 | runOnlyForDeploymentPostprocessing = 0; 344 | }; 345 | /* End PBXSourcesBuildPhase section */ 346 | 347 | /* Begin PBXTargetDependency section */ 348 | 34B9465EFF765AEE23E9E9A573A3A1BC /* PBXTargetDependency */ = { 349 | isa = PBXTargetDependency; 350 | name = NumericAnimatedLabel; 351 | target = 8BFFF3D5528A91E4FA6D03F4170B0613 /* NumericAnimatedLabel */; 352 | targetProxy = 5210B86654C6DB51EDA97F7D946AFD8B /* PBXContainerItemProxy */; 353 | }; 354 | /* End PBXTargetDependency section */ 355 | 356 | /* Begin XCBuildConfiguration section */ 357 | 0C3D62EFF60E49071870DC9175AF9EF1 /* Debug */ = { 358 | isa = XCBuildConfiguration; 359 | baseConfigurationReference = DD6F6CE5000B8DC51206EA693C4C9080 /* Pods-NumericAnimatedLabel_Tests.debug.xcconfig */; 360 | buildSettings = { 361 | CODE_SIGN_IDENTITY = ""; 362 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 363 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 364 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 365 | CURRENT_PROJECT_VERSION = 1; 366 | DEBUG_INFORMATION_FORMAT = dwarf; 367 | DEFINES_MODULE = YES; 368 | DYLIB_COMPATIBILITY_VERSION = 1; 369 | DYLIB_CURRENT_VERSION = 1; 370 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 371 | ENABLE_STRICT_OBJC_MSGSEND = YES; 372 | GCC_NO_COMMON_BLOCKS = YES; 373 | INFOPLIST_FILE = "Target Support Files/Pods-NumericAnimatedLabel_Tests/Info.plist"; 374 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 375 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 376 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 377 | MACH_O_TYPE = staticlib; 378 | MODULEMAP_FILE = "Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests.modulemap"; 379 | MTL_ENABLE_DEBUG_INFO = YES; 380 | OTHER_LDFLAGS = ""; 381 | OTHER_LIBTOOLFLAGS = ""; 382 | PODS_ROOT = "$(SRCROOT)"; 383 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 384 | PRODUCT_NAME = Pods_NumericAnimatedLabel_Tests; 385 | SDKROOT = iphoneos; 386 | SKIP_INSTALL = YES; 387 | TARGETED_DEVICE_FAMILY = "1,2"; 388 | VERSIONING_SYSTEM = "apple-generic"; 389 | VERSION_INFO_PREFIX = ""; 390 | }; 391 | name = Debug; 392 | }; 393 | 17321AA498B5BFC13D66A65E9F72E664 /* Release */ = { 394 | isa = XCBuildConfiguration; 395 | baseConfigurationReference = 117D59CFE00E31F8A30DBC829C7B78CA /* Pods-NumericAnimatedLabel_Tests.release.xcconfig */; 396 | buildSettings = { 397 | CODE_SIGN_IDENTITY = ""; 398 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 399 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 400 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 401 | CURRENT_PROJECT_VERSION = 1; 402 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 403 | DEFINES_MODULE = YES; 404 | DYLIB_COMPATIBILITY_VERSION = 1; 405 | DYLIB_CURRENT_VERSION = 1; 406 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 407 | ENABLE_STRICT_OBJC_MSGSEND = YES; 408 | GCC_NO_COMMON_BLOCKS = YES; 409 | INFOPLIST_FILE = "Target Support Files/Pods-NumericAnimatedLabel_Tests/Info.plist"; 410 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 411 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 412 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 413 | MACH_O_TYPE = staticlib; 414 | MODULEMAP_FILE = "Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests.modulemap"; 415 | MTL_ENABLE_DEBUG_INFO = NO; 416 | OTHER_LDFLAGS = ""; 417 | OTHER_LIBTOOLFLAGS = ""; 418 | PODS_ROOT = "$(SRCROOT)"; 419 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 420 | PRODUCT_NAME = Pods_NumericAnimatedLabel_Tests; 421 | SDKROOT = iphoneos; 422 | SKIP_INSTALL = YES; 423 | TARGETED_DEVICE_FAMILY = "1,2"; 424 | VERSIONING_SYSTEM = "apple-generic"; 425 | VERSION_INFO_PREFIX = ""; 426 | }; 427 | name = Release; 428 | }; 429 | 267790238AA47FECD897896EBEC5D469 /* Debug */ = { 430 | isa = XCBuildConfiguration; 431 | baseConfigurationReference = 834B64DD79829A62BD66151D3D9A3469 /* NumericAnimatedLabel.xcconfig */; 432 | buildSettings = { 433 | CODE_SIGN_IDENTITY = ""; 434 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 435 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 436 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 437 | CURRENT_PROJECT_VERSION = 1; 438 | DEBUG_INFORMATION_FORMAT = dwarf; 439 | DEFINES_MODULE = YES; 440 | DYLIB_COMPATIBILITY_VERSION = 1; 441 | DYLIB_CURRENT_VERSION = 1; 442 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 443 | ENABLE_STRICT_OBJC_MSGSEND = YES; 444 | GCC_NO_COMMON_BLOCKS = YES; 445 | GCC_PREFIX_HEADER = "Target Support Files/NumericAnimatedLabel/NumericAnimatedLabel-prefix.pch"; 446 | INFOPLIST_FILE = "Target Support Files/NumericAnimatedLabel/Info.plist"; 447 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 448 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 449 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 450 | MODULEMAP_FILE = "Target Support Files/NumericAnimatedLabel/NumericAnimatedLabel.modulemap"; 451 | MTL_ENABLE_DEBUG_INFO = YES; 452 | PRODUCT_NAME = NumericAnimatedLabel; 453 | SDKROOT = iphoneos; 454 | SKIP_INSTALL = YES; 455 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 456 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 457 | SWIFT_VERSION = 3.0; 458 | TARGETED_DEVICE_FAMILY = "1,2"; 459 | VERSIONING_SYSTEM = "apple-generic"; 460 | VERSION_INFO_PREFIX = ""; 461 | }; 462 | name = Debug; 463 | }; 464 | 4E487F173E6C9664F4E9E26B9635D23C /* Debug */ = { 465 | isa = XCBuildConfiguration; 466 | buildSettings = { 467 | ALWAYS_SEARCH_USER_PATHS = NO; 468 | CLANG_ANALYZER_NONNULL = YES; 469 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 470 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 471 | CLANG_CXX_LIBRARY = "libc++"; 472 | CLANG_ENABLE_MODULES = YES; 473 | CLANG_ENABLE_OBJC_ARC = YES; 474 | CLANG_WARN_BOOL_CONVERSION = YES; 475 | CLANG_WARN_CONSTANT_CONVERSION = YES; 476 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 477 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 478 | CLANG_WARN_EMPTY_BODY = YES; 479 | CLANG_WARN_ENUM_CONVERSION = YES; 480 | CLANG_WARN_INFINITE_RECURSION = YES; 481 | CLANG_WARN_INT_CONVERSION = YES; 482 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 483 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 484 | CLANG_WARN_UNREACHABLE_CODE = YES; 485 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 486 | CODE_SIGNING_REQUIRED = NO; 487 | COPY_PHASE_STRIP = NO; 488 | ENABLE_TESTABILITY = YES; 489 | GCC_C_LANGUAGE_STANDARD = gnu99; 490 | GCC_DYNAMIC_NO_PIC = NO; 491 | GCC_OPTIMIZATION_LEVEL = 0; 492 | GCC_PREPROCESSOR_DEFINITIONS = ( 493 | "POD_CONFIGURATION_DEBUG=1", 494 | "DEBUG=1", 495 | "$(inherited)", 496 | ); 497 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 498 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 499 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 500 | GCC_WARN_UNDECLARED_SELECTOR = YES; 501 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 502 | GCC_WARN_UNUSED_FUNCTION = YES; 503 | GCC_WARN_UNUSED_VARIABLE = YES; 504 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 505 | ONLY_ACTIVE_ARCH = YES; 506 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 507 | STRIP_INSTALLED_PRODUCT = NO; 508 | SYMROOT = "${SRCROOT}/../build"; 509 | }; 510 | name = Debug; 511 | }; 512 | 907FF03FB6B23E4C7DED7CF15D0783FC /* Release */ = { 513 | isa = XCBuildConfiguration; 514 | baseConfigurationReference = 834B64DD79829A62BD66151D3D9A3469 /* NumericAnimatedLabel.xcconfig */; 515 | buildSettings = { 516 | CODE_SIGN_IDENTITY = ""; 517 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 518 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 519 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 520 | CURRENT_PROJECT_VERSION = 1; 521 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 522 | DEFINES_MODULE = YES; 523 | DYLIB_COMPATIBILITY_VERSION = 1; 524 | DYLIB_CURRENT_VERSION = 1; 525 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 526 | ENABLE_STRICT_OBJC_MSGSEND = YES; 527 | GCC_NO_COMMON_BLOCKS = YES; 528 | GCC_PREFIX_HEADER = "Target Support Files/NumericAnimatedLabel/NumericAnimatedLabel-prefix.pch"; 529 | INFOPLIST_FILE = "Target Support Files/NumericAnimatedLabel/Info.plist"; 530 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 531 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 532 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 533 | MODULEMAP_FILE = "Target Support Files/NumericAnimatedLabel/NumericAnimatedLabel.modulemap"; 534 | MTL_ENABLE_DEBUG_INFO = NO; 535 | PRODUCT_NAME = NumericAnimatedLabel; 536 | SDKROOT = iphoneos; 537 | SKIP_INSTALL = YES; 538 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 539 | SWIFT_VERSION = 3.0; 540 | TARGETED_DEVICE_FAMILY = "1,2"; 541 | VERSIONING_SYSTEM = "apple-generic"; 542 | VERSION_INFO_PREFIX = ""; 543 | }; 544 | name = Release; 545 | }; 546 | BDD0139D6EB93FA375F887ABD62DAB2E /* Release */ = { 547 | isa = XCBuildConfiguration; 548 | buildSettings = { 549 | ALWAYS_SEARCH_USER_PATHS = NO; 550 | CLANG_ANALYZER_NONNULL = YES; 551 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 552 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 553 | CLANG_CXX_LIBRARY = "libc++"; 554 | CLANG_ENABLE_MODULES = YES; 555 | CLANG_ENABLE_OBJC_ARC = YES; 556 | CLANG_WARN_BOOL_CONVERSION = YES; 557 | CLANG_WARN_CONSTANT_CONVERSION = YES; 558 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 559 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 560 | CLANG_WARN_EMPTY_BODY = YES; 561 | CLANG_WARN_ENUM_CONVERSION = YES; 562 | CLANG_WARN_INFINITE_RECURSION = YES; 563 | CLANG_WARN_INT_CONVERSION = YES; 564 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 565 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 566 | CLANG_WARN_UNREACHABLE_CODE = YES; 567 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 568 | CODE_SIGNING_REQUIRED = NO; 569 | COPY_PHASE_STRIP = YES; 570 | ENABLE_NS_ASSERTIONS = NO; 571 | GCC_C_LANGUAGE_STANDARD = gnu99; 572 | GCC_PREPROCESSOR_DEFINITIONS = ( 573 | "POD_CONFIGURATION_RELEASE=1", 574 | "$(inherited)", 575 | ); 576 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 577 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 578 | GCC_WARN_UNDECLARED_SELECTOR = YES; 579 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 580 | GCC_WARN_UNUSED_FUNCTION = YES; 581 | GCC_WARN_UNUSED_VARIABLE = YES; 582 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 583 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 584 | STRIP_INSTALLED_PRODUCT = NO; 585 | SYMROOT = "${SRCROOT}/../build"; 586 | VALIDATE_PRODUCT = YES; 587 | }; 588 | name = Release; 589 | }; 590 | DD2F36B6AD06481299F2F26B92F32EBE /* Debug */ = { 591 | isa = XCBuildConfiguration; 592 | baseConfigurationReference = ECA750A4DB8921C4390712D270F58E39 /* Pods-NumericAnimatedLabel_Example.debug.xcconfig */; 593 | buildSettings = { 594 | CODE_SIGN_IDENTITY = ""; 595 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 596 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 597 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 598 | CURRENT_PROJECT_VERSION = 1; 599 | DEBUG_INFORMATION_FORMAT = dwarf; 600 | DEFINES_MODULE = YES; 601 | DYLIB_COMPATIBILITY_VERSION = 1; 602 | DYLIB_CURRENT_VERSION = 1; 603 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 604 | ENABLE_STRICT_OBJC_MSGSEND = YES; 605 | GCC_NO_COMMON_BLOCKS = YES; 606 | INFOPLIST_FILE = "Target Support Files/Pods-NumericAnimatedLabel_Example/Info.plist"; 607 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 608 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 609 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 610 | MACH_O_TYPE = staticlib; 611 | MODULEMAP_FILE = "Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example.modulemap"; 612 | MTL_ENABLE_DEBUG_INFO = YES; 613 | OTHER_LDFLAGS = ""; 614 | OTHER_LIBTOOLFLAGS = ""; 615 | PODS_ROOT = "$(SRCROOT)"; 616 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 617 | PRODUCT_NAME = Pods_NumericAnimatedLabel_Example; 618 | SDKROOT = iphoneos; 619 | SKIP_INSTALL = YES; 620 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 621 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 622 | SWIFT_VERSION = 3.0; 623 | TARGETED_DEVICE_FAMILY = "1,2"; 624 | VERSIONING_SYSTEM = "apple-generic"; 625 | VERSION_INFO_PREFIX = ""; 626 | }; 627 | name = Debug; 628 | }; 629 | E6FCF39E43371712EA60CBD255A0020E /* Release */ = { 630 | isa = XCBuildConfiguration; 631 | baseConfigurationReference = 98645DCB019BC4621E39B625F47A3EAC /* Pods-NumericAnimatedLabel_Example.release.xcconfig */; 632 | buildSettings = { 633 | CODE_SIGN_IDENTITY = ""; 634 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 635 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 636 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 637 | CURRENT_PROJECT_VERSION = 1; 638 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 639 | DEFINES_MODULE = YES; 640 | DYLIB_COMPATIBILITY_VERSION = 1; 641 | DYLIB_CURRENT_VERSION = 1; 642 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 643 | ENABLE_STRICT_OBJC_MSGSEND = YES; 644 | GCC_NO_COMMON_BLOCKS = YES; 645 | INFOPLIST_FILE = "Target Support Files/Pods-NumericAnimatedLabel_Example/Info.plist"; 646 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 647 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 648 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 649 | MACH_O_TYPE = staticlib; 650 | MODULEMAP_FILE = "Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example.modulemap"; 651 | MTL_ENABLE_DEBUG_INFO = NO; 652 | OTHER_LDFLAGS = ""; 653 | OTHER_LIBTOOLFLAGS = ""; 654 | PODS_ROOT = "$(SRCROOT)"; 655 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 656 | PRODUCT_NAME = Pods_NumericAnimatedLabel_Example; 657 | SDKROOT = iphoneos; 658 | SKIP_INSTALL = YES; 659 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 660 | SWIFT_VERSION = 3.0; 661 | TARGETED_DEVICE_FAMILY = "1,2"; 662 | VERSIONING_SYSTEM = "apple-generic"; 663 | VERSION_INFO_PREFIX = ""; 664 | }; 665 | name = Release; 666 | }; 667 | /* End XCBuildConfiguration section */ 668 | 669 | /* Begin XCConfigurationList section */ 670 | 1F881266DED58CD0BE26FA3F82C5130A /* Build configuration list for PBXNativeTarget "Pods-NumericAnimatedLabel_Tests" */ = { 671 | isa = XCConfigurationList; 672 | buildConfigurations = ( 673 | 0C3D62EFF60E49071870DC9175AF9EF1 /* Debug */, 674 | 17321AA498B5BFC13D66A65E9F72E664 /* Release */, 675 | ); 676 | defaultConfigurationIsVisible = 0; 677 | defaultConfigurationName = Release; 678 | }; 679 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 680 | isa = XCConfigurationList; 681 | buildConfigurations = ( 682 | 4E487F173E6C9664F4E9E26B9635D23C /* Debug */, 683 | BDD0139D6EB93FA375F887ABD62DAB2E /* Release */, 684 | ); 685 | defaultConfigurationIsVisible = 0; 686 | defaultConfigurationName = Release; 687 | }; 688 | 7A7F4DD7430B465526D3DDEF7DD8A9D4 /* Build configuration list for PBXNativeTarget "NumericAnimatedLabel" */ = { 689 | isa = XCConfigurationList; 690 | buildConfigurations = ( 691 | 267790238AA47FECD897896EBEC5D469 /* Debug */, 692 | 907FF03FB6B23E4C7DED7CF15D0783FC /* Release */, 693 | ); 694 | defaultConfigurationIsVisible = 0; 695 | defaultConfigurationName = Release; 696 | }; 697 | 94E60D1AA64E3A2BA311EF1A325C6F3E /* Build configuration list for PBXNativeTarget "Pods-NumericAnimatedLabel_Example" */ = { 698 | isa = XCConfigurationList; 699 | buildConfigurations = ( 700 | DD2F36B6AD06481299F2F26B92F32EBE /* Debug */, 701 | E6FCF39E43371712EA60CBD255A0020E /* Release */, 702 | ); 703 | defaultConfigurationIsVisible = 0; 704 | defaultConfigurationName = Release; 705 | }; 706 | /* End XCConfigurationList section */ 707 | }; 708 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 709 | } 710 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NumericAnimatedLabel/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.2 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NumericAnimatedLabel/NumericAnimatedLabel-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_NumericAnimatedLabel : NSObject 3 | @end 4 | @implementation PodsDummy_NumericAnimatedLabel 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NumericAnimatedLabel/NumericAnimatedLabel-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/NumericAnimatedLabel/NumericAnimatedLabel-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 NumericAnimatedLabelVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char NumericAnimatedLabelVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NumericAnimatedLabel/NumericAnimatedLabel.modulemap: -------------------------------------------------------------------------------- 1 | framework module NumericAnimatedLabel { 2 | umbrella header "NumericAnimatedLabel-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/NumericAnimatedLabel/NumericAnimatedLabel.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/NumericAnimatedLabel 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/NumericAnimatedLabel 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_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-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## NumericAnimatedLabel 5 | 6 | Copyright (c) 2017 javalnanda 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-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 javalnanda <javalnanda@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 | NumericAnimatedLabel 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-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_NumericAnimatedLabel_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_NumericAnimatedLabel_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/NumericAnimatedLabel/NumericAnimatedLabel.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/NumericAnimatedLabel/NumericAnimatedLabel.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_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_NumericAnimatedLabel_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_NumericAnimatedLabel_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/NumericAnimatedLabel" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/NumericAnimatedLabel/NumericAnimatedLabel.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "NumericAnimatedLabel" 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-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_NumericAnimatedLabel_Example { 2 | umbrella header "Pods-NumericAnimatedLabel_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Example/Pods-NumericAnimatedLabel_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/NumericAnimatedLabel" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/NumericAnimatedLabel/NumericAnimatedLabel.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "NumericAnimatedLabel" 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-NumericAnimatedLabel_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-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_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-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_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-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_NumericAnimatedLabel_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_NumericAnimatedLabel_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_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_NumericAnimatedLabel_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_NumericAnimatedLabel_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/NumericAnimatedLabel" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/NumericAnimatedLabel/NumericAnimatedLabel.framework/Headers" 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-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_NumericAnimatedLabel_Tests { 2 | umbrella header "Pods-NumericAnimatedLabel_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-NumericAnimatedLabel_Tests/Pods-NumericAnimatedLabel_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/NumericAnimatedLabel" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/NumericAnimatedLabel/NumericAnimatedLabel.framework/Headers" 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/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import NumericAnimatedLabel 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 javalnanda 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 | -------------------------------------------------------------------------------- /NumericAnimatedLabel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javalnanda/NumericAnimatedLabel/fe81de39e6b8cd1d420aa6b0fc36f2732ae75cc0/NumericAnimatedLabel.gif -------------------------------------------------------------------------------- /NumericAnimatedLabel.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint NumericAnimatedLabel.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 http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'NumericAnimatedLabel' 11 | s.version = '0.1.2' 12 | s.summary = 'Animate your label value while updating to new value. For e.g while setting currency amount for your wallet application.' 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 = <<-DESC 21 | NumericAnimatedLabel provides a way to show step incremental animation for setting numeric value on label. This can be used in scenario for showing currency value and other similar usecases. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/javalnanda/NumericAnimatedLabel' 25 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'javalnanda' => 'javalnanda@gmail.com' } 28 | s.source = { :git => 'https://github.com/javalnanda/NumericAnimatedLabel.git', :tag => s.version.to_s } 29 | s.social_media_url = 'https://twitter.com/javalnanda' 30 | 31 | s.ios.deployment_target = '9.0' 32 | 33 | s.source_files = 'NumericAnimatedLabel/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'NumericAnimatedLabel' => ['NumericAnimatedLabel/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit' 41 | end 42 | -------------------------------------------------------------------------------- /NumericAnimatedLabel/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javalnanda/NumericAnimatedLabel/fe81de39e6b8cd1d420aa6b0fc36f2732ae75cc0/NumericAnimatedLabel/Assets/.gitkeep -------------------------------------------------------------------------------- /NumericAnimatedLabel/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/javalnanda/NumericAnimatedLabel/fe81de39e6b8cd1d420aa6b0fc36f2732ae75cc0/NumericAnimatedLabel/Classes/.gitkeep -------------------------------------------------------------------------------- /NumericAnimatedLabel/Classes/NumericAnimatedLabel.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NumericAnimatedLabel.swift 3 | // Pods 4 | // 5 | // Created by Javal Nanda on 5/25/17. 6 | // 7 | // 8 | 9 | import UIKit 10 | 11 | public class NumericAnimatedLabel: UIView { 12 | /* 13 | // Only override draw() if you perform custom drawing. 14 | // An empty implementation adversely affects performance during animation. 15 | override func draw(_ rect: CGRect) { 16 | // Drawing code 17 | } 18 | */ 19 | 20 | var animationTimer: Timer? 21 | var targetValue: Double = 0.0 22 | var currentValue: Double = 0.0 23 | var stepSize: Double = 0.0 24 | 25 | var label: UILabel! 26 | open var textFont: UIFont = UIFont.systemFont(ofSize: 16.0) 27 | open var textAlignment: NSTextAlignment = NSTextAlignment.center { 28 | didSet { 29 | label.textAlignment = textAlignment 30 | } 31 | } 32 | 33 | @IBInspectable open var labelTextColor: UIColor = UIColor.black { 34 | didSet { 35 | label.textColor = labelTextColor 36 | } 37 | } 38 | 39 | open var formatString: String = "%.2f" 40 | 41 | public override init(frame: CGRect) { 42 | super.init(frame: frame) 43 | updateView() 44 | } 45 | 46 | public required init?(coder aDecoder: NSCoder) { 47 | super.init(coder: aDecoder) 48 | updateView() 49 | } 50 | 51 | override public func layoutSubviews() { 52 | super.layoutSubviews() 53 | 54 | label.textColor = labelTextColor 55 | label.textAlignment = textAlignment 56 | label.font = textFont 57 | label.translatesAutoresizingMaskIntoConstraints = false 58 | self.addConstraint(label, toView: self, attribute: .top, constant: 0.0) 59 | self.addConstraint(label, toView: self, attribute: .leading, constant: 0.0) 60 | self.addConstraint(label, toView: self, attribute: .bottom, constant: 0.0) 61 | self.addConstraint(label, toView: self, attribute: .trailing, constant: 0.0) 62 | 63 | } 64 | 65 | func addConstraint(_ newView: UIView, toView: UIView, attribute: NSLayoutAttribute, constant: CGFloat) { 66 | let constraint = NSLayoutConstraint(item: newView, attribute: attribute, relatedBy: .equal, toItem: toView, attribute: attribute, multiplier: 1.0, constant: constant) 67 | toView.addConstraint(constraint) 68 | } 69 | 70 | func updateView() { 71 | self.clipsToBounds = true 72 | label = UILabel(frame: self.frame) 73 | self.addSubview(label) 74 | } 75 | 76 | public func setValue(value: Double) { 77 | if animationTimer != nil { 78 | animationTimer?.invalidate() 79 | } 80 | 81 | targetValue = value 82 | stepSize = (targetValue - currentValue) / 20.0 83 | 84 | animationTimer = Timer.scheduledTimer(timeInterval: (1/40.0), target: self, selector: #selector(onAnimationTimer), userInfo: nil, repeats: true) 85 | 86 | } 87 | 88 | func onAnimationTimer() { 89 | currentValue += stepSize 90 | updateCurrentValue(value: currentValue) 91 | if stepSize < 0 { 92 | if currentValue < targetValue { 93 | //done decreasing 94 | currentValue = targetValue 95 | updateCurrentValue(value: targetValue) 96 | if (animationTimer) != nil { 97 | animationTimer?.invalidate() 98 | animationTimer = nil 99 | } 100 | } 101 | } else { 102 | if currentValue > targetValue { 103 | //done increasing 104 | currentValue = targetValue 105 | updateCurrentValue(value: targetValue) 106 | if (animationTimer) != nil { 107 | animationTimer?.invalidate() 108 | animationTimer = nil 109 | } 110 | } 111 | } 112 | } 113 | 114 | func updateCurrentValue(value: Double) { 115 | self.label.text = String(format: self.formatString, value) 116 | } 117 | 118 | } 119 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NumericAnimatedLabel 2 | 3 | [![CI Status](http://img.shields.io/travis/javalnanda/NumericAnimatedLabel.svg?style=flat)](https://travis-ci.org/javalnanda/NumericAnimatedLabel) 4 | [![Version](https://img.shields.io/cocoapods/v/NumericAnimatedLabel.svg?style=flat)](http://cocoapods.org/pods/NumericAnimatedLabel) 5 | [![License](https://img.shields.io/cocoapods/l/NumericAnimatedLabel.svg?style=flat)](http://cocoapods.org/pods/NumericAnimatedLabel) 6 | [![Platform](https://img.shields.io/cocoapods/p/NumericAnimatedLabel.svg?style=flat)](http://cocoapods.org/pods/NumericAnimatedLabel) 7 | [![Twitter: @javalnanda](https://img.shields.io/badge/contact-@javalnanda-blue.svg?style=flat)](https://twitter.com/javalnanda) 8 | 9 | ![image](https://github.com/javalnanda/NumericAnimatedLabel/blob/master/NumericAnimatedLabel.gif) 10 | 11 | ## Example 12 | 13 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 14 | 15 | ## Requirements 16 | 17 | ## Installation 18 | 19 | NumericAnimatedLabel is available through [CocoaPods](http://cocoapods.org). To install 20 | it, simply add the following line to your Podfile: 21 | 22 | ```ruby 23 | pod "NumericAnimatedLabel" 24 | ``` 25 | 26 | ## Setup 27 | The only thing you need to do is import `NumericAnimatedLabel`, add a UIView to storyboard and create an outlet of it. 28 | ```swift 29 | import NumericAnimatedLabel 30 | ``` 31 | ```swift 32 | @IBOutlet weak var numericLabel: NumericAnimatedLabel! 33 | ``` 34 | 35 | ```swift 36 | override func viewDidLoad() { 37 | super.viewDidLoad() 38 | // Set Value 39 | numericLabel.setValue(v: walletBalance) 40 | 41 | // Customize if required 42 | numericLabel.textAlignment = .center 43 | numericLabel.formatString = "%.2f" 44 | numericLabel.textFont = UIFont.boldSystemFont(ofSize: 20.0) 45 | // Text color can be changed from storyboard inspector or programmatically also. 46 | } 47 | ``` 48 | ## Suggestions or feedback? 49 | 50 | Feel free to create a pull request, open an issue or find me [on Twitter](https://twitter.com/javalnanda). 51 | 52 | ## Author 53 | 54 | javalnanda, javalnanda@gmail.com 55 | 56 | ## License 57 | 58 | NumericAnimatedLabel is available under the MIT license. See the LICENSE file for more info. 59 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------