├── .gitignore ├── .swift-version ├── .travis.yml ├── CHANGELOG.md ├── DigitInputView.podspec ├── DigitInputView ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ └── DigitInputView.swift ├── Example ├── DigitInputView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── DigitInputView-Example.xcscheme ├── DigitInputView.xcworkspace │ └── contents.xcworkspacedata ├── DigitInputView │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ └── ViewController.swift ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── DigitInputView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── DigitInputView │ │ ├── DigitInputView-dummy.m │ │ ├── DigitInputView-prefix.pch │ │ ├── DigitInputView-umbrella.h │ │ ├── DigitInputView.modulemap │ │ ├── DigitInputView.xcconfig │ │ └── Info.plist │ │ ├── Pods-DigitInputView_Example │ │ ├── Info.plist │ │ ├── Pods-DigitInputView_Example-acknowledgements.markdown │ │ ├── Pods-DigitInputView_Example-acknowledgements.plist │ │ ├── Pods-DigitInputView_Example-dummy.m │ │ ├── Pods-DigitInputView_Example-frameworks.sh │ │ ├── Pods-DigitInputView_Example-resources.sh │ │ ├── Pods-DigitInputView_Example-umbrella.h │ │ ├── Pods-DigitInputView_Example.debug.xcconfig │ │ ├── Pods-DigitInputView_Example.modulemap │ │ └── Pods-DigitInputView_Example.release.xcconfig │ │ └── Pods-DigitInputView_Tests │ │ ├── Info.plist │ │ ├── Pods-DigitInputView_Tests-acknowledgements.markdown │ │ ├── Pods-DigitInputView_Tests-acknowledgements.plist │ │ ├── Pods-DigitInputView_Tests-dummy.m │ │ ├── Pods-DigitInputView_Tests-frameworks.sh │ │ ├── Pods-DigitInputView_Tests-resources.sh │ │ ├── Pods-DigitInputView_Tests-umbrella.h │ │ ├── Pods-DigitInputView_Tests.debug.xcconfig │ │ ├── Pods-DigitInputView_Tests.modulemap │ │ └── Pods-DigitInputView_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── LICENSE ├── 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 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -workspace Example/DigitInputView.xcworkspace -scheme DigitInputView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## [1.1.0](https://github.com/mnvoh/DigitInputView/tree/1.1.0) - 2017-10-04 4 | 5 | * Added more animation options 6 | 7 | ## [1.0.0](https://github.com/mnvoh/DigitInputView/tree/1.0.0) - 2017-10-03 8 | 9 | * Added feature to distinguish between the digit to be filled and other digits using the color of its bottom border. 10 | * Added animation for digit change -------------------------------------------------------------------------------- /DigitInputView.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'DigitInputView' 3 | s.version = '1.1.1' 4 | s.summary = 'Character input field with separated underline.' 5 | 6 | s.description = <<-DESC 7 | This component will let you propmpt for a limited number of characters in 8 | an elegant way, ex: Confirmation code input. 9 | DESC 10 | 11 | s.homepage = 'https://github.com/mnvoh/DigitInputView' 12 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 13 | s.license = { :type => 'MIT', :file => 'LICENSE' } 14 | s.author = { 'mnvoh' => 'mnvoh90@gmail.com' } 15 | s.source = { :git => 'https://github.com/mnvoh/DigitInputView.git', :tag => s.version.to_s } 16 | s.social_media_url = 'https://twitter.com/mnvoh' 17 | 18 | s.ios.deployment_target = '9.0' 19 | 20 | s.source_files = 'DigitInputView/Classes/**/*' 21 | end 22 | -------------------------------------------------------------------------------- /DigitInputView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnvoh/DigitInputView/0bb3bb6cd9396dc5338f2ee06179a5319559d951/DigitInputView/Assets/.gitkeep -------------------------------------------------------------------------------- /DigitInputView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnvoh/DigitInputView/0bb3bb6cd9396dc5338f2ee06179a5319559d951/DigitInputView/Classes/.gitkeep -------------------------------------------------------------------------------- /DigitInputView/Classes/DigitInputView.swift: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2017 Milad Nozari 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 20 | SOFTWARE. 21 | */ 22 | 23 | import UIKit 24 | 25 | public enum DigitInputViewAnimationType: Int { 26 | case none, dissolve, spring 27 | } 28 | 29 | public protocol DigitInputViewDelegate: class { 30 | func digitsDidChange(digitInputView: DigitInputView) 31 | func digitsDidFinish(digitInputView: DigitInputView) 32 | } 33 | 34 | open class DigitInputView: UIView { 35 | 36 | /** 37 | The number of digits to show, which will be the maximum length of the final string 38 | */ 39 | open var numberOfDigits: Int = 4 { 40 | 41 | didSet { 42 | setup() 43 | } 44 | 45 | } 46 | 47 | /** 48 | The color of the line under each digit 49 | */ 50 | open var bottomBorderColor = UIColor.lightGray { 51 | 52 | didSet { 53 | setup() 54 | } 55 | 56 | } 57 | 58 | /** 59 | The color of the line under next digit 60 | */ 61 | open var nextDigitBottomBorderColor = UIColor.gray { 62 | 63 | didSet { 64 | setup() 65 | } 66 | 67 | } 68 | 69 | /** 70 | The color of the digits 71 | */ 72 | open var textColor: UIColor = .black { 73 | 74 | didSet { 75 | setup() 76 | } 77 | 78 | } 79 | 80 | /** 81 | If not nil, only the characters in this string are acceptable. The rest will be ignored. 82 | */ 83 | open var acceptableCharacters: String? = nil 84 | 85 | /** 86 | The keyboard type that shows up when entering characters 87 | */ 88 | open var keyboardType: UIKeyboardType = .default { 89 | 90 | didSet { 91 | setup() 92 | } 93 | 94 | } 95 | 96 | /** 97 | Keyboard appearance type. `default` or `light`, `dark` and `alert`. 98 | */ 99 | open var keyboardAppearance: UIKeyboardAppearance = .default { 100 | 101 | didSet { 102 | setup() 103 | } 104 | 105 | } 106 | 107 | /** 108 | UITextField text conent type. Enables and disables one time code. 109 | */ 110 | open var isOneTimeCode: Bool = false { 111 | 112 | didSet { 113 | setup() 114 | } 115 | 116 | } 117 | 118 | 119 | /// The animatino to use to show new digits 120 | open var animationType: DigitInputViewAnimationType = .spring 121 | 122 | /** 123 | The font of the digits. Although font size will be calculated automatically. 124 | */ 125 | open var font: UIFont? 126 | 127 | /** 128 | The string that the user has entered 129 | */ 130 | open var text: String { 131 | 132 | get { 133 | guard let textField = textField else { return "" } 134 | return textField.text ?? "" 135 | } 136 | 137 | } 138 | 139 | open weak var delegate: DigitInputViewDelegate? 140 | 141 | fileprivate var labels = [UILabel]() 142 | fileprivate var underlines = [UIView]() 143 | fileprivate var textField: UITextField? 144 | fileprivate var tapGestureRecognizer: UITapGestureRecognizer? 145 | 146 | fileprivate var underlineHeight: CGFloat = 4 147 | fileprivate var spacing: CGFloat = 8 148 | 149 | override open var canBecomeFirstResponder: Bool { 150 | 151 | get { 152 | return true 153 | } 154 | 155 | } 156 | 157 | override init(frame: CGRect) { 158 | 159 | super.init(frame: frame) 160 | setup() 161 | 162 | } 163 | 164 | required public init?(coder aDecoder: NSCoder) { 165 | 166 | super.init(coder: aDecoder) 167 | setup() 168 | 169 | } 170 | 171 | override open func becomeFirstResponder() -> Bool { 172 | 173 | guard let textField = textField else { return false } 174 | textField.becomeFirstResponder() 175 | return true 176 | 177 | } 178 | 179 | override open func resignFirstResponder() -> Bool { 180 | 181 | guard let textField = textField else { return true } 182 | textField.resignFirstResponder() 183 | return true 184 | 185 | } 186 | 187 | override open func layoutSubviews() { 188 | 189 | super.layoutSubviews() 190 | 191 | // width to height ratio 192 | let ratio: CGFloat = 0.75 193 | 194 | // Now we find the optimal font size based on the view size 195 | // and set the frame for the labels 196 | var characterWidth = frame.height * ratio 197 | var characterHeight = frame.height 198 | 199 | // if using the current width, the digits go off the view, recalculate 200 | // based on width instead of height 201 | if (characterWidth + spacing) * CGFloat(numberOfDigits) + spacing > frame.width { 202 | characterWidth = (frame.width - spacing * CGFloat(numberOfDigits + 1)) / CGFloat(numberOfDigits) 203 | characterHeight = characterWidth / ratio 204 | } 205 | 206 | let extraSpace = frame.width - CGFloat(numberOfDigits - 1) * spacing - CGFloat(numberOfDigits) * characterWidth 207 | 208 | // font size should be less than the available vertical space 209 | let fontSize = characterHeight * 0.8 210 | 211 | let y = (frame.height - characterHeight) / 2 212 | for (index, label) in labels.enumerated() { 213 | let x = extraSpace / 2 + (characterWidth + spacing) * CGFloat(index) 214 | label.frame = CGRect(x: x, y: y, width: characterWidth, height: characterHeight) 215 | 216 | underlines[index].frame = CGRect(x: x, y: frame.height - underlineHeight, width: characterWidth, height: underlineHeight) 217 | 218 | if let font = font { 219 | label.font = font.withSize(fontSize) 220 | } 221 | else { 222 | label.font = label.font.withSize(fontSize) 223 | } 224 | } 225 | 226 | } 227 | 228 | /** 229 | Sets up the required views 230 | */ 231 | fileprivate func setup() { 232 | 233 | isUserInteractionEnabled = true 234 | clipsToBounds = true 235 | 236 | if tapGestureRecognizer == nil { 237 | tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(viewTapped(_:))) 238 | addGestureRecognizer(tapGestureRecognizer!) 239 | } 240 | 241 | if textField == nil { 242 | textField = UITextField() 243 | textField?.delegate = self 244 | textField?.frame = CGRect(x: 0, y: -40, width: 100, height: 30) 245 | addSubview(textField!) 246 | } 247 | 248 | textField?.keyboardType = keyboardType 249 | textField?.keyboardAppearance = keyboardAppearance 250 | 251 | // Enabling/Disabling one time code 252 | // .oneTimeCode content type available on iOS 12 and above devices 253 | // One time code 254 | 255 | if isOneTimeCode { 256 | if #available(iOS 12.0, *) { 257 | textField?.textContentType = .oneTimeCode 258 | } 259 | } 260 | else if #available(iOS 10.0, *){ 261 | textField?.textContentType = nil 262 | } 263 | 264 | // Since this function isn't called frequently, we just remove everything 265 | // and recreate them. Don't need to optimize it. 266 | 267 | for label in labels { 268 | label.removeFromSuperview() 269 | } 270 | labels.removeAll() 271 | 272 | for underline in underlines { 273 | underline.removeFromSuperview() 274 | } 275 | underlines.removeAll() 276 | 277 | for i in 0.. index { 316 | let animate = index == text.count - 1 && !backspaced 317 | changeText(of: labels[index], newText: String(item), animate) 318 | } 319 | } 320 | 321 | // set all the bottom borders color to default 322 | for underline in underlines { 323 | underline.backgroundColor = bottomBorderColor 324 | } 325 | 326 | let nextIndex = text.count + 1 327 | if labels.count > 0, nextIndex < labels.count + 1 { 328 | // set the next digit bottom border color 329 | underlines[nextIndex - 1].backgroundColor = nextDigitBottomBorderColor 330 | } 331 | else { 332 | delegate?.digitsDidFinish(digitInputView: self) 333 | } 334 | delegate?.digitsDidChange(digitInputView: self) 335 | } 336 | 337 | /// Changes the text of a UILabel with animation 338 | /// 339 | /// - parameter label: The label to change text of 340 | /// - parameter newText: The new string for the label 341 | private func changeText(of label: UILabel, newText: String, _ animated: Bool = false) { 342 | 343 | if !animated || animationType == .none { 344 | label.text = newText 345 | return 346 | } 347 | 348 | if animationType == .spring { 349 | label.frame.origin.y = frame.height 350 | label.text = newText 351 | 352 | UIView.animate(withDuration: 0.2, delay: 0, usingSpringWithDamping: 0.1, initialSpringVelocity: 1, options: .curveEaseInOut, animations: { 353 | label.frame.origin.y = self.frame.height - label.frame.height 354 | }, completion: nil) 355 | } 356 | else if animationType == .dissolve { 357 | UIView.transition(with: label, 358 | duration: 0.4, 359 | options: .transitionCrossDissolve, 360 | animations: { 361 | label.text = newText 362 | }, completion: nil) 363 | } 364 | } 365 | 366 | /** 367 | Resets input view to initial empty state 368 | */ 369 | public func resetDigitInput() -> Bool { 370 | guard let textField = self.textField else { 371 | return false 372 | } 373 | 374 | textField.text = "" 375 | 376 | for label in self.labels { 377 | self.changeText(of: label, newText: "", true) 378 | } 379 | 380 | for (_, underline) in self.underlines.enumerated() { 381 | underline.backgroundColor = bottomBorderColor 382 | } 383 | 384 | self.underlines.first?.backgroundColor = nextDigitBottomBorderColor 385 | 386 | return true 387 | } 388 | 389 | } 390 | 391 | 392 | // MARK: TextField Delegate 393 | extension DigitInputView: UITextFieldDelegate { 394 | 395 | public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool { 396 | 397 | let char = string.cString(using: .utf8) 398 | let isBackSpace = strcmp(char, "\\b") 399 | if isBackSpace == -92 && textField.text?.count ?? 0 > 0 { 400 | textField.text!.removeLast() 401 | didChange(true) 402 | return false 403 | } 404 | 405 | if textField.text?.count ?? 0 >= numberOfDigits { 406 | return false 407 | } 408 | 409 | guard let acceptableCharacters = acceptableCharacters else { 410 | textField.text = (textField.text ?? "") + string 411 | didChange() 412 | return false 413 | } 414 | 415 | if acceptableCharacters.contains(string) { 416 | textField.text = (textField.text ?? "") + string 417 | didChange() 418 | return false 419 | } 420 | 421 | return false 422 | 423 | } 424 | } 425 | -------------------------------------------------------------------------------- /Example/DigitInputView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 5731F98B938ABAD3ECB94936 /* Pods_DigitInputView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C345E7968FB767C4E402E9E5 /* Pods_DigitInputView_Example.framework */; }; 11 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 12 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | CADF3CBD17A0E9EB1DE20B51 /* Pods_DigitInputView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8CCEACE12C1753C8AEE627BC /* Pods_DigitInputView_Tests.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 26 | remoteInfo = DigitInputView; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 2955F9273234668327ED9B3C /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 32 | 5218810D24596FFFA513EEB6 /* Pods-DigitInputView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DigitInputView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DigitInputView_Tests/Pods-DigitInputView_Tests.debug.xcconfig"; sourceTree = ""; }; 33 | 607FACD01AFB9204008FA782 /* DigitInputView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DigitInputView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 35 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 36 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 37 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 38 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 39 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 40 | 607FACE51AFB9204008FA782 /* DigitInputView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DigitInputView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 42 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 43 | 8655ACD3342FB9C6D942A49F /* DigitInputView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = DigitInputView.podspec; path = ../DigitInputView.podspec; sourceTree = ""; }; 44 | 8CCEACE12C1753C8AEE627BC /* Pods_DigitInputView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DigitInputView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | C345E7968FB767C4E402E9E5 /* Pods_DigitInputView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DigitInputView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | D9A10F88FB5225663AF006F0 /* Pods-DigitInputView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DigitInputView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-DigitInputView_Tests/Pods-DigitInputView_Tests.release.xcconfig"; sourceTree = ""; }; 47 | DB52FC0A89589ADEA89F5BA5 /* Pods-DigitInputView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DigitInputView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_Example.release.xcconfig"; sourceTree = ""; }; 48 | DC9846038F86C70FE785CBE9 /* Pods-DigitInputView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DigitInputView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_Example.debug.xcconfig"; sourceTree = ""; }; 49 | EFB1837634A195E15557E922 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | 5731F98B938ABAD3ECB94936 /* Pods_DigitInputView_Example.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | CADF3CBD17A0E9EB1DE20B51 /* Pods_DigitInputView_Tests.framework in Frameworks */, 66 | ); 67 | runOnlyForDeploymentPostprocessing = 0; 68 | }; 69 | /* End PBXFrameworksBuildPhase section */ 70 | 71 | /* Begin PBXGroup section */ 72 | 1C8E3B3D860A84F4B5C80F2A /* Pods */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | DC9846038F86C70FE785CBE9 /* Pods-DigitInputView_Example.debug.xcconfig */, 76 | DB52FC0A89589ADEA89F5BA5 /* Pods-DigitInputView_Example.release.xcconfig */, 77 | 5218810D24596FFFA513EEB6 /* Pods-DigitInputView_Tests.debug.xcconfig */, 78 | D9A10F88FB5225663AF006F0 /* Pods-DigitInputView_Tests.release.xcconfig */, 79 | ); 80 | name = Pods; 81 | sourceTree = ""; 82 | }; 83 | 607FACC71AFB9204008FA782 = { 84 | isa = PBXGroup; 85 | children = ( 86 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 87 | 607FACD21AFB9204008FA782 /* Example for DigitInputView */, 88 | 607FACE81AFB9204008FA782 /* Tests */, 89 | 607FACD11AFB9204008FA782 /* Products */, 90 | 1C8E3B3D860A84F4B5C80F2A /* Pods */, 91 | F72894AD1A33D296D1D4EE1E /* Frameworks */, 92 | ); 93 | sourceTree = ""; 94 | }; 95 | 607FACD11AFB9204008FA782 /* Products */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 607FACD01AFB9204008FA782 /* DigitInputView_Example.app */, 99 | 607FACE51AFB9204008FA782 /* DigitInputView_Tests.xctest */, 100 | ); 101 | name = Products; 102 | sourceTree = ""; 103 | }; 104 | 607FACD21AFB9204008FA782 /* Example for DigitInputView */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 108 | 607FACD71AFB9204008FA782 /* ViewController.swift */, 109 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 110 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 111 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 112 | 607FACD31AFB9204008FA782 /* Supporting Files */, 113 | ); 114 | name = "Example for DigitInputView"; 115 | path = DigitInputView; 116 | sourceTree = ""; 117 | }; 118 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 607FACD41AFB9204008FA782 /* Info.plist */, 122 | ); 123 | name = "Supporting Files"; 124 | sourceTree = ""; 125 | }; 126 | 607FACE81AFB9204008FA782 /* Tests */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 130 | 607FACE91AFB9204008FA782 /* Supporting Files */, 131 | ); 132 | path = Tests; 133 | sourceTree = ""; 134 | }; 135 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 607FACEA1AFB9204008FA782 /* Info.plist */, 139 | ); 140 | name = "Supporting Files"; 141 | sourceTree = ""; 142 | }; 143 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 8655ACD3342FB9C6D942A49F /* DigitInputView.podspec */, 147 | EFB1837634A195E15557E922 /* README.md */, 148 | 2955F9273234668327ED9B3C /* LICENSE */, 149 | ); 150 | name = "Podspec Metadata"; 151 | sourceTree = ""; 152 | }; 153 | F72894AD1A33D296D1D4EE1E /* Frameworks */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | C345E7968FB767C4E402E9E5 /* Pods_DigitInputView_Example.framework */, 157 | 8CCEACE12C1753C8AEE627BC /* Pods_DigitInputView_Tests.framework */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 607FACCF1AFB9204008FA782 /* DigitInputView_Example */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DigitInputView_Example" */; 168 | buildPhases = ( 169 | 30291A9BD7D36BAE6F7A40C4 /* [CP] Check Pods Manifest.lock */, 170 | 607FACCC1AFB9204008FA782 /* Sources */, 171 | 607FACCD1AFB9204008FA782 /* Frameworks */, 172 | 607FACCE1AFB9204008FA782 /* Resources */, 173 | B9D24DEEE525CEFDCBA54581 /* [CP] Embed Pods Frameworks */, 174 | 6E8FC147D7A9CDDE1400E379 /* [CP] Copy Pods Resources */, 175 | ); 176 | buildRules = ( 177 | ); 178 | dependencies = ( 179 | ); 180 | name = DigitInputView_Example; 181 | productName = DigitInputView; 182 | productReference = 607FACD01AFB9204008FA782 /* DigitInputView_Example.app */; 183 | productType = "com.apple.product-type.application"; 184 | }; 185 | 607FACE41AFB9204008FA782 /* DigitInputView_Tests */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DigitInputView_Tests" */; 188 | buildPhases = ( 189 | 554E578DAF5497FFE60B1714 /* [CP] Check Pods Manifest.lock */, 190 | 607FACE11AFB9204008FA782 /* Sources */, 191 | 607FACE21AFB9204008FA782 /* Frameworks */, 192 | 607FACE31AFB9204008FA782 /* Resources */, 193 | C805C4CE216A4D0C00134910 /* [CP] Embed Pods Frameworks */, 194 | B52DEDED6753573A44AD4C86 /* [CP] Copy Pods Resources */, 195 | ); 196 | buildRules = ( 197 | ); 198 | dependencies = ( 199 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 200 | ); 201 | name = DigitInputView_Tests; 202 | productName = Tests; 203 | productReference = 607FACE51AFB9204008FA782 /* DigitInputView_Tests.xctest */; 204 | productType = "com.apple.product-type.bundle.unit-test"; 205 | }; 206 | /* End PBXNativeTarget section */ 207 | 208 | /* Begin PBXProject section */ 209 | 607FACC81AFB9204008FA782 /* Project object */ = { 210 | isa = PBXProject; 211 | attributes = { 212 | LastSwiftUpdateCheck = 0720; 213 | LastUpgradeCheck = 0940; 214 | ORGANIZATIONNAME = CocoaPods; 215 | TargetAttributes = { 216 | 607FACCF1AFB9204008FA782 = { 217 | CreatedOnToolsVersion = 6.3.1; 218 | LastSwiftMigration = 0940; 219 | }; 220 | 607FACE41AFB9204008FA782 = { 221 | CreatedOnToolsVersion = 6.3.1; 222 | LastSwiftMigration = 0940; 223 | TestTargetID = 607FACCF1AFB9204008FA782; 224 | }; 225 | }; 226 | }; 227 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "DigitInputView" */; 228 | compatibilityVersion = "Xcode 3.2"; 229 | developmentRegion = English; 230 | hasScannedForEncodings = 0; 231 | knownRegions = ( 232 | en, 233 | Base, 234 | ); 235 | mainGroup = 607FACC71AFB9204008FA782; 236 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 237 | projectDirPath = ""; 238 | projectRoot = ""; 239 | targets = ( 240 | 607FACCF1AFB9204008FA782 /* DigitInputView_Example */, 241 | 607FACE41AFB9204008FA782 /* DigitInputView_Tests */, 242 | ); 243 | }; 244 | /* End PBXProject section */ 245 | 246 | /* Begin PBXResourcesBuildPhase section */ 247 | 607FACCE1AFB9204008FA782 /* Resources */ = { 248 | isa = PBXResourcesBuildPhase; 249 | buildActionMask = 2147483647; 250 | files = ( 251 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 252 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 253 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 254 | ); 255 | runOnlyForDeploymentPostprocessing = 0; 256 | }; 257 | 607FACE31AFB9204008FA782 /* Resources */ = { 258 | isa = PBXResourcesBuildPhase; 259 | buildActionMask = 2147483647; 260 | files = ( 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | /* End PBXResourcesBuildPhase section */ 265 | 266 | /* Begin PBXShellScriptBuildPhase section */ 267 | 30291A9BD7D36BAE6F7A40C4 /* [CP] Check Pods Manifest.lock */ = { 268 | isa = PBXShellScriptBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | ); 272 | inputPaths = ( 273 | ); 274 | name = "[CP] Check Pods Manifest.lock"; 275 | outputPaths = ( 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | shellPath = /bin/sh; 279 | 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"; 280 | showEnvVarsInLog = 0; 281 | }; 282 | 554E578DAF5497FFE60B1714 /* [CP] Check Pods Manifest.lock */ = { 283 | isa = PBXShellScriptBuildPhase; 284 | buildActionMask = 2147483647; 285 | files = ( 286 | ); 287 | inputPaths = ( 288 | ); 289 | name = "[CP] Check Pods Manifest.lock"; 290 | outputPaths = ( 291 | ); 292 | runOnlyForDeploymentPostprocessing = 0; 293 | shellPath = /bin/sh; 294 | 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"; 295 | showEnvVarsInLog = 0; 296 | }; 297 | 6E8FC147D7A9CDDE1400E379 /* [CP] Copy Pods Resources */ = { 298 | isa = PBXShellScriptBuildPhase; 299 | buildActionMask = 2147483647; 300 | files = ( 301 | ); 302 | inputPaths = ( 303 | ); 304 | name = "[CP] Copy Pods Resources"; 305 | outputPaths = ( 306 | ); 307 | runOnlyForDeploymentPostprocessing = 0; 308 | shellPath = /bin/sh; 309 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_Example-resources.sh\"\n"; 310 | showEnvVarsInLog = 0; 311 | }; 312 | B52DEDED6753573A44AD4C86 /* [CP] Copy Pods Resources */ = { 313 | isa = PBXShellScriptBuildPhase; 314 | buildActionMask = 2147483647; 315 | files = ( 316 | ); 317 | inputPaths = ( 318 | ); 319 | name = "[CP] Copy Pods Resources"; 320 | outputPaths = ( 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | shellPath = /bin/sh; 324 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DigitInputView_Tests/Pods-DigitInputView_Tests-resources.sh\"\n"; 325 | showEnvVarsInLog = 0; 326 | }; 327 | B9D24DEEE525CEFDCBA54581 /* [CP] Embed Pods Frameworks */ = { 328 | isa = PBXShellScriptBuildPhase; 329 | buildActionMask = 2147483647; 330 | files = ( 331 | ); 332 | inputPaths = ( 333 | ); 334 | name = "[CP] Embed Pods Frameworks"; 335 | outputPaths = ( 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | shellPath = /bin/sh; 339 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_Example-frameworks.sh\"\n"; 340 | showEnvVarsInLog = 0; 341 | }; 342 | C805C4CE216A4D0C00134910 /* [CP] Embed Pods Frameworks */ = { 343 | isa = PBXShellScriptBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | ); 347 | inputPaths = ( 348 | ); 349 | name = "[CP] Embed Pods Frameworks"; 350 | outputPaths = ( 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | shellPath = /bin/sh; 354 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DigitInputView_Tests/Pods-DigitInputView_Tests-frameworks.sh\"\n"; 355 | showEnvVarsInLog = 0; 356 | }; 357 | /* End PBXShellScriptBuildPhase section */ 358 | 359 | /* Begin PBXSourcesBuildPhase section */ 360 | 607FACCC1AFB9204008FA782 /* Sources */ = { 361 | isa = PBXSourcesBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 365 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 366 | ); 367 | runOnlyForDeploymentPostprocessing = 0; 368 | }; 369 | 607FACE11AFB9204008FA782 /* Sources */ = { 370 | isa = PBXSourcesBuildPhase; 371 | buildActionMask = 2147483647; 372 | files = ( 373 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | }; 377 | /* End PBXSourcesBuildPhase section */ 378 | 379 | /* Begin PBXTargetDependency section */ 380 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 381 | isa = PBXTargetDependency; 382 | target = 607FACCF1AFB9204008FA782 /* DigitInputView_Example */; 383 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 384 | }; 385 | /* End PBXTargetDependency section */ 386 | 387 | /* Begin PBXVariantGroup section */ 388 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 389 | isa = PBXVariantGroup; 390 | children = ( 391 | 607FACDA1AFB9204008FA782 /* Base */, 392 | ); 393 | name = Main.storyboard; 394 | sourceTree = ""; 395 | }; 396 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 397 | isa = PBXVariantGroup; 398 | children = ( 399 | 607FACDF1AFB9204008FA782 /* Base */, 400 | ); 401 | name = LaunchScreen.xib; 402 | sourceTree = ""; 403 | }; 404 | /* End PBXVariantGroup section */ 405 | 406 | /* Begin XCBuildConfiguration section */ 407 | 607FACED1AFB9204008FA782 /* Debug */ = { 408 | isa = XCBuildConfiguration; 409 | buildSettings = { 410 | ALWAYS_SEARCH_USER_PATHS = NO; 411 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 412 | CLANG_CXX_LIBRARY = "libc++"; 413 | CLANG_ENABLE_MODULES = YES; 414 | CLANG_ENABLE_OBJC_ARC = YES; 415 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 416 | CLANG_WARN_BOOL_CONVERSION = YES; 417 | CLANG_WARN_COMMA = YES; 418 | CLANG_WARN_CONSTANT_CONVERSION = YES; 419 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 420 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 421 | CLANG_WARN_EMPTY_BODY = YES; 422 | CLANG_WARN_ENUM_CONVERSION = YES; 423 | CLANG_WARN_INFINITE_RECURSION = YES; 424 | CLANG_WARN_INT_CONVERSION = YES; 425 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 426 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 427 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 428 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 429 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 430 | CLANG_WARN_STRICT_PROTOTYPES = YES; 431 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 432 | CLANG_WARN_UNREACHABLE_CODE = YES; 433 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 434 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 435 | COPY_PHASE_STRIP = NO; 436 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 437 | ENABLE_STRICT_OBJC_MSGSEND = YES; 438 | ENABLE_TESTABILITY = YES; 439 | GCC_C_LANGUAGE_STANDARD = gnu99; 440 | GCC_DYNAMIC_NO_PIC = NO; 441 | GCC_NO_COMMON_BLOCKS = YES; 442 | GCC_OPTIMIZATION_LEVEL = 0; 443 | GCC_PREPROCESSOR_DEFINITIONS = ( 444 | "DEBUG=1", 445 | "$(inherited)", 446 | ); 447 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 448 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 449 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 450 | GCC_WARN_UNDECLARED_SELECTOR = YES; 451 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 452 | GCC_WARN_UNUSED_FUNCTION = YES; 453 | GCC_WARN_UNUSED_VARIABLE = YES; 454 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 455 | MTL_ENABLE_DEBUG_INFO = YES; 456 | ONLY_ACTIVE_ARCH = YES; 457 | SDKROOT = iphoneos; 458 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 459 | }; 460 | name = Debug; 461 | }; 462 | 607FACEE1AFB9204008FA782 /* Release */ = { 463 | isa = XCBuildConfiguration; 464 | buildSettings = { 465 | ALWAYS_SEARCH_USER_PATHS = NO; 466 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 467 | CLANG_CXX_LIBRARY = "libc++"; 468 | CLANG_ENABLE_MODULES = YES; 469 | CLANG_ENABLE_OBJC_ARC = YES; 470 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 471 | CLANG_WARN_BOOL_CONVERSION = YES; 472 | CLANG_WARN_COMMA = YES; 473 | CLANG_WARN_CONSTANT_CONVERSION = YES; 474 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 475 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 476 | CLANG_WARN_EMPTY_BODY = YES; 477 | CLANG_WARN_ENUM_CONVERSION = YES; 478 | CLANG_WARN_INFINITE_RECURSION = YES; 479 | CLANG_WARN_INT_CONVERSION = YES; 480 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 481 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 482 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 483 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 484 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 485 | CLANG_WARN_STRICT_PROTOTYPES = YES; 486 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 487 | CLANG_WARN_UNREACHABLE_CODE = YES; 488 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 489 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 490 | COPY_PHASE_STRIP = NO; 491 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 492 | ENABLE_NS_ASSERTIONS = NO; 493 | ENABLE_STRICT_OBJC_MSGSEND = YES; 494 | GCC_C_LANGUAGE_STANDARD = gnu99; 495 | GCC_NO_COMMON_BLOCKS = YES; 496 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 497 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 498 | GCC_WARN_UNDECLARED_SELECTOR = YES; 499 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 500 | GCC_WARN_UNUSED_FUNCTION = YES; 501 | GCC_WARN_UNUSED_VARIABLE = YES; 502 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 503 | MTL_ENABLE_DEBUG_INFO = NO; 504 | SDKROOT = iphoneos; 505 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 506 | VALIDATE_PRODUCT = YES; 507 | }; 508 | name = Release; 509 | }; 510 | 607FACF01AFB9204008FA782 /* Debug */ = { 511 | isa = XCBuildConfiguration; 512 | baseConfigurationReference = DC9846038F86C70FE785CBE9 /* Pods-DigitInputView_Example.debug.xcconfig */; 513 | buildSettings = { 514 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 515 | INFOPLIST_FILE = DigitInputView/Info.plist; 516 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 517 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 518 | MODULE_NAME = ExampleApp; 519 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 520 | PRODUCT_NAME = "$(TARGET_NAME)"; 521 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 522 | SWIFT_VERSION = 4.0; 523 | }; 524 | name = Debug; 525 | }; 526 | 607FACF11AFB9204008FA782 /* Release */ = { 527 | isa = XCBuildConfiguration; 528 | baseConfigurationReference = DB52FC0A89589ADEA89F5BA5 /* Pods-DigitInputView_Example.release.xcconfig */; 529 | buildSettings = { 530 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 531 | INFOPLIST_FILE = DigitInputView/Info.plist; 532 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 533 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 534 | MODULE_NAME = ExampleApp; 535 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 536 | PRODUCT_NAME = "$(TARGET_NAME)"; 537 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 538 | SWIFT_VERSION = 4.0; 539 | }; 540 | name = Release; 541 | }; 542 | 607FACF31AFB9204008FA782 /* Debug */ = { 543 | isa = XCBuildConfiguration; 544 | baseConfigurationReference = 5218810D24596FFFA513EEB6 /* Pods-DigitInputView_Tests.debug.xcconfig */; 545 | buildSettings = { 546 | FRAMEWORK_SEARCH_PATHS = ( 547 | "$(SDKROOT)/Developer/Library/Frameworks", 548 | "$(inherited)", 549 | ); 550 | GCC_PREPROCESSOR_DEFINITIONS = ( 551 | "DEBUG=1", 552 | "$(inherited)", 553 | ); 554 | INFOPLIST_FILE = Tests/Info.plist; 555 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 556 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 557 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 558 | PRODUCT_NAME = "$(TARGET_NAME)"; 559 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 560 | SWIFT_VERSION = 4.0; 561 | }; 562 | name = Debug; 563 | }; 564 | 607FACF41AFB9204008FA782 /* Release */ = { 565 | isa = XCBuildConfiguration; 566 | baseConfigurationReference = D9A10F88FB5225663AF006F0 /* Pods-DigitInputView_Tests.release.xcconfig */; 567 | buildSettings = { 568 | FRAMEWORK_SEARCH_PATHS = ( 569 | "$(SDKROOT)/Developer/Library/Frameworks", 570 | "$(inherited)", 571 | ); 572 | INFOPLIST_FILE = Tests/Info.plist; 573 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 574 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 575 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 576 | PRODUCT_NAME = "$(TARGET_NAME)"; 577 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 578 | SWIFT_VERSION = 4.0; 579 | }; 580 | name = Release; 581 | }; 582 | /* End XCBuildConfiguration section */ 583 | 584 | /* Begin XCConfigurationList section */ 585 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "DigitInputView" */ = { 586 | isa = XCConfigurationList; 587 | buildConfigurations = ( 588 | 607FACED1AFB9204008FA782 /* Debug */, 589 | 607FACEE1AFB9204008FA782 /* Release */, 590 | ); 591 | defaultConfigurationIsVisible = 0; 592 | defaultConfigurationName = Release; 593 | }; 594 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DigitInputView_Example" */ = { 595 | isa = XCConfigurationList; 596 | buildConfigurations = ( 597 | 607FACF01AFB9204008FA782 /* Debug */, 598 | 607FACF11AFB9204008FA782 /* Release */, 599 | ); 600 | defaultConfigurationIsVisible = 0; 601 | defaultConfigurationName = Release; 602 | }; 603 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DigitInputView_Tests" */ = { 604 | isa = XCConfigurationList; 605 | buildConfigurations = ( 606 | 607FACF31AFB9204008FA782 /* Debug */, 607 | 607FACF41AFB9204008FA782 /* Release */, 608 | ); 609 | defaultConfigurationIsVisible = 0; 610 | defaultConfigurationName = Release; 611 | }; 612 | /* End XCConfigurationList section */ 613 | }; 614 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 615 | } 616 | -------------------------------------------------------------------------------- /Example/DigitInputView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/DigitInputView.xcodeproj/xcshareddata/xcschemes/DigitInputView-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/DigitInputView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/DigitInputView/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // DigitInputView 4 | // 5 | // Created by mnvoh on 07/20/2017. 6 | // Copyright (c) 2017 mnvoh. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/DigitInputView/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/DigitInputView/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 | -------------------------------------------------------------------------------- /Example/DigitInputView/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/DigitInputView/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.1.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 2 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/DigitInputView/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // DigitInputView 4 | // 5 | // Created by mnvoh on 07/20/2017. 6 | // Copyright (c) 2017 mnvoh. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import DigitInputView 11 | 12 | class ViewController: UIViewController, DigitInputViewDelegate { 13 | 14 | var digitInput: DigitInputView! 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | 19 | digitInput = DigitInputView() 20 | 21 | digitInput.numberOfDigits = 6 22 | digitInput.bottomBorderColor = .purple 23 | digitInput.nextDigitBottomBorderColor = .red 24 | digitInput.textColor = .purple 25 | digitInput.acceptableCharacters = "0123456789" 26 | digitInput.keyboardType = .decimalPad 27 | digitInput.font = UIFont.monospacedDigitSystemFont(ofSize: 10, weight: UIFont.Weight(rawValue: 1)) 28 | digitInput.animationType = .spring 29 | digitInput.keyboardAppearance = .dark 30 | 31 | digitInput.delegate = self 32 | 33 | // if you wanna use layout constraints 34 | digitInput.translatesAutoresizingMaskIntoConstraints = false 35 | 36 | view.addSubview(digitInput) 37 | 38 | digitInput.topAnchor.constraint(equalTo: view.topAnchor, constant: 96).isActive = true 39 | digitInput.leftAnchor.constraint(equalTo: view.leftAnchor, constant: 32).isActive = true 40 | digitInput.rightAnchor.constraint(equalTo: view.rightAnchor, constant: -32).isActive = true 41 | digitInput.heightAnchor.constraint(equalToConstant: 64).isActive = true 42 | 43 | _ = digitInput.becomeFirstResponder() 44 | 45 | let resetButton = UIButton() 46 | resetButton.setTitle("Reset input", for: .normal) 47 | resetButton.setTitleColor(UIColor.black, for: .normal) 48 | resetButton.titleLabel?.font = UIFont.monospacedDigitSystemFont(ofSize: 14, weight: UIFont.Weight(rawValue: 1)) 49 | resetButton.addTarget(self, action: #selector(resetDigitInput(_:)), for: .touchUpInside) 50 | 51 | resetButton.translatesAutoresizingMaskIntoConstraints = false 52 | 53 | view.addSubview(resetButton) 54 | 55 | resetButton.topAnchor.constraint(equalTo: digitInput.bottomAnchor, constant: 32).isActive = true 56 | resetButton.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true 57 | resetButton.heightAnchor.constraint(equalToConstant: 30).isActive = true 58 | 59 | } 60 | 61 | @objc func resetDigitInput(_ sender: UIButton) { 62 | let _ = digitInput.resetDigitInput() 63 | print("Reset.") 64 | } 65 | 66 | func digitsDidChange(digitInputView: DigitInputView) { 67 | print("Change: " + digitInput.text) 68 | } 69 | 70 | func digitsDidFinish(digitInputView: DigitInputView) { 71 | _ = digitInput.resignFirstResponder() 72 | print("Finish: " + digitInput.text) 73 | } 74 | } 75 | 76 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'DigitInputView_Example' do 4 | pod 'DigitInputView', :path => '../' 5 | 6 | target 'DigitInputView_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - DigitInputView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - DigitInputView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | DigitInputView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | DigitInputView: 19729cc1763734ff3e45af9532504784cbb7c797 13 | 14 | PODFILE CHECKSUM: 82503a5e00295b2b3e249ba989aff0f786ac6bae 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/DigitInputView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "DigitInputView", 3 | "version": "0.1.0", 4 | "summary": "Character input field with separated underline.", 5 | "description": "This component will let you propmpt for a limited number of characters in\nan elegant way, ex: Confirmation code input.", 6 | "homepage": "https://github.com/mnvoh/DigitInputView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "mnvoh": "mnvoh90@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/mnvoh/DigitInputView.git", 16 | "tag": "0.1.0" 17 | }, 18 | "social_media_url": "https://twitter.com/mnvoh", 19 | "platforms": { 20 | "ios": "9.0" 21 | }, 22 | "source_files": "DigitInputView/Classes/**/*" 23 | } 24 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - DigitInputView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - DigitInputView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | DigitInputView: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | DigitInputView: 19729cc1763734ff3e45af9532504784cbb7c797 13 | 14 | PODFILE CHECKSUM: 82503a5e00295b2b3e249ba989aff0f786ac6bae 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 02A80956765BE375378C258F5A04FBE6 /* Pods-DigitInputView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BD5F3C6F0C96DD03854A47FF0141FB5 /* Pods-DigitInputView_Example-dummy.m */; }; 11 | 289B0FB28975B7BE106F3F018B893155 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 12 | 47AB8EBAD7638939984FADE00715AB47 /* DigitInputView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90D189684FCA26D035DCB6679801B319 /* DigitInputView.swift */; }; 13 | 675ED43367AE4F9BC39426E8148E769A /* DigitInputView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EB527DF6FF9E9F6AC7F15723DF2693E0 /* DigitInputView-dummy.m */; }; 14 | 85BDA06DD2C25467F5E0B01F014DDD94 /* Pods-DigitInputView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = EF5AF458E75A3B77F29B783EEB783B04 /* Pods-DigitInputView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 | 96FFDF296BC1B9DE9098C3D96042A430 /* DigitInputView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F9DC5813D59E0C9BB9DD8711AE5C9E37 /* DigitInputView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 9F3EA71D129121476F78589A49EBBE86 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | B8741B815F8109076F25DC0BF6DF6D5C /* Pods-DigitInputView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E41860EEAF10119C90DA9EC3C5A76017 /* Pods-DigitInputView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | BD98E7431E257B4D42EE702BFE12938A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 19 | F199B473428D789AEC4718EB3542FEBA /* Pods-DigitInputView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 850A1EC89CD5F3B67CFCB76A520E1425 /* Pods-DigitInputView_Tests-dummy.m */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 3A897BB54E11E539C8AE0C947E02E00B /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 51C3A1395EB7156A904E8AC4A48E913F; 28 | remoteInfo = DigitInputView; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 028F0FB5784633AF082AC345563CE525 /* Pods-DigitInputView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-DigitInputView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 34 | 05DE292AF93888EA4DAEA5560A089191 /* Pods_DigitInputView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DigitInputView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 05DFFA6299BC2B3D8C6FB73F96A8B23E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 36 | 06000A40FABF113AEC64DC2AA6FA528C /* Pods-DigitInputView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DigitInputView_Tests.release.xcconfig"; sourceTree = ""; }; 37 | 0CACAEFEC29CEC93DE6EA7B36F451565 /* DigitInputView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = DigitInputView.xcconfig; sourceTree = ""; }; 38 | 0D20CB89FE71495D3201769BC29DC713 /* DigitInputView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DigitInputView-prefix.pch"; sourceTree = ""; }; 39 | 0DED604381902D16768988C818E19C86 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 40 | 0E2686E2D230D820EA45FA4DB9CDC1A6 /* Pods-DigitInputView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-DigitInputView_Example.modulemap"; sourceTree = ""; }; 41 | 1D4F452E13ED9381B2CF9C58C8977CC7 /* Pods-DigitInputView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DigitInputView_Tests.debug.xcconfig"; sourceTree = ""; }; 42 | 1F02E05B13AFB5DE61BA790C16504B03 /* DigitInputView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = DigitInputView.modulemap; sourceTree = ""; }; 43 | 64A597EF937E126200871886072D3360 /* Pods-DigitInputView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-DigitInputView_Tests.modulemap"; sourceTree = ""; }; 44 | 6577181AB1179A693E52BB60F1355FCA /* DigitInputView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DigitInputView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 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 | 67392F87764A0C1F71A750A3FBA9D771 /* Pods-DigitInputView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-DigitInputView_Tests-acknowledgements.plist"; sourceTree = ""; }; 47 | 7BD5F3C6F0C96DD03854A47FF0141FB5 /* Pods-DigitInputView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DigitInputView_Example-dummy.m"; sourceTree = ""; }; 48 | 7BE1CE20B91189CE04AADABA2C71561B /* Pods-DigitInputView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-DigitInputView_Example-acknowledgements.plist"; sourceTree = ""; }; 49 | 850A1EC89CD5F3B67CFCB76A520E1425 /* Pods-DigitInputView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DigitInputView_Tests-dummy.m"; sourceTree = ""; }; 50 | 89AB36CBCFA9EC42FD3EE5A7577E1AED /* Pods-DigitInputView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DigitInputView_Tests-frameworks.sh"; sourceTree = ""; }; 51 | 8F4F390DCD04AF57540A8B99C0B73BBA /* Pods-DigitInputView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DigitInputView_Tests-resources.sh"; sourceTree = ""; }; 52 | 90D189684FCA26D035DCB6679801B319 /* DigitInputView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = DigitInputView.swift; sourceTree = ""; }; 53 | 9311CB6625A9E4BAE57FADA94F9A357B /* Pods-DigitInputView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DigitInputView_Example.debug.xcconfig"; sourceTree = ""; }; 54 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 55 | A77F2CC76F9FCD7B47BCA0424E4AEF8C /* Pods-DigitInputView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DigitInputView_Example-frameworks.sh"; sourceTree = ""; }; 56 | CDB683ABD8711369810A0E33D2C45A8C /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 57 | D74D9A5CB107DB67616DE82E9637037D /* Pods_DigitInputView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DigitInputView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | E41860EEAF10119C90DA9EC3C5A76017 /* Pods-DigitInputView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DigitInputView_Tests-umbrella.h"; sourceTree = ""; }; 59 | EB527DF6FF9E9F6AC7F15723DF2693E0 /* DigitInputView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "DigitInputView-dummy.m"; sourceTree = ""; }; 60 | EC0250F389CCEED590C198FBC4927F33 /* Pods-DigitInputView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DigitInputView_Example.release.xcconfig"; sourceTree = ""; }; 61 | EF5AF458E75A3B77F29B783EEB783B04 /* Pods-DigitInputView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DigitInputView_Example-umbrella.h"; sourceTree = ""; }; 62 | F1BDCF6C26C1126046655B6B74AC692E /* Pods-DigitInputView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DigitInputView_Example-resources.sh"; sourceTree = ""; }; 63 | F9DC5813D59E0C9BB9DD8711AE5C9E37 /* DigitInputView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DigitInputView-umbrella.h"; sourceTree = ""; }; 64 | FBF5CD27ADB01B2BE01C39DA8F1D2594 /* Pods-DigitInputView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-DigitInputView_Example-acknowledgements.markdown"; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 2B9DFB006A22FE051D555F5225922034 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 9F3EA71D129121476F78589A49EBBE86 /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | 80A04A9A8C3BD9B445B10105FDB3CDB9 /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | 289B0FB28975B7BE106F3F018B893155 /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | AB5BFFFE4936976061E04C2A5E3AA70F /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | BD98E7431E257B4D42EE702BFE12938A /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 0BE8CAFBDBB619E3A8392BE7C1E77CC6 /* Pods-DigitInputView_Tests */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | CDB683ABD8711369810A0E33D2C45A8C /* Info.plist */, 99 | 64A597EF937E126200871886072D3360 /* Pods-DigitInputView_Tests.modulemap */, 100 | 028F0FB5784633AF082AC345563CE525 /* Pods-DigitInputView_Tests-acknowledgements.markdown */, 101 | 67392F87764A0C1F71A750A3FBA9D771 /* Pods-DigitInputView_Tests-acknowledgements.plist */, 102 | 850A1EC89CD5F3B67CFCB76A520E1425 /* Pods-DigitInputView_Tests-dummy.m */, 103 | 89AB36CBCFA9EC42FD3EE5A7577E1AED /* Pods-DigitInputView_Tests-frameworks.sh */, 104 | 8F4F390DCD04AF57540A8B99C0B73BBA /* Pods-DigitInputView_Tests-resources.sh */, 105 | E41860EEAF10119C90DA9EC3C5A76017 /* Pods-DigitInputView_Tests-umbrella.h */, 106 | 1D4F452E13ED9381B2CF9C58C8977CC7 /* Pods-DigitInputView_Tests.debug.xcconfig */, 107 | 06000A40FABF113AEC64DC2AA6FA528C /* Pods-DigitInputView_Tests.release.xcconfig */, 108 | ); 109 | name = "Pods-DigitInputView_Tests"; 110 | path = "Target Support Files/Pods-DigitInputView_Tests"; 111 | sourceTree = ""; 112 | }; 113 | 49C2756BB803BB1D9B41C0215D014B07 /* DigitInputView */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | C746AE9247EA66AFB5504ECA66F75DC8 /* Classes */, 117 | ); 118 | path = DigitInputView; 119 | sourceTree = ""; 120 | }; 121 | 508B4513D12CC852761CEBC45EFCECF6 /* Targets Support Files */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 74FDE888D4D754C267A3629618E7DA33 /* Pods-DigitInputView_Example */, 125 | 0BE8CAFBDBB619E3A8392BE7C1E77CC6 /* Pods-DigitInputView_Tests */, 126 | ); 127 | name = "Targets Support Files"; 128 | sourceTree = ""; 129 | }; 130 | 74FDE888D4D754C267A3629618E7DA33 /* Pods-DigitInputView_Example */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 0DED604381902D16768988C818E19C86 /* Info.plist */, 134 | 0E2686E2D230D820EA45FA4DB9CDC1A6 /* Pods-DigitInputView_Example.modulemap */, 135 | FBF5CD27ADB01B2BE01C39DA8F1D2594 /* Pods-DigitInputView_Example-acknowledgements.markdown */, 136 | 7BE1CE20B91189CE04AADABA2C71561B /* Pods-DigitInputView_Example-acknowledgements.plist */, 137 | 7BD5F3C6F0C96DD03854A47FF0141FB5 /* Pods-DigitInputView_Example-dummy.m */, 138 | A77F2CC76F9FCD7B47BCA0424E4AEF8C /* Pods-DigitInputView_Example-frameworks.sh */, 139 | F1BDCF6C26C1126046655B6B74AC692E /* Pods-DigitInputView_Example-resources.sh */, 140 | EF5AF458E75A3B77F29B783EEB783B04 /* Pods-DigitInputView_Example-umbrella.h */, 141 | 9311CB6625A9E4BAE57FADA94F9A357B /* Pods-DigitInputView_Example.debug.xcconfig */, 142 | EC0250F389CCEED590C198FBC4927F33 /* Pods-DigitInputView_Example.release.xcconfig */, 143 | ); 144 | name = "Pods-DigitInputView_Example"; 145 | path = "Target Support Files/Pods-DigitInputView_Example"; 146 | sourceTree = ""; 147 | }; 148 | 7DB346D0F39D3F0E887471402A8071AB = { 149 | isa = PBXGroup; 150 | children = ( 151 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 152 | B1476FE82B7F600E6B4356925BE08509 /* Development Pods */, 153 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 154 | D81C28DCD47A854CE2F56AE367ABF01A /* Products */, 155 | 508B4513D12CC852761CEBC45EFCECF6 /* Targets Support Files */, 156 | ); 157 | sourceTree = ""; 158 | }; 159 | B1476FE82B7F600E6B4356925BE08509 /* Development Pods */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | D06128D302B1901044125CD24A4319B8 /* DigitInputView */, 163 | ); 164 | name = "Development Pods"; 165 | sourceTree = ""; 166 | }; 167 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 168 | isa = PBXGroup; 169 | children = ( 170 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 171 | ); 172 | name = Frameworks; 173 | sourceTree = ""; 174 | }; 175 | C746AE9247EA66AFB5504ECA66F75DC8 /* Classes */ = { 176 | isa = PBXGroup; 177 | children = ( 178 | 90D189684FCA26D035DCB6679801B319 /* DigitInputView.swift */, 179 | ); 180 | path = Classes; 181 | sourceTree = ""; 182 | }; 183 | C935935C64C3A89385CC9F6264B3C27B /* Support Files */ = { 184 | isa = PBXGroup; 185 | children = ( 186 | 1F02E05B13AFB5DE61BA790C16504B03 /* DigitInputView.modulemap */, 187 | 0CACAEFEC29CEC93DE6EA7B36F451565 /* DigitInputView.xcconfig */, 188 | EB527DF6FF9E9F6AC7F15723DF2693E0 /* DigitInputView-dummy.m */, 189 | 0D20CB89FE71495D3201769BC29DC713 /* DigitInputView-prefix.pch */, 190 | F9DC5813D59E0C9BB9DD8711AE5C9E37 /* DigitInputView-umbrella.h */, 191 | 05DFFA6299BC2B3D8C6FB73F96A8B23E /* Info.plist */, 192 | ); 193 | name = "Support Files"; 194 | path = "Example/Pods/Target Support Files/DigitInputView"; 195 | sourceTree = ""; 196 | }; 197 | D06128D302B1901044125CD24A4319B8 /* DigitInputView */ = { 198 | isa = PBXGroup; 199 | children = ( 200 | 49C2756BB803BB1D9B41C0215D014B07 /* DigitInputView */, 201 | C935935C64C3A89385CC9F6264B3C27B /* Support Files */, 202 | ); 203 | name = DigitInputView; 204 | path = ../..; 205 | sourceTree = ""; 206 | }; 207 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 208 | isa = PBXGroup; 209 | children = ( 210 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 211 | ); 212 | name = iOS; 213 | sourceTree = ""; 214 | }; 215 | D81C28DCD47A854CE2F56AE367ABF01A /* Products */ = { 216 | isa = PBXGroup; 217 | children = ( 218 | 6577181AB1179A693E52BB60F1355FCA /* DigitInputView.framework */, 219 | D74D9A5CB107DB67616DE82E9637037D /* Pods_DigitInputView_Example.framework */, 220 | 05DE292AF93888EA4DAEA5560A089191 /* Pods_DigitInputView_Tests.framework */, 221 | ); 222 | name = Products; 223 | sourceTree = ""; 224 | }; 225 | /* End PBXGroup section */ 226 | 227 | /* Begin PBXHeadersBuildPhase section */ 228 | 40AAEE263359378A6D3FF2DFD0FCDFBC /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | B8741B815F8109076F25DC0BF6DF6D5C /* Pods-DigitInputView_Tests-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | ADA65758728652AF6A77EB5BC22F8012 /* Headers */ = { 237 | isa = PBXHeadersBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | 96FFDF296BC1B9DE9098C3D96042A430 /* DigitInputView-umbrella.h in Headers */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | D3840E1AA918B3BC3492ABFFF9F5BAFE /* Headers */ = { 245 | isa = PBXHeadersBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 85BDA06DD2C25467F5E0B01F014DDD94 /* Pods-DigitInputView_Example-umbrella.h in Headers */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | /* End PBXHeadersBuildPhase section */ 253 | 254 | /* Begin PBXNativeTarget section */ 255 | 51C3A1395EB7156A904E8AC4A48E913F /* DigitInputView */ = { 256 | isa = PBXNativeTarget; 257 | buildConfigurationList = 5777810B25F914B4164E543652584B79 /* Build configuration list for PBXNativeTarget "DigitInputView" */; 258 | buildPhases = ( 259 | DCDE18EB5E5B01E545B82BEB015C31F4 /* Sources */, 260 | 2B9DFB006A22FE051D555F5225922034 /* Frameworks */, 261 | ADA65758728652AF6A77EB5BC22F8012 /* Headers */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | ); 267 | name = DigitInputView; 268 | productName = DigitInputView; 269 | productReference = 6577181AB1179A693E52BB60F1355FCA /* DigitInputView.framework */; 270 | productType = "com.apple.product-type.framework"; 271 | }; 272 | 9F671103E8CE8DA478AA6D172A4700C6 /* Pods-DigitInputView_Example */ = { 273 | isa = PBXNativeTarget; 274 | buildConfigurationList = 29FD3AA4005C091D36DB42D8758EAFE4 /* Build configuration list for PBXNativeTarget "Pods-DigitInputView_Example" */; 275 | buildPhases = ( 276 | 2BFB4FC87DC52BC24244291230805F25 /* Sources */, 277 | AB5BFFFE4936976061E04C2A5E3AA70F /* Frameworks */, 278 | D3840E1AA918B3BC3492ABFFF9F5BAFE /* Headers */, 279 | ); 280 | buildRules = ( 281 | ); 282 | dependencies = ( 283 | DE450D1DC416E03D8E6875DA9A055FC0 /* PBXTargetDependency */, 284 | ); 285 | name = "Pods-DigitInputView_Example"; 286 | productName = "Pods-DigitInputView_Example"; 287 | productReference = D74D9A5CB107DB67616DE82E9637037D /* Pods_DigitInputView_Example.framework */; 288 | productType = "com.apple.product-type.framework"; 289 | }; 290 | EF18502AE5CF1B6B8AC7FEC244BB4E15 /* Pods-DigitInputView_Tests */ = { 291 | isa = PBXNativeTarget; 292 | buildConfigurationList = ACB4C20625FAA92C883D8ED7261BC1F7 /* Build configuration list for PBXNativeTarget "Pods-DigitInputView_Tests" */; 293 | buildPhases = ( 294 | 8A994C5FAC7BE2F1A78EAC1D99D450A0 /* Sources */, 295 | 80A04A9A8C3BD9B445B10105FDB3CDB9 /* Frameworks */, 296 | 40AAEE263359378A6D3FF2DFD0FCDFBC /* Headers */, 297 | ); 298 | buildRules = ( 299 | ); 300 | dependencies = ( 301 | ); 302 | name = "Pods-DigitInputView_Tests"; 303 | productName = "Pods-DigitInputView_Tests"; 304 | productReference = 05DE292AF93888EA4DAEA5560A089191 /* Pods_DigitInputView_Tests.framework */; 305 | productType = "com.apple.product-type.framework"; 306 | }; 307 | /* End PBXNativeTarget section */ 308 | 309 | /* Begin PBXProject section */ 310 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 311 | isa = PBXProject; 312 | attributes = { 313 | LastSwiftUpdateCheck = 0830; 314 | LastUpgradeCheck = 0940; 315 | TargetAttributes = { 316 | 51C3A1395EB7156A904E8AC4A48E913F = { 317 | LastSwiftMigration = 0940; 318 | }; 319 | }; 320 | }; 321 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 322 | compatibilityVersion = "Xcode 3.2"; 323 | developmentRegion = English; 324 | hasScannedForEncodings = 0; 325 | knownRegions = ( 326 | en, 327 | ); 328 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 329 | productRefGroup = D81C28DCD47A854CE2F56AE367ABF01A /* Products */; 330 | projectDirPath = ""; 331 | projectRoot = ""; 332 | targets = ( 333 | 51C3A1395EB7156A904E8AC4A48E913F /* DigitInputView */, 334 | 9F671103E8CE8DA478AA6D172A4700C6 /* Pods-DigitInputView_Example */, 335 | EF18502AE5CF1B6B8AC7FEC244BB4E15 /* Pods-DigitInputView_Tests */, 336 | ); 337 | }; 338 | /* End PBXProject section */ 339 | 340 | /* Begin PBXSourcesBuildPhase section */ 341 | 2BFB4FC87DC52BC24244291230805F25 /* Sources */ = { 342 | isa = PBXSourcesBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | 02A80956765BE375378C258F5A04FBE6 /* Pods-DigitInputView_Example-dummy.m in Sources */, 346 | ); 347 | runOnlyForDeploymentPostprocessing = 0; 348 | }; 349 | 8A994C5FAC7BE2F1A78EAC1D99D450A0 /* Sources */ = { 350 | isa = PBXSourcesBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | F199B473428D789AEC4718EB3542FEBA /* Pods-DigitInputView_Tests-dummy.m in Sources */, 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | }; 357 | DCDE18EB5E5B01E545B82BEB015C31F4 /* Sources */ = { 358 | isa = PBXSourcesBuildPhase; 359 | buildActionMask = 2147483647; 360 | files = ( 361 | 675ED43367AE4F9BC39426E8148E769A /* DigitInputView-dummy.m in Sources */, 362 | 47AB8EBAD7638939984FADE00715AB47 /* DigitInputView.swift in Sources */, 363 | ); 364 | runOnlyForDeploymentPostprocessing = 0; 365 | }; 366 | /* End PBXSourcesBuildPhase section */ 367 | 368 | /* Begin PBXTargetDependency section */ 369 | DE450D1DC416E03D8E6875DA9A055FC0 /* PBXTargetDependency */ = { 370 | isa = PBXTargetDependency; 371 | name = DigitInputView; 372 | target = 51C3A1395EB7156A904E8AC4A48E913F /* DigitInputView */; 373 | targetProxy = 3A897BB54E11E539C8AE0C947E02E00B /* PBXContainerItemProxy */; 374 | }; 375 | /* End PBXTargetDependency section */ 376 | 377 | /* Begin XCBuildConfiguration section */ 378 | 1DC1AB861D5EA2DA76899C669E771AF1 /* Release */ = { 379 | isa = XCBuildConfiguration; 380 | baseConfigurationReference = 0CACAEFEC29CEC93DE6EA7B36F451565 /* DigitInputView.xcconfig */; 381 | buildSettings = { 382 | CODE_SIGN_IDENTITY = ""; 383 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 384 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 385 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 386 | CURRENT_PROJECT_VERSION = 1; 387 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 388 | DEFINES_MODULE = YES; 389 | DYLIB_COMPATIBILITY_VERSION = 1; 390 | DYLIB_CURRENT_VERSION = 1; 391 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 392 | ENABLE_STRICT_OBJC_MSGSEND = YES; 393 | GCC_NO_COMMON_BLOCKS = YES; 394 | GCC_PREFIX_HEADER = "Target Support Files/DigitInputView/DigitInputView-prefix.pch"; 395 | INFOPLIST_FILE = "Target Support Files/DigitInputView/Info.plist"; 396 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 397 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 398 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 399 | MODULEMAP_FILE = "Target Support Files/DigitInputView/DigitInputView.modulemap"; 400 | MTL_ENABLE_DEBUG_INFO = NO; 401 | PRODUCT_NAME = DigitInputView; 402 | SDKROOT = iphoneos; 403 | SKIP_INSTALL = YES; 404 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 405 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 406 | SWIFT_VERSION = 4.0; 407 | TARGETED_DEVICE_FAMILY = "1,2"; 408 | VERSIONING_SYSTEM = "apple-generic"; 409 | VERSION_INFO_PREFIX = ""; 410 | }; 411 | name = Release; 412 | }; 413 | 425A2E92DA0D09D25793F1C5D24E943B /* Debug */ = { 414 | isa = XCBuildConfiguration; 415 | baseConfigurationReference = 0CACAEFEC29CEC93DE6EA7B36F451565 /* DigitInputView.xcconfig */; 416 | buildSettings = { 417 | CODE_SIGN_IDENTITY = ""; 418 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 419 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 420 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 421 | CURRENT_PROJECT_VERSION = 1; 422 | DEBUG_INFORMATION_FORMAT = dwarf; 423 | DEFINES_MODULE = YES; 424 | DYLIB_COMPATIBILITY_VERSION = 1; 425 | DYLIB_CURRENT_VERSION = 1; 426 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 427 | ENABLE_STRICT_OBJC_MSGSEND = YES; 428 | GCC_NO_COMMON_BLOCKS = YES; 429 | GCC_PREFIX_HEADER = "Target Support Files/DigitInputView/DigitInputView-prefix.pch"; 430 | INFOPLIST_FILE = "Target Support Files/DigitInputView/Info.plist"; 431 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 432 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 433 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 434 | MODULEMAP_FILE = "Target Support Files/DigitInputView/DigitInputView.modulemap"; 435 | MTL_ENABLE_DEBUG_INFO = YES; 436 | PRODUCT_NAME = DigitInputView; 437 | SDKROOT = iphoneos; 438 | SKIP_INSTALL = YES; 439 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 440 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 441 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 442 | SWIFT_VERSION = 4.0; 443 | TARGETED_DEVICE_FAMILY = "1,2"; 444 | VERSIONING_SYSTEM = "apple-generic"; 445 | VERSION_INFO_PREFIX = ""; 446 | }; 447 | name = Debug; 448 | }; 449 | 4E487F173E6C9664F4E9E26B9635D23C /* Debug */ = { 450 | isa = XCBuildConfiguration; 451 | buildSettings = { 452 | ALWAYS_SEARCH_USER_PATHS = NO; 453 | CLANG_ANALYZER_NONNULL = YES; 454 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 455 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 456 | CLANG_CXX_LIBRARY = "libc++"; 457 | CLANG_ENABLE_MODULES = YES; 458 | CLANG_ENABLE_OBJC_ARC = YES; 459 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 460 | CLANG_WARN_BOOL_CONVERSION = YES; 461 | CLANG_WARN_COMMA = YES; 462 | CLANG_WARN_CONSTANT_CONVERSION = YES; 463 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 464 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 465 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 466 | CLANG_WARN_EMPTY_BODY = YES; 467 | CLANG_WARN_ENUM_CONVERSION = YES; 468 | CLANG_WARN_INFINITE_RECURSION = YES; 469 | CLANG_WARN_INT_CONVERSION = YES; 470 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 471 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 472 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 473 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 474 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 475 | CLANG_WARN_STRICT_PROTOTYPES = YES; 476 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 477 | CLANG_WARN_UNREACHABLE_CODE = YES; 478 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 479 | CODE_SIGNING_REQUIRED = NO; 480 | COPY_PHASE_STRIP = NO; 481 | ENABLE_STRICT_OBJC_MSGSEND = YES; 482 | ENABLE_TESTABILITY = YES; 483 | GCC_C_LANGUAGE_STANDARD = gnu99; 484 | GCC_DYNAMIC_NO_PIC = NO; 485 | GCC_NO_COMMON_BLOCKS = YES; 486 | GCC_OPTIMIZATION_LEVEL = 0; 487 | GCC_PREPROCESSOR_DEFINITIONS = ( 488 | "POD_CONFIGURATION_DEBUG=1", 489 | "DEBUG=1", 490 | "$(inherited)", 491 | ); 492 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 493 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 494 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 495 | GCC_WARN_UNDECLARED_SELECTOR = YES; 496 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 497 | GCC_WARN_UNUSED_FUNCTION = YES; 498 | GCC_WARN_UNUSED_VARIABLE = YES; 499 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 500 | ONLY_ACTIVE_ARCH = YES; 501 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 502 | STRIP_INSTALLED_PRODUCT = NO; 503 | SYMROOT = "${SRCROOT}/../build"; 504 | }; 505 | name = Debug; 506 | }; 507 | A7EF6159CA759E02A44146DA8C3931B6 /* Release */ = { 508 | isa = XCBuildConfiguration; 509 | baseConfigurationReference = EC0250F389CCEED590C198FBC4927F33 /* Pods-DigitInputView_Example.release.xcconfig */; 510 | buildSettings = { 511 | CODE_SIGN_IDENTITY = ""; 512 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 513 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 514 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 515 | CURRENT_PROJECT_VERSION = 1; 516 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 517 | DEFINES_MODULE = YES; 518 | DYLIB_COMPATIBILITY_VERSION = 1; 519 | DYLIB_CURRENT_VERSION = 1; 520 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 521 | ENABLE_STRICT_OBJC_MSGSEND = YES; 522 | GCC_NO_COMMON_BLOCKS = YES; 523 | INFOPLIST_FILE = "Target Support Files/Pods-DigitInputView_Example/Info.plist"; 524 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 525 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 526 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 527 | MACH_O_TYPE = staticlib; 528 | MODULEMAP_FILE = "Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_Example.modulemap"; 529 | MTL_ENABLE_DEBUG_INFO = NO; 530 | OTHER_LDFLAGS = ""; 531 | OTHER_LIBTOOLFLAGS = ""; 532 | PODS_ROOT = "$(SRCROOT)"; 533 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 534 | PRODUCT_NAME = Pods_DigitInputView_Example; 535 | SDKROOT = iphoneos; 536 | SKIP_INSTALL = YES; 537 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 538 | SWIFT_VERSION = 3.0; 539 | TARGETED_DEVICE_FAMILY = "1,2"; 540 | VERSIONING_SYSTEM = "apple-generic"; 541 | VERSION_INFO_PREFIX = ""; 542 | }; 543 | name = Release; 544 | }; 545 | A8C110D992C9C07DE5B8EF374441A24D /* Debug */ = { 546 | isa = XCBuildConfiguration; 547 | baseConfigurationReference = 9311CB6625A9E4BAE57FADA94F9A357B /* Pods-DigitInputView_Example.debug.xcconfig */; 548 | buildSettings = { 549 | CODE_SIGN_IDENTITY = ""; 550 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 551 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 552 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 553 | CURRENT_PROJECT_VERSION = 1; 554 | DEBUG_INFORMATION_FORMAT = dwarf; 555 | DEFINES_MODULE = YES; 556 | DYLIB_COMPATIBILITY_VERSION = 1; 557 | DYLIB_CURRENT_VERSION = 1; 558 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 559 | ENABLE_STRICT_OBJC_MSGSEND = YES; 560 | GCC_NO_COMMON_BLOCKS = YES; 561 | INFOPLIST_FILE = "Target Support Files/Pods-DigitInputView_Example/Info.plist"; 562 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 563 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 564 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 565 | MACH_O_TYPE = staticlib; 566 | MODULEMAP_FILE = "Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_Example.modulemap"; 567 | MTL_ENABLE_DEBUG_INFO = YES; 568 | OTHER_LDFLAGS = ""; 569 | OTHER_LIBTOOLFLAGS = ""; 570 | PODS_ROOT = "$(SRCROOT)"; 571 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 572 | PRODUCT_NAME = Pods_DigitInputView_Example; 573 | SDKROOT = iphoneos; 574 | SKIP_INSTALL = YES; 575 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 576 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 577 | SWIFT_VERSION = 3.0; 578 | TARGETED_DEVICE_FAMILY = "1,2"; 579 | VERSIONING_SYSTEM = "apple-generic"; 580 | VERSION_INFO_PREFIX = ""; 581 | }; 582 | name = Debug; 583 | }; 584 | BDD0139D6EB93FA375F887ABD62DAB2E /* Release */ = { 585 | isa = XCBuildConfiguration; 586 | buildSettings = { 587 | ALWAYS_SEARCH_USER_PATHS = NO; 588 | CLANG_ANALYZER_NONNULL = YES; 589 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 590 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 591 | CLANG_CXX_LIBRARY = "libc++"; 592 | CLANG_ENABLE_MODULES = YES; 593 | CLANG_ENABLE_OBJC_ARC = YES; 594 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 595 | CLANG_WARN_BOOL_CONVERSION = YES; 596 | CLANG_WARN_COMMA = YES; 597 | CLANG_WARN_CONSTANT_CONVERSION = YES; 598 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 599 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 600 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 601 | CLANG_WARN_EMPTY_BODY = YES; 602 | CLANG_WARN_ENUM_CONVERSION = YES; 603 | CLANG_WARN_INFINITE_RECURSION = YES; 604 | CLANG_WARN_INT_CONVERSION = YES; 605 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 606 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 607 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 608 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 609 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 610 | CLANG_WARN_STRICT_PROTOTYPES = YES; 611 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 612 | CLANG_WARN_UNREACHABLE_CODE = YES; 613 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 614 | CODE_SIGNING_REQUIRED = NO; 615 | COPY_PHASE_STRIP = YES; 616 | ENABLE_NS_ASSERTIONS = NO; 617 | ENABLE_STRICT_OBJC_MSGSEND = YES; 618 | GCC_C_LANGUAGE_STANDARD = gnu99; 619 | GCC_NO_COMMON_BLOCKS = YES; 620 | GCC_PREPROCESSOR_DEFINITIONS = ( 621 | "POD_CONFIGURATION_RELEASE=1", 622 | "$(inherited)", 623 | ); 624 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 625 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 626 | GCC_WARN_UNDECLARED_SELECTOR = YES; 627 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 628 | GCC_WARN_UNUSED_FUNCTION = YES; 629 | GCC_WARN_UNUSED_VARIABLE = YES; 630 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 631 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 632 | STRIP_INSTALLED_PRODUCT = NO; 633 | SWIFT_COMPILATION_MODE = wholemodule; 634 | SYMROOT = "${SRCROOT}/../build"; 635 | VALIDATE_PRODUCT = YES; 636 | }; 637 | name = Release; 638 | }; 639 | D7917F95BF4C47CDD6EFDFD38348DDC9 /* Debug */ = { 640 | isa = XCBuildConfiguration; 641 | baseConfigurationReference = 1D4F452E13ED9381B2CF9C58C8977CC7 /* Pods-DigitInputView_Tests.debug.xcconfig */; 642 | buildSettings = { 643 | CODE_SIGN_IDENTITY = ""; 644 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 645 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 646 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 647 | CURRENT_PROJECT_VERSION = 1; 648 | DEBUG_INFORMATION_FORMAT = dwarf; 649 | DEFINES_MODULE = YES; 650 | DYLIB_COMPATIBILITY_VERSION = 1; 651 | DYLIB_CURRENT_VERSION = 1; 652 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 653 | ENABLE_STRICT_OBJC_MSGSEND = YES; 654 | GCC_NO_COMMON_BLOCKS = YES; 655 | INFOPLIST_FILE = "Target Support Files/Pods-DigitInputView_Tests/Info.plist"; 656 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 657 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 658 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 659 | MACH_O_TYPE = staticlib; 660 | MODULEMAP_FILE = "Target Support Files/Pods-DigitInputView_Tests/Pods-DigitInputView_Tests.modulemap"; 661 | MTL_ENABLE_DEBUG_INFO = YES; 662 | OTHER_LDFLAGS = ""; 663 | OTHER_LIBTOOLFLAGS = ""; 664 | PODS_ROOT = "$(SRCROOT)"; 665 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 666 | PRODUCT_NAME = Pods_DigitInputView_Tests; 667 | SDKROOT = iphoneos; 668 | SKIP_INSTALL = YES; 669 | TARGETED_DEVICE_FAMILY = "1,2"; 670 | VERSIONING_SYSTEM = "apple-generic"; 671 | VERSION_INFO_PREFIX = ""; 672 | }; 673 | name = Debug; 674 | }; 675 | DA3B03E37E472F3C2322D5C9B83669CB /* Release */ = { 676 | isa = XCBuildConfiguration; 677 | baseConfigurationReference = 06000A40FABF113AEC64DC2AA6FA528C /* Pods-DigitInputView_Tests.release.xcconfig */; 678 | buildSettings = { 679 | CODE_SIGN_IDENTITY = ""; 680 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 681 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 682 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 683 | CURRENT_PROJECT_VERSION = 1; 684 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 685 | DEFINES_MODULE = YES; 686 | DYLIB_COMPATIBILITY_VERSION = 1; 687 | DYLIB_CURRENT_VERSION = 1; 688 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 689 | ENABLE_STRICT_OBJC_MSGSEND = YES; 690 | GCC_NO_COMMON_BLOCKS = YES; 691 | INFOPLIST_FILE = "Target Support Files/Pods-DigitInputView_Tests/Info.plist"; 692 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 693 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 694 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 695 | MACH_O_TYPE = staticlib; 696 | MODULEMAP_FILE = "Target Support Files/Pods-DigitInputView_Tests/Pods-DigitInputView_Tests.modulemap"; 697 | MTL_ENABLE_DEBUG_INFO = NO; 698 | OTHER_LDFLAGS = ""; 699 | OTHER_LIBTOOLFLAGS = ""; 700 | PODS_ROOT = "$(SRCROOT)"; 701 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 702 | PRODUCT_NAME = Pods_DigitInputView_Tests; 703 | SDKROOT = iphoneos; 704 | SKIP_INSTALL = YES; 705 | TARGETED_DEVICE_FAMILY = "1,2"; 706 | VERSIONING_SYSTEM = "apple-generic"; 707 | VERSION_INFO_PREFIX = ""; 708 | }; 709 | name = Release; 710 | }; 711 | /* End XCBuildConfiguration section */ 712 | 713 | /* Begin XCConfigurationList section */ 714 | 29FD3AA4005C091D36DB42D8758EAFE4 /* Build configuration list for PBXNativeTarget "Pods-DigitInputView_Example" */ = { 715 | isa = XCConfigurationList; 716 | buildConfigurations = ( 717 | A8C110D992C9C07DE5B8EF374441A24D /* Debug */, 718 | A7EF6159CA759E02A44146DA8C3931B6 /* Release */, 719 | ); 720 | defaultConfigurationIsVisible = 0; 721 | defaultConfigurationName = Release; 722 | }; 723 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 724 | isa = XCConfigurationList; 725 | buildConfigurations = ( 726 | 4E487F173E6C9664F4E9E26B9635D23C /* Debug */, 727 | BDD0139D6EB93FA375F887ABD62DAB2E /* Release */, 728 | ); 729 | defaultConfigurationIsVisible = 0; 730 | defaultConfigurationName = Release; 731 | }; 732 | 5777810B25F914B4164E543652584B79 /* Build configuration list for PBXNativeTarget "DigitInputView" */ = { 733 | isa = XCConfigurationList; 734 | buildConfigurations = ( 735 | 425A2E92DA0D09D25793F1C5D24E943B /* Debug */, 736 | 1DC1AB861D5EA2DA76899C669E771AF1 /* Release */, 737 | ); 738 | defaultConfigurationIsVisible = 0; 739 | defaultConfigurationName = Release; 740 | }; 741 | ACB4C20625FAA92C883D8ED7261BC1F7 /* Build configuration list for PBXNativeTarget "Pods-DigitInputView_Tests" */ = { 742 | isa = XCConfigurationList; 743 | buildConfigurations = ( 744 | D7917F95BF4C47CDD6EFDFD38348DDC9 /* Debug */, 745 | DA3B03E37E472F3C2322D5C9B83669CB /* Release */, 746 | ); 747 | defaultConfigurationIsVisible = 0; 748 | defaultConfigurationName = Release; 749 | }; 750 | /* End XCConfigurationList section */ 751 | }; 752 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 753 | } 754 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DigitInputView/DigitInputView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_DigitInputView : NSObject 3 | @end 4 | @implementation PodsDummy_DigitInputView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DigitInputView/DigitInputView-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/DigitInputView/DigitInputView-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 DigitInputViewVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char DigitInputViewVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DigitInputView/DigitInputView.modulemap: -------------------------------------------------------------------------------- 1 | framework module DigitInputView { 2 | umbrella header "DigitInputView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DigitInputView/DigitInputView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/DigitInputView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/DigitInputView/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.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DigitInputView_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-DigitInputView_Example/Pods-DigitInputView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## DigitInputView 5 | 6 | Copyright (c) 2017 mnvoh 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-DigitInputView_Example/Pods-DigitInputView_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 mnvoh <mnvoh90@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 | DigitInputView 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-DigitInputView_Example/Pods-DigitInputView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DigitInputView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DigitInputView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_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/DigitInputView/DigitInputView.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/DigitInputView/DigitInputView.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_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-DigitInputView_Example/Pods-DigitInputView_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_DigitInputView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_DigitInputView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DigitInputView" 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/DigitInputView/DigitInputView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "DigitInputView" 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-DigitInputView_Example/Pods-DigitInputView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_DigitInputView_Example { 2 | umbrella header "Pods-DigitInputView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DigitInputView_Example/Pods-DigitInputView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DigitInputView" 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/DigitInputView/DigitInputView.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "DigitInputView" 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-DigitInputView_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-DigitInputView_Tests/Pods-DigitInputView_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-DigitInputView_Tests/Pods-DigitInputView_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-DigitInputView_Tests/Pods-DigitInputView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DigitInputView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DigitInputView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DigitInputView_Tests/Pods-DigitInputView_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-DigitInputView_Tests/Pods-DigitInputView_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-DigitInputView_Tests/Pods-DigitInputView_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_DigitInputView_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_DigitInputView_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DigitInputView_Tests/Pods-DigitInputView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DigitInputView" 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/DigitInputView/DigitInputView.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-DigitInputView_Tests/Pods-DigitInputView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_DigitInputView_Tests { 2 | umbrella header "Pods-DigitInputView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-DigitInputView_Tests/Pods-DigitInputView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DigitInputView" 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/DigitInputView/DigitInputView.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.1.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 2 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import DigitInputView 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 mnvoh 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DigitInputView 2 | 3 | [![CI Status](http://img.shields.io/travis/mnvoh/DigitInputView.svg?style=flat)](https://travis-ci.org/mnvoh/DigitInputView) 4 | [![Version](https://img.shields.io/cocoapods/v/DigitInputView.svg?style=flat)](http://cocoapods.org/pods/DigitInputView) 5 | [![License](https://img.shields.io/cocoapods/l/DigitInputView.svg?style=flat)](http://cocoapods.org/pods/DigitInputView) 6 | [![Platform](https://img.shields.io/cocoapods/p/DigitInputView.svg?style=flat)](http://cocoapods.org/pods/DigitInputView) 7 | 8 | ![DigitInputView](https://user-images.githubusercontent.com/4628766/28941699-0aba3938-78ae-11e7-8172-d0cf16dc5ecb.gif) 9 | 10 | ## Installation 11 | 12 | DigitInputView is available through [CocoaPods](http://cocoapods.org). To install 13 | it, simply add the following line to your Podfile: 14 | 15 | ```ruby 16 | pod "DigitInputView" 17 | ``` 18 | 19 | Alternatively, you can simply copy `DigitInputView/Classes/DigitInputView.swift` into your project. 20 | 21 | ## Usage 22 | 23 | You can customize the look and feel of the view according to the following code snippet. 24 | 25 | ``` 26 | digitInput = DigitInputView() 27 | 28 | digitInput.numberOfDigits = 6 29 | digitInput.bottomBorderColor = .purple 30 | digitInput.nextDigitBottomBorderColor = .red 31 | digitInput.textColor = .purple 32 | digitInput.acceptableCharacters = "0123456789" 33 | digitInput.keyboardType = .decimalPad 34 | digitInput.font = UIFont.monospacedDigitSystemFont(ofSize: 10, weight: 1) 35 | digitInput.animationType = .spring 36 | digitInput.keyboardAppearance = .dark 37 | ``` 38 | 39 | ## Options 40 | ### numberOfDigits 41 | The number of digits (characters) to show 42 | 43 | Type: `Int` 44 | 45 | Default: `4` 46 | 47 | ### bottomBorderColor 48 | The color of the line under digits 49 | 50 | Type: `UIColor` 51 | 52 | Default: `UIColor.lightGray` 53 | 54 | ### nextDigitBottomBorderColor 55 | The color of the line under the digit that the user is about to input 56 | 57 | Type: `UIColor` 58 | 59 | Default: `UIColor.gray` 60 | 61 | ### textColor 62 | The color of the text 63 | 64 | Type: `UIColor` 65 | 66 | Default: `UIColor.black` 67 | 68 | ### acceptableCharacters 69 | If set, only the characters in this string are accepted. Anything else will be ignored. 70 | 71 | Type: `String?` 72 | 73 | Default: `nil` 74 | 75 | ### keyboardType 76 | The type of the keyboard to show to the user. 77 | 78 | Type: `UIKeyboardType` 79 | 80 | Default: `UIKeyboardType.default` 81 | 82 | Values: 83 | 84 | 85 | ``` 86 | public enum UIKeyboardType : Int { 87 | 88 | 89 | case `default` // Default type for the current input method. 90 | 91 | case asciiCapable // Displays a keyboard which can enter ASCII characters 92 | 93 | case numbersAndPunctuation // Numbers and assorted punctuation. 94 | 95 | case URL // A type optimized for URL entry (shows . / .com prominently). 96 | 97 | case numberPad // A number pad with locale-appropriate digits (0-9, ۰-۹, ०-९, etc.). Suitable for PIN entry. 98 | 99 | case phonePad // A phone pad (1-9, *, 0, #, with letters under the numbers). 100 | 101 | case namePhonePad // A type optimized for entering a person's name or phone number. 102 | 103 | case emailAddress // A type optimized for multiple email address entry (shows space @ . prominently). 104 | 105 | @available(iOS 4.1, *) 106 | case decimalPad // A number pad with a decimal point. 107 | 108 | @available(iOS 5.0, *) 109 | case twitter // A type optimized for twitter text entry (easy access to @ #) 110 | 111 | @available(iOS 7.0, *) 112 | case webSearch // A default keyboard type with URL-oriented addition (shows space . prominently). 113 | 114 | @available(iOS 10.0, *) 115 | case asciiCapableNumberPad // A number pad (0-9) that will always be ASCII digits. 116 | 117 | 118 | public static var alphabet: UIKeyboardType { get } // Deprecated 119 | } 120 | 121 | ``` 122 | 123 | ### animationType 124 | 125 | The type of animation to use when showing a new digit (on being entered by the user) 126 | 127 | Type: `DigitInputViewAnimationType` 128 | 129 | Default: `.spring` 130 | 131 | Values: 132 | 133 | ``` 134 | 135 | public enum DigitInputViewAnimationType: Int { 136 | case none, dissolve, spring 137 | } 138 | 139 | ``` 140 | 141 | ### font 142 | 143 | The font to be used with labels. 144 | 145 | Type: `UIFont?` 146 | 147 | Default: `nil` (Default System Font) 148 | 149 | ### keyboardAppearance 150 | 151 | Option to choose the keyboard's appearance. Possible values are: 152 | 153 | `default`: This value is mapped to `light` 154 | 155 | `dark`: Choose a dark keyboard 156 | 157 | `light`: Choose a light keyboard 158 | 159 | `alert`: An appearance appropriate for alert dialogs 160 | 161 | 162 | 163 | ## Example 164 | 165 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 166 | 167 | 168 | ## Author 169 | 170 | mnvoh, mnvoh90@gmail.com 171 | 172 | ## License 173 | 174 | DigitInputView is available under the MIT license. See the LICENSE file for more info. 175 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------