├── .gitignore ├── .travis.yml ├── Example ├── OTPTextField.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── OTPTextField-Example.xcscheme ├── OTPTextField.xcworkspace │ └── contents.xcworkspacedata ├── OTPTextField │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── OTPAppDelegate.h │ ├── OTPAppDelegate.m │ ├── OTPTextField-Info.plist │ ├── OTPTextField-Prefix.pch │ ├── OTPViewController.h │ ├── OTPViewController.m │ ├── en.lproj │ │ └── InfoPlist.strings │ └── main.m ├── Podfile ├── Pods │ ├── Local Podspecs │ │ └── OTPTextField.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── OTPTextField.xcscheme │ └── Target Support Files │ │ ├── OTPTextField │ │ ├── Info.plist │ │ ├── OTPTextField-dummy.m │ │ ├── OTPTextField-prefix.pch │ │ ├── OTPTextField-umbrella.h │ │ ├── OTPTextField.modulemap │ │ └── OTPTextField.xcconfig │ │ ├── Pods-OTPTextField_Example │ │ ├── Info.plist │ │ ├── Pods-OTPTextField_Example-acknowledgements.markdown │ │ ├── Pods-OTPTextField_Example-acknowledgements.plist │ │ ├── Pods-OTPTextField_Example-dummy.m │ │ ├── Pods-OTPTextField_Example-frameworks.sh │ │ ├── Pods-OTPTextField_Example-resources.sh │ │ ├── Pods-OTPTextField_Example-umbrella.h │ │ ├── Pods-OTPTextField_Example.debug.xcconfig │ │ ├── Pods-OTPTextField_Example.modulemap │ │ └── Pods-OTPTextField_Example.release.xcconfig │ │ └── Pods-OTPTextField_Tests │ │ ├── Info.plist │ │ ├── Pods-OTPTextField_Tests-acknowledgements.markdown │ │ ├── Pods-OTPTextField_Tests-acknowledgements.plist │ │ ├── Pods-OTPTextField_Tests-dummy.m │ │ ├── Pods-OTPTextField_Tests-frameworks.sh │ │ ├── Pods-OTPTextField_Tests-resources.sh │ │ ├── Pods-OTPTextField_Tests-umbrella.h │ │ ├── Pods-OTPTextField_Tests.debug.xcconfig │ │ ├── Pods-OTPTextField_Tests.modulemap │ │ └── Pods-OTPTextField_Tests.release.xcconfig └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ └── InfoPlist.strings ├── LICENSE ├── OTPTextField.gif ├── OTPTextField.podspec ├── OTPTextField ├── OTPTextField.h └── OTPTextField.m ├── OTPTextFieldManual.gif ├── 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 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 26 | # Carthage/Checkouts 27 | 28 | Carthage/Build 29 | 30 | # We recommend against adding the Pods directory to your .gitignore. However 31 | # you should judge for yourself, the pros and cons are mentioned at: 32 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 33 | # 34 | # Note: if you ignore the Pods directory, make sure to uncomment 35 | # `pod install` in .travis.yml 36 | # 37 | # Pods/ 38 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * https://www.objc.io/issues/6-build-tools/travis-ci/ 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: 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 -enableCodeCoverage YES -workspace Example/OTPTextField.xcworkspace -scheme OTPTextField-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/OTPTextField.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 11 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 12 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 13 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 14 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 15 | 6003F59E195388D20070C39A /* OTPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* OTPAppDelegate.m */; }; 16 | 6003F5A7195388D20070C39A /* OTPViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* OTPViewController.m */; }; 17 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 18 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 19 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 20 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 21 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 22 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 23 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; 24 | 86856476D5F88B5E6565FB96 /* Pods_OTPTextField_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1610DB1F5FD2CB31DF73AC74 /* Pods_OTPTextField_Tests.framework */; }; 25 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 26 | CC63E9B5AAABD1A172BAD3D9 /* Pods_OTPTextField_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14E80375BC782A1396E17262 /* Pods_OTPTextField_Example.framework */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 6003F582195388D10070C39A /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 6003F589195388D20070C39A; 35 | remoteInfo = OTPTextField; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 14E80375BC782A1396E17262 /* Pods_OTPTextField_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OTPTextField_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 1610DB1F5FD2CB31DF73AC74 /* Pods_OTPTextField_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OTPTextField_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 306B33CBB1DB620B2478F10B /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 43 | 42AEA02C7236E421F4CC9090 /* Pods-OTPTextField_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OTPTextField_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-OTPTextField_Tests/Pods-OTPTextField_Tests.release.xcconfig"; sourceTree = ""; }; 44 | 537A3DDA2BF0933F219FE5DE /* Pods-OTPTextField_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OTPTextField_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example.release.xcconfig"; sourceTree = ""; }; 45 | 5C8A32E1F24AF8B60314CD43 /* Pods-OTPTextField_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OTPTextField_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OTPTextField_Tests/Pods-OTPTextField_Tests.debug.xcconfig"; sourceTree = ""; }; 46 | 6003F58A195388D20070C39A /* OTPTextField_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OTPTextField_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 48 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 49 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 50 | 6003F595195388D20070C39A /* OTPTextField-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OTPTextField-Info.plist"; sourceTree = ""; }; 51 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 52 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 53 | 6003F59B195388D20070C39A /* OTPTextField-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OTPTextField-Prefix.pch"; sourceTree = ""; }; 54 | 6003F59C195388D20070C39A /* OTPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OTPAppDelegate.h; sourceTree = ""; }; 55 | 6003F59D195388D20070C39A /* OTPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OTPAppDelegate.m; sourceTree = ""; }; 56 | 6003F5A5195388D20070C39A /* OTPViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OTPViewController.h; sourceTree = ""; }; 57 | 6003F5A6195388D20070C39A /* OTPViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OTPViewController.m; sourceTree = ""; }; 58 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 59 | 6003F5AE195388D20070C39A /* OTPTextField_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OTPTextField_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 61 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 62 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 63 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 64 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 65 | 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 66 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 67 | A1DEF8027D391056BC066987 /* OTPTextField.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = OTPTextField.podspec; path = ../OTPTextField.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 68 | A8BAC0487DD8FD2A64CA2834 /* Pods-OTPTextField_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OTPTextField_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example.debug.xcconfig"; sourceTree = ""; }; 69 | AAD90124681DA98AF24A9AC3 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 70 | /* End PBXFileReference section */ 71 | 72 | /* Begin PBXFrameworksBuildPhase section */ 73 | 6003F587195388D20070C39A /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 78 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 79 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 80 | CC63E9B5AAABD1A172BAD3D9 /* Pods_OTPTextField_Example.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | 6003F5AB195388D20070C39A /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 89 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 90 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 91 | 86856476D5F88B5E6565FB96 /* Pods_OTPTextField_Tests.framework in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | /* End PBXFrameworksBuildPhase section */ 96 | 97 | /* Begin PBXGroup section */ 98 | 3FD25CBD80A7D8A43B844E4B /* Pods */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | A8BAC0487DD8FD2A64CA2834 /* Pods-OTPTextField_Example.debug.xcconfig */, 102 | 537A3DDA2BF0933F219FE5DE /* Pods-OTPTextField_Example.release.xcconfig */, 103 | 5C8A32E1F24AF8B60314CD43 /* Pods-OTPTextField_Tests.debug.xcconfig */, 104 | 42AEA02C7236E421F4CC9090 /* Pods-OTPTextField_Tests.release.xcconfig */, 105 | ); 106 | name = Pods; 107 | sourceTree = ""; 108 | }; 109 | 6003F581195388D10070C39A = { 110 | isa = PBXGroup; 111 | children = ( 112 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 113 | 6003F593195388D20070C39A /* Example for OTPTextField */, 114 | 6003F5B5195388D20070C39A /* Tests */, 115 | 6003F58C195388D20070C39A /* Frameworks */, 116 | 6003F58B195388D20070C39A /* Products */, 117 | 3FD25CBD80A7D8A43B844E4B /* Pods */, 118 | ); 119 | sourceTree = ""; 120 | }; 121 | 6003F58B195388D20070C39A /* Products */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 6003F58A195388D20070C39A /* OTPTextField_Example.app */, 125 | 6003F5AE195388D20070C39A /* OTPTextField_Tests.xctest */, 126 | ); 127 | name = Products; 128 | sourceTree = ""; 129 | }; 130 | 6003F58C195388D20070C39A /* Frameworks */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 6003F58D195388D20070C39A /* Foundation.framework */, 134 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 135 | 6003F591195388D20070C39A /* UIKit.framework */, 136 | 6003F5AF195388D20070C39A /* XCTest.framework */, 137 | 14E80375BC782A1396E17262 /* Pods_OTPTextField_Example.framework */, 138 | 1610DB1F5FD2CB31DF73AC74 /* Pods_OTPTextField_Tests.framework */, 139 | ); 140 | name = Frameworks; 141 | sourceTree = ""; 142 | }; 143 | 6003F593195388D20070C39A /* Example for OTPTextField */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 6003F59C195388D20070C39A /* OTPAppDelegate.h */, 147 | 6003F59D195388D20070C39A /* OTPAppDelegate.m */, 148 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 149 | 6003F5A5195388D20070C39A /* OTPViewController.h */, 150 | 6003F5A6195388D20070C39A /* OTPViewController.m */, 151 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, 152 | 6003F5A8195388D20070C39A /* Images.xcassets */, 153 | 6003F594195388D20070C39A /* Supporting Files */, 154 | ); 155 | name = "Example for OTPTextField"; 156 | path = OTPTextField; 157 | sourceTree = ""; 158 | }; 159 | 6003F594195388D20070C39A /* Supporting Files */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 6003F595195388D20070C39A /* OTPTextField-Info.plist */, 163 | 6003F596195388D20070C39A /* InfoPlist.strings */, 164 | 6003F599195388D20070C39A /* main.m */, 165 | 6003F59B195388D20070C39A /* OTPTextField-Prefix.pch */, 166 | ); 167 | name = "Supporting Files"; 168 | sourceTree = ""; 169 | }; 170 | 6003F5B5195388D20070C39A /* Tests */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | 6003F5BB195388D20070C39A /* Tests.m */, 174 | 6003F5B6195388D20070C39A /* Supporting Files */, 175 | ); 176 | path = Tests; 177 | sourceTree = ""; 178 | }; 179 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 183 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 184 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 185 | ); 186 | name = "Supporting Files"; 187 | sourceTree = ""; 188 | }; 189 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 190 | isa = PBXGroup; 191 | children = ( 192 | A1DEF8027D391056BC066987 /* OTPTextField.podspec */, 193 | 306B33CBB1DB620B2478F10B /* README.md */, 194 | AAD90124681DA98AF24A9AC3 /* LICENSE */, 195 | ); 196 | name = "Podspec Metadata"; 197 | sourceTree = ""; 198 | }; 199 | /* End PBXGroup section */ 200 | 201 | /* Begin PBXNativeTarget section */ 202 | 6003F589195388D20070C39A /* OTPTextField_Example */ = { 203 | isa = PBXNativeTarget; 204 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "OTPTextField_Example" */; 205 | buildPhases = ( 206 | 920305010EF013354DB770CE /* [CP] Check Pods Manifest.lock */, 207 | 6003F586195388D20070C39A /* Sources */, 208 | 6003F587195388D20070C39A /* Frameworks */, 209 | 6003F588195388D20070C39A /* Resources */, 210 | 394C3642C0035DAA6E87E9BA /* [CP] Embed Pods Frameworks */, 211 | ); 212 | buildRules = ( 213 | ); 214 | dependencies = ( 215 | ); 216 | name = OTPTextField_Example; 217 | productName = OTPTextField; 218 | productReference = 6003F58A195388D20070C39A /* OTPTextField_Example.app */; 219 | productType = "com.apple.product-type.application"; 220 | }; 221 | 6003F5AD195388D20070C39A /* OTPTextField_Tests */ = { 222 | isa = PBXNativeTarget; 223 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "OTPTextField_Tests" */; 224 | buildPhases = ( 225 | E76814D0FF3030D27E7956B6 /* [CP] Check Pods Manifest.lock */, 226 | 6003F5AA195388D20070C39A /* Sources */, 227 | 6003F5AB195388D20070C39A /* Frameworks */, 228 | 6003F5AC195388D20070C39A /* Resources */, 229 | ); 230 | buildRules = ( 231 | ); 232 | dependencies = ( 233 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 234 | ); 235 | name = OTPTextField_Tests; 236 | productName = OTPTextFieldTests; 237 | productReference = 6003F5AE195388D20070C39A /* OTPTextField_Tests.xctest */; 238 | productType = "com.apple.product-type.bundle.unit-test"; 239 | }; 240 | /* End PBXNativeTarget section */ 241 | 242 | /* Begin PBXProject section */ 243 | 6003F582195388D10070C39A /* Project object */ = { 244 | isa = PBXProject; 245 | attributes = { 246 | CLASSPREFIX = OTP; 247 | LastUpgradeCheck = 0720; 248 | ORGANIZATIONNAME = Berdikhan; 249 | TargetAttributes = { 250 | 6003F5AD195388D20070C39A = { 251 | TestTargetID = 6003F589195388D20070C39A; 252 | }; 253 | }; 254 | }; 255 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "OTPTextField" */; 256 | compatibilityVersion = "Xcode 3.2"; 257 | developmentRegion = English; 258 | hasScannedForEncodings = 0; 259 | knownRegions = ( 260 | en, 261 | Base, 262 | ); 263 | mainGroup = 6003F581195388D10070C39A; 264 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 265 | projectDirPath = ""; 266 | projectRoot = ""; 267 | targets = ( 268 | 6003F589195388D20070C39A /* OTPTextField_Example */, 269 | 6003F5AD195388D20070C39A /* OTPTextField_Tests */, 270 | ); 271 | }; 272 | /* End PBXProject section */ 273 | 274 | /* Begin PBXResourcesBuildPhase section */ 275 | 6003F588195388D20070C39A /* Resources */ = { 276 | isa = PBXResourcesBuildPhase; 277 | buildActionMask = 2147483647; 278 | files = ( 279 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 280 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, 281 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 282 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 283 | ); 284 | runOnlyForDeploymentPostprocessing = 0; 285 | }; 286 | 6003F5AC195388D20070C39A /* Resources */ = { 287 | isa = PBXResourcesBuildPhase; 288 | buildActionMask = 2147483647; 289 | files = ( 290 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 291 | ); 292 | runOnlyForDeploymentPostprocessing = 0; 293 | }; 294 | /* End PBXResourcesBuildPhase section */ 295 | 296 | /* Begin PBXShellScriptBuildPhase section */ 297 | 394C3642C0035DAA6E87E9BA /* [CP] Embed Pods Frameworks */ = { 298 | isa = PBXShellScriptBuildPhase; 299 | buildActionMask = 2147483647; 300 | files = ( 301 | ); 302 | inputPaths = ( 303 | "${PODS_ROOT}/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example-frameworks.sh", 304 | "${BUILT_PRODUCTS_DIR}/OTPTextField/OTPTextField.framework", 305 | ); 306 | name = "[CP] Embed Pods Frameworks"; 307 | outputPaths = ( 308 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OTPTextField.framework", 309 | ); 310 | runOnlyForDeploymentPostprocessing = 0; 311 | shellPath = /bin/sh; 312 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example-frameworks.sh\"\n"; 313 | showEnvVarsInLog = 0; 314 | }; 315 | 920305010EF013354DB770CE /* [CP] Check Pods Manifest.lock */ = { 316 | isa = PBXShellScriptBuildPhase; 317 | buildActionMask = 2147483647; 318 | files = ( 319 | ); 320 | inputFileListPaths = ( 321 | ); 322 | inputPaths = ( 323 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 324 | "${PODS_ROOT}/Manifest.lock", 325 | ); 326 | name = "[CP] Check Pods Manifest.lock"; 327 | outputFileListPaths = ( 328 | ); 329 | outputPaths = ( 330 | "$(DERIVED_FILE_DIR)/Pods-OTPTextField_Example-checkManifestLockResult.txt", 331 | ); 332 | runOnlyForDeploymentPostprocessing = 0; 333 | shellPath = /bin/sh; 334 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 335 | showEnvVarsInLog = 0; 336 | }; 337 | E76814D0FF3030D27E7956B6 /* [CP] Check Pods Manifest.lock */ = { 338 | isa = PBXShellScriptBuildPhase; 339 | buildActionMask = 2147483647; 340 | files = ( 341 | ); 342 | inputFileListPaths = ( 343 | ); 344 | inputPaths = ( 345 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 346 | "${PODS_ROOT}/Manifest.lock", 347 | ); 348 | name = "[CP] Check Pods Manifest.lock"; 349 | outputFileListPaths = ( 350 | ); 351 | outputPaths = ( 352 | "$(DERIVED_FILE_DIR)/Pods-OTPTextField_Tests-checkManifestLockResult.txt", 353 | ); 354 | runOnlyForDeploymentPostprocessing = 0; 355 | shellPath = /bin/sh; 356 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 357 | showEnvVarsInLog = 0; 358 | }; 359 | /* End PBXShellScriptBuildPhase section */ 360 | 361 | /* Begin PBXSourcesBuildPhase section */ 362 | 6003F586195388D20070C39A /* Sources */ = { 363 | isa = PBXSourcesBuildPhase; 364 | buildActionMask = 2147483647; 365 | files = ( 366 | 6003F59E195388D20070C39A /* OTPAppDelegate.m in Sources */, 367 | 6003F5A7195388D20070C39A /* OTPViewController.m in Sources */, 368 | 6003F59A195388D20070C39A /* main.m in Sources */, 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | }; 372 | 6003F5AA195388D20070C39A /* Sources */ = { 373 | isa = PBXSourcesBuildPhase; 374 | buildActionMask = 2147483647; 375 | files = ( 376 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 377 | ); 378 | runOnlyForDeploymentPostprocessing = 0; 379 | }; 380 | /* End PBXSourcesBuildPhase section */ 381 | 382 | /* Begin PBXTargetDependency section */ 383 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 384 | isa = PBXTargetDependency; 385 | target = 6003F589195388D20070C39A /* OTPTextField_Example */; 386 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 387 | }; 388 | /* End PBXTargetDependency section */ 389 | 390 | /* Begin PBXVariantGroup section */ 391 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 392 | isa = PBXVariantGroup; 393 | children = ( 394 | 6003F597195388D20070C39A /* en */, 395 | ); 396 | name = InfoPlist.strings; 397 | sourceTree = ""; 398 | }; 399 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 400 | isa = PBXVariantGroup; 401 | children = ( 402 | 6003F5B9195388D20070C39A /* en */, 403 | ); 404 | name = InfoPlist.strings; 405 | sourceTree = ""; 406 | }; 407 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { 408 | isa = PBXVariantGroup; 409 | children = ( 410 | 71719F9E1E33DC2100824A3D /* Base */, 411 | ); 412 | name = LaunchScreen.storyboard; 413 | sourceTree = ""; 414 | }; 415 | /* End PBXVariantGroup section */ 416 | 417 | /* Begin XCBuildConfiguration section */ 418 | 6003F5BD195388D20070C39A /* Debug */ = { 419 | isa = XCBuildConfiguration; 420 | buildSettings = { 421 | ALWAYS_SEARCH_USER_PATHS = NO; 422 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 423 | CLANG_CXX_LIBRARY = "libc++"; 424 | CLANG_ENABLE_MODULES = YES; 425 | CLANG_ENABLE_OBJC_ARC = YES; 426 | CLANG_WARN_BOOL_CONVERSION = YES; 427 | CLANG_WARN_CONSTANT_CONVERSION = YES; 428 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 429 | CLANG_WARN_EMPTY_BODY = YES; 430 | CLANG_WARN_ENUM_CONVERSION = YES; 431 | CLANG_WARN_INT_CONVERSION = YES; 432 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 433 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 434 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 435 | COPY_PHASE_STRIP = NO; 436 | ENABLE_TESTABILITY = YES; 437 | GCC_C_LANGUAGE_STANDARD = gnu99; 438 | GCC_DYNAMIC_NO_PIC = NO; 439 | GCC_OPTIMIZATION_LEVEL = 0; 440 | GCC_PREPROCESSOR_DEFINITIONS = ( 441 | "DEBUG=1", 442 | "$(inherited)", 443 | ); 444 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 445 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 446 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 447 | GCC_WARN_UNDECLARED_SELECTOR = YES; 448 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 449 | GCC_WARN_UNUSED_FUNCTION = YES; 450 | GCC_WARN_UNUSED_VARIABLE = YES; 451 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 452 | ONLY_ACTIVE_ARCH = YES; 453 | SDKROOT = iphoneos; 454 | TARGETED_DEVICE_FAMILY = "1,2"; 455 | }; 456 | name = Debug; 457 | }; 458 | 6003F5BE195388D20070C39A /* Release */ = { 459 | isa = XCBuildConfiguration; 460 | buildSettings = { 461 | ALWAYS_SEARCH_USER_PATHS = NO; 462 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 463 | CLANG_CXX_LIBRARY = "libc++"; 464 | CLANG_ENABLE_MODULES = YES; 465 | CLANG_ENABLE_OBJC_ARC = YES; 466 | CLANG_WARN_BOOL_CONVERSION = YES; 467 | CLANG_WARN_CONSTANT_CONVERSION = YES; 468 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 469 | CLANG_WARN_EMPTY_BODY = YES; 470 | CLANG_WARN_ENUM_CONVERSION = YES; 471 | CLANG_WARN_INT_CONVERSION = YES; 472 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 473 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 474 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 475 | COPY_PHASE_STRIP = YES; 476 | ENABLE_NS_ASSERTIONS = NO; 477 | GCC_C_LANGUAGE_STANDARD = gnu99; 478 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 479 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 480 | GCC_WARN_UNDECLARED_SELECTOR = YES; 481 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 482 | GCC_WARN_UNUSED_FUNCTION = YES; 483 | GCC_WARN_UNUSED_VARIABLE = YES; 484 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 485 | SDKROOT = iphoneos; 486 | TARGETED_DEVICE_FAMILY = "1,2"; 487 | VALIDATE_PRODUCT = YES; 488 | }; 489 | name = Release; 490 | }; 491 | 6003F5C0195388D20070C39A /* Debug */ = { 492 | isa = XCBuildConfiguration; 493 | baseConfigurationReference = A8BAC0487DD8FD2A64CA2834 /* Pods-OTPTextField_Example.debug.xcconfig */; 494 | buildSettings = { 495 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 496 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 497 | GCC_PREFIX_HEADER = "OTPTextField/OTPTextField-Prefix.pch"; 498 | INFOPLIST_FILE = "OTPTextField/OTPTextField-Info.plist"; 499 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 500 | MODULE_NAME = ExampleApp; 501 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 502 | PRODUCT_NAME = "$(TARGET_NAME)"; 503 | WRAPPER_EXTENSION = app; 504 | }; 505 | name = Debug; 506 | }; 507 | 6003F5C1195388D20070C39A /* Release */ = { 508 | isa = XCBuildConfiguration; 509 | baseConfigurationReference = 537A3DDA2BF0933F219FE5DE /* Pods-OTPTextField_Example.release.xcconfig */; 510 | buildSettings = { 511 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 512 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 513 | GCC_PREFIX_HEADER = "OTPTextField/OTPTextField-Prefix.pch"; 514 | INFOPLIST_FILE = "OTPTextField/OTPTextField-Info.plist"; 515 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 516 | MODULE_NAME = ExampleApp; 517 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 518 | PRODUCT_NAME = "$(TARGET_NAME)"; 519 | WRAPPER_EXTENSION = app; 520 | }; 521 | name = Release; 522 | }; 523 | 6003F5C3195388D20070C39A /* Debug */ = { 524 | isa = XCBuildConfiguration; 525 | baseConfigurationReference = 5C8A32E1F24AF8B60314CD43 /* Pods-OTPTextField_Tests.debug.xcconfig */; 526 | buildSettings = { 527 | BUNDLE_LOADER = "$(TEST_HOST)"; 528 | FRAMEWORK_SEARCH_PATHS = ( 529 | "$(SDKROOT)/Developer/Library/Frameworks", 530 | "$(inherited)", 531 | "$(DEVELOPER_FRAMEWORKS_DIR)", 532 | ); 533 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 534 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 535 | GCC_PREPROCESSOR_DEFINITIONS = ( 536 | "DEBUG=1", 537 | "$(inherited)", 538 | ); 539 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 540 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 541 | PRODUCT_NAME = "$(TARGET_NAME)"; 542 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OTPTextField_Example.app/OTPTextField_Example"; 543 | WRAPPER_EXTENSION = xctest; 544 | }; 545 | name = Debug; 546 | }; 547 | 6003F5C4195388D20070C39A /* Release */ = { 548 | isa = XCBuildConfiguration; 549 | baseConfigurationReference = 42AEA02C7236E421F4CC9090 /* Pods-OTPTextField_Tests.release.xcconfig */; 550 | buildSettings = { 551 | BUNDLE_LOADER = "$(TEST_HOST)"; 552 | FRAMEWORK_SEARCH_PATHS = ( 553 | "$(SDKROOT)/Developer/Library/Frameworks", 554 | "$(inherited)", 555 | "$(DEVELOPER_FRAMEWORKS_DIR)", 556 | ); 557 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 558 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 559 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 560 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 561 | PRODUCT_NAME = "$(TARGET_NAME)"; 562 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OTPTextField_Example.app/OTPTextField_Example"; 563 | WRAPPER_EXTENSION = xctest; 564 | }; 565 | name = Release; 566 | }; 567 | /* End XCBuildConfiguration section */ 568 | 569 | /* Begin XCConfigurationList section */ 570 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "OTPTextField" */ = { 571 | isa = XCConfigurationList; 572 | buildConfigurations = ( 573 | 6003F5BD195388D20070C39A /* Debug */, 574 | 6003F5BE195388D20070C39A /* Release */, 575 | ); 576 | defaultConfigurationIsVisible = 0; 577 | defaultConfigurationName = Release; 578 | }; 579 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "OTPTextField_Example" */ = { 580 | isa = XCConfigurationList; 581 | buildConfigurations = ( 582 | 6003F5C0195388D20070C39A /* Debug */, 583 | 6003F5C1195388D20070C39A /* Release */, 584 | ); 585 | defaultConfigurationIsVisible = 0; 586 | defaultConfigurationName = Release; 587 | }; 588 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "OTPTextField_Tests" */ = { 589 | isa = XCConfigurationList; 590 | buildConfigurations = ( 591 | 6003F5C3195388D20070C39A /* Debug */, 592 | 6003F5C4195388D20070C39A /* Release */, 593 | ); 594 | defaultConfigurationIsVisible = 0; 595 | defaultConfigurationName = Release; 596 | }; 597 | /* End XCConfigurationList section */ 598 | }; 599 | rootObject = 6003F582195388D10070C39A /* Project object */; 600 | } 601 | -------------------------------------------------------------------------------- /Example/OTPTextField.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/OTPTextField.xcodeproj/xcshareddata/xcschemes/OTPTextField-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Example/OTPTextField.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/OTPTextField/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/OTPTextField/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /Example/OTPTextField/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /Example/OTPTextField/OTPAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // OTPAppDelegate.h 3 | // OTPTextField 4 | // 5 | // Created by Berdikhan on 11/22/2018. 6 | // Copyright (c) 2018 Berdikhan. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface OTPAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/OTPTextField/OTPAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // OTPAppDelegate.m 3 | // OTPTextField 4 | // 5 | // Created by Berdikhan on 11/22/2018. 6 | // Copyright (c) 2018 Berdikhan. All rights reserved. 7 | // 8 | 9 | #import "OTPAppDelegate.h" 10 | 11 | @implementation OTPAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // 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. 22 | // 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. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 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 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/OTPTextField/OTPTextField-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/OTPTextField/OTPTextField-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/OTPTextField/OTPViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // OTPViewController.h 3 | // OTPTextField 4 | // 5 | // Created by Berdikhan on 11/22/2018. 6 | // Copyright (c) 2018 Berdikhan. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface OTPViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/OTPTextField/OTPViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // OTPViewController.m 3 | // OTPTextField 4 | // 5 | // Created by Berdikhan on 11/22/2018. 6 | // Copyright (c) 2018 Berdikhan. All rights reserved. 7 | // 8 | 9 | #import "OTPViewController.h" 10 | #import 11 | 12 | @interface OTPViewController () 13 | @property (weak, nonatomic) IBOutlet OTPTextField *otpTextField; 14 | 15 | @end 16 | 17 | @implementation OTPViewController 18 | 19 | - (void)viewDidLoad 20 | { 21 | [super viewDidLoad]; 22 | // Do any additional setup after loading the view, typically from a nib. 23 | } 24 | 25 | -(void)viewDidAppear:(BOOL)animated { 26 | [super viewDidAppear:animated]; 27 | [_otpTextField becomeFirstResponder]; 28 | } 29 | 30 | - (void)didReceiveMemoryWarning 31 | { 32 | [super didReceiveMemoryWarning]; 33 | // Dispose of any resources that can be recreated. 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Example/OTPTextField/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/OTPTextField/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // OTPTextField 4 | // 5 | // Created by Berdikhan on 11/22/2018. 6 | // Copyright (c) 2018 Berdikhan. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "OTPAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([OTPAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'OTPTextField_Example' do 4 | pod 'OTPTextField', :path => '../' 5 | 6 | target 'OTPTextField_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/OTPTextField.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "OTPTextField", 3 | "version": "0.1.0", 4 | "summary": "A short description of OTPTextField.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/Berdikhan/OTPTextField", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Berdikhan": "berdikhan@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/Berdikhan/OTPTextField.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "OTPTextField/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - OTPTextField (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - OTPTextField (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | OTPTextField: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | OTPTextField: 4e6c343f7c3c502f07ea079234ac8f1d0f98ba0c 13 | 14 | PODFILE CHECKSUM: 14274649ee4784fe52705565d020c650e73a1421 15 | 16 | COCOAPODS: 1.5.3 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 | 17E8D64735DFD03A325F303A78881C63 /* Pods-OTPTextField_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0B9E5DC409C692ACE81987B3C41612F6 /* Pods-OTPTextField_Tests-dummy.m */; }; 11 | 1C4A693421A6FF450021FA70 /* OTPTextField.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C4A693221A6FF450021FA70 /* OTPTextField.h */; settings = {ATTRIBUTES = (Public, ); }; }; 12 | 1C4A693521A6FF450021FA70 /* OTPTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 1C4A693321A6FF450021FA70 /* OTPTextField.m */; }; 13 | 3CC75FB02C7AC5058203D6DEFACC23ED /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */; }; 14 | 4B9889EB245AF515C05699C2052A92CF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */; }; 15 | 592E49AF5E8FC05DEF2ED2F76B908C3A /* Pods-OTPTextField_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 25270684DB65DFBF47505EFA6B1CF525 /* Pods-OTPTextField_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 6AD83D86766F4A137DE00FF3C23A6D8B /* OTPTextField-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D3AE3833067A95502A64AEF1A68AF517 /* OTPTextField-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | 82876D5A9FB87335374AB301477C8C18 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */; }; 18 | AED6C61B2E1B3DA48C3D72E7F8745D2C /* OTPTextField-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 44438014207AEC84222E9697C62D876E /* OTPTextField-dummy.m */; }; 19 | BB040B7BD3EF8AB1D7EF2A6F3925C3BE /* Pods-OTPTextField_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 683F7128830288A17668DBE32E3E7153 /* Pods-OTPTextField_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | CDCD823809EBFB1519012DFFB896F96D /* Pods-OTPTextField_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1213E83B997AB1B4E17E4FD42C3F0EA4 /* Pods-OTPTextField_Example-dummy.m */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | 36FFFE835BFCA785540B59F20A004207 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = 7B1B6263E5A9B92623449C4DA02978E2; 29 | remoteInfo = "Pods-OTPTextField_Example"; 30 | }; 31 | 4E6F4494E9DCE19C75512C722C628E09 /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = 12982674F5C3F02C062A64D172368AA8; 36 | remoteInfo = OTPTextField; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 0B9E5DC409C692ACE81987B3C41612F6 /* Pods-OTPTextField_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OTPTextField_Tests-dummy.m"; sourceTree = ""; }; 42 | 0D33E653340E69761CA5D35718F907A9 /* OTPTextField.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = OTPTextField.xcconfig; sourceTree = ""; }; 43 | 0E346165E486FADFF7F85FB34B8B7148 /* Pods_OTPTextField_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OTPTextField_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 1213E83B997AB1B4E17E4FD42C3F0EA4 /* Pods-OTPTextField_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-OTPTextField_Example-dummy.m"; sourceTree = ""; }; 45 | 13568AF2B2A83732818E9822E005A252 /* Pods-OTPTextField_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OTPTextField_Example.debug.xcconfig"; sourceTree = ""; }; 46 | 1AD7652E1852977A88C4118B84F67875 /* Pods-OTPTextField_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-OTPTextField_Example.modulemap"; sourceTree = ""; }; 47 | 1C4A693221A6FF450021FA70 /* OTPTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OTPTextField.h; path = OTPTextField/OTPTextField.h; sourceTree = ""; }; 48 | 1C4A693321A6FF450021FA70 /* OTPTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = OTPTextField.m; path = OTPTextField/OTPTextField.m; sourceTree = ""; }; 49 | 2104103421E2F174D44582B0CC8E564C /* Pods-OTPTextField_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OTPTextField_Example-frameworks.sh"; sourceTree = ""; }; 50 | 231BDFDC7F0C67120C8F2BC448AF4A85 /* Pods-OTPTextField_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OTPTextField_Example-resources.sh"; sourceTree = ""; }; 51 | 25270684DB65DFBF47505EFA6B1CF525 /* Pods-OTPTextField_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OTPTextField_Tests-umbrella.h"; sourceTree = ""; }; 52 | 2748676619C490B5981AF713A50C4343 /* Pods-OTPTextField_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OTPTextField_Tests.debug.xcconfig"; sourceTree = ""; }; 53 | 34DC721DA8B0C2B8EA42784210D94B91 /* OTPTextField.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; path = OTPTextField.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 54 | 36517DD82116AEA14752A4712C2A2B3F /* Pods_OTPTextField_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OTPTextField_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | 3DC88D3B2B7352BFA344E0C32CA9226D /* Pods-OTPTextField_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OTPTextField_Tests-acknowledgements.markdown"; sourceTree = ""; }; 56 | 44438014207AEC84222E9697C62D876E /* OTPTextField-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OTPTextField-dummy.m"; sourceTree = ""; }; 57 | 44B209DFF021219247E171ADC5E6A4CA /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 58 | 65347A3C80EEC7CF5A8A23AC618FB8AE /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 59 | 683F7128830288A17668DBE32E3E7153 /* Pods-OTPTextField_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-OTPTextField_Example-umbrella.h"; sourceTree = ""; }; 60 | 6F9D6F79E2DED6EE2256428488F54B78 /* Pods-OTPTextField_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OTPTextField_Tests-acknowledgements.plist"; sourceTree = ""; }; 61 | 8069ABDF663369AD371ADE5AC7F9BDD4 /* Pods-OTPTextField_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-OTPTextField_Example-acknowledgements.plist"; sourceTree = ""; }; 62 | 82DE637BE385EFFF00418E01B51400BA /* Pods-OTPTextField_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-OTPTextField_Tests.modulemap"; sourceTree = ""; }; 63 | 842D61968554BCD6352BF3BFB9393740 /* Pods-OTPTextField_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OTPTextField_Tests.release.xcconfig"; sourceTree = ""; }; 64 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 65 | A29CA21A2D00F57EB6297EAEC59AA5CB /* Pods-OTPTextField_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-OTPTextField_Example-acknowledgements.markdown"; sourceTree = ""; }; 66 | C15793A858FA0C67072E3615252A910F /* OTPTextField-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OTPTextField-prefix.pch"; sourceTree = ""; }; 67 | C170A45F680AD7FAFE0C1706FBDD4743 /* OTPTextField.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OTPTextField.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | C93D36AA34987D66BFE2E002E741432D /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 69 | D2884EBFA6B5708A63F73E1C0BBB7C99 /* OTPTextField.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = OTPTextField.modulemap; sourceTree = ""; }; 70 | D3AE3833067A95502A64AEF1A68AF517 /* OTPTextField-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OTPTextField-umbrella.h"; sourceTree = ""; }; 71 | D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 72 | E1A9180075025F8B0D5AFFED1CC8DA60 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 73 | F1EDF6ED82A5F84F9F30E7236C9B12E1 /* Pods-OTPTextField_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OTPTextField_Tests-frameworks.sh"; sourceTree = ""; }; 74 | F3931A3669C9EE566B02A15918A01CF6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 75 | F67BAA4CF1C2F71D461FE3170B3DCDCA /* Pods-OTPTextField_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-OTPTextField_Example.release.xcconfig"; sourceTree = ""; }; 76 | FF663EFE3F502073FDD7A02F18F60E7E /* Pods-OTPTextField_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-OTPTextField_Tests-resources.sh"; sourceTree = ""; }; 77 | /* End PBXFileReference section */ 78 | 79 | /* Begin PBXFrameworksBuildPhase section */ 80 | 10A81BF60E2EFC10E86F22859B77E508 /* Frameworks */ = { 81 | isa = PBXFrameworksBuildPhase; 82 | buildActionMask = 2147483647; 83 | files = ( 84 | 4B9889EB245AF515C05699C2052A92CF /* Foundation.framework in Frameworks */, 85 | ); 86 | runOnlyForDeploymentPostprocessing = 0; 87 | }; 88 | 434E24612493E3D40950B8CAE058E61B /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | 82876D5A9FB87335374AB301477C8C18 /* Foundation.framework in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | D60A338780CC3F61CCAA40B533762B51 /* Frameworks */ = { 97 | isa = PBXFrameworksBuildPhase; 98 | buildActionMask = 2147483647; 99 | files = ( 100 | 3CC75FB02C7AC5058203D6DEFACC23ED /* Foundation.framework in Frameworks */, 101 | ); 102 | runOnlyForDeploymentPostprocessing = 0; 103 | }; 104 | /* End PBXFrameworksBuildPhase section */ 105 | 106 | /* Begin PBXGroup section */ 107 | 1D9DD2C8335188571F80D6E47BF8DA52 /* Targets Support Files */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 2DDF854635786881F4D9BB9E1DDFB1E9 /* Pods-OTPTextField_Example */, 111 | 3C555E977C3AC373E4115743ABF0133D /* Pods-OTPTextField_Tests */, 112 | ); 113 | name = "Targets Support Files"; 114 | sourceTree = ""; 115 | }; 116 | 2DDF854635786881F4D9BB9E1DDFB1E9 /* Pods-OTPTextField_Example */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | E1A9180075025F8B0D5AFFED1CC8DA60 /* Info.plist */, 120 | 1AD7652E1852977A88C4118B84F67875 /* Pods-OTPTextField_Example.modulemap */, 121 | A29CA21A2D00F57EB6297EAEC59AA5CB /* Pods-OTPTextField_Example-acknowledgements.markdown */, 122 | 8069ABDF663369AD371ADE5AC7F9BDD4 /* Pods-OTPTextField_Example-acknowledgements.plist */, 123 | 1213E83B997AB1B4E17E4FD42C3F0EA4 /* Pods-OTPTextField_Example-dummy.m */, 124 | 2104103421E2F174D44582B0CC8E564C /* Pods-OTPTextField_Example-frameworks.sh */, 125 | 231BDFDC7F0C67120C8F2BC448AF4A85 /* Pods-OTPTextField_Example-resources.sh */, 126 | 683F7128830288A17668DBE32E3E7153 /* Pods-OTPTextField_Example-umbrella.h */, 127 | 13568AF2B2A83732818E9822E005A252 /* Pods-OTPTextField_Example.debug.xcconfig */, 128 | F67BAA4CF1C2F71D461FE3170B3DCDCA /* Pods-OTPTextField_Example.release.xcconfig */, 129 | ); 130 | name = "Pods-OTPTextField_Example"; 131 | path = "Target Support Files/Pods-OTPTextField_Example"; 132 | sourceTree = ""; 133 | }; 134 | 3C555E977C3AC373E4115743ABF0133D /* Pods-OTPTextField_Tests */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 44B209DFF021219247E171ADC5E6A4CA /* Info.plist */, 138 | 82DE637BE385EFFF00418E01B51400BA /* Pods-OTPTextField_Tests.modulemap */, 139 | 3DC88D3B2B7352BFA344E0C32CA9226D /* Pods-OTPTextField_Tests-acknowledgements.markdown */, 140 | 6F9D6F79E2DED6EE2256428488F54B78 /* Pods-OTPTextField_Tests-acknowledgements.plist */, 141 | 0B9E5DC409C692ACE81987B3C41612F6 /* Pods-OTPTextField_Tests-dummy.m */, 142 | F1EDF6ED82A5F84F9F30E7236C9B12E1 /* Pods-OTPTextField_Tests-frameworks.sh */, 143 | FF663EFE3F502073FDD7A02F18F60E7E /* Pods-OTPTextField_Tests-resources.sh */, 144 | 25270684DB65DFBF47505EFA6B1CF525 /* Pods-OTPTextField_Tests-umbrella.h */, 145 | 2748676619C490B5981AF713A50C4343 /* Pods-OTPTextField_Tests.debug.xcconfig */, 146 | 842D61968554BCD6352BF3BFB9393740 /* Pods-OTPTextField_Tests.release.xcconfig */, 147 | ); 148 | name = "Pods-OTPTextField_Tests"; 149 | path = "Target Support Files/Pods-OTPTextField_Tests"; 150 | sourceTree = ""; 151 | }; 152 | 44D5347904CF754D6785B84253F2574A /* iOS */ = { 153 | isa = PBXGroup; 154 | children = ( 155 | D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */, 156 | ); 157 | name = iOS; 158 | sourceTree = ""; 159 | }; 160 | 54F3CDF059AEBC2AFAA120470091C4F3 /* Development Pods */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | 8B1A52C8DB6A22D7CA192ABE3D5B4702 /* OTPTextField */, 164 | ); 165 | name = "Development Pods"; 166 | sourceTree = ""; 167 | }; 168 | 7DB346D0F39D3F0E887471402A8071AB = { 169 | isa = PBXGroup; 170 | children = ( 171 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 172 | 54F3CDF059AEBC2AFAA120470091C4F3 /* Development Pods */, 173 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 174 | A9CCE00D3C89FA92732DAF860233116B /* Products */, 175 | 1D9DD2C8335188571F80D6E47BF8DA52 /* Targets Support Files */, 176 | ); 177 | sourceTree = ""; 178 | }; 179 | 8B1A52C8DB6A22D7CA192ABE3D5B4702 /* OTPTextField */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 1C4A693221A6FF450021FA70 /* OTPTextField.h */, 183 | 1C4A693321A6FF450021FA70 /* OTPTextField.m */, 184 | 937B1A4C7F20B6619CEAD466959F6C0A /* Pod */, 185 | F1DF2B5DB6935E6D688F1E9441270946 /* Support Files */, 186 | ); 187 | name = OTPTextField; 188 | path = ../..; 189 | sourceTree = ""; 190 | }; 191 | 937B1A4C7F20B6619CEAD466959F6C0A /* Pod */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | C93D36AA34987D66BFE2E002E741432D /* LICENSE */, 195 | 34DC721DA8B0C2B8EA42784210D94B91 /* OTPTextField.podspec */, 196 | 65347A3C80EEC7CF5A8A23AC618FB8AE /* README.md */, 197 | ); 198 | name = Pod; 199 | sourceTree = ""; 200 | }; 201 | A9CCE00D3C89FA92732DAF860233116B /* Products */ = { 202 | isa = PBXGroup; 203 | children = ( 204 | C170A45F680AD7FAFE0C1706FBDD4743 /* OTPTextField.framework */, 205 | 0E346165E486FADFF7F85FB34B8B7148 /* Pods_OTPTextField_Example.framework */, 206 | 36517DD82116AEA14752A4712C2A2B3F /* Pods_OTPTextField_Tests.framework */, 207 | ); 208 | name = Products; 209 | sourceTree = ""; 210 | }; 211 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 212 | isa = PBXGroup; 213 | children = ( 214 | 44D5347904CF754D6785B84253F2574A /* iOS */, 215 | ); 216 | name = Frameworks; 217 | sourceTree = ""; 218 | }; 219 | F1DF2B5DB6935E6D688F1E9441270946 /* Support Files */ = { 220 | isa = PBXGroup; 221 | children = ( 222 | F3931A3669C9EE566B02A15918A01CF6 /* Info.plist */, 223 | D2884EBFA6B5708A63F73E1C0BBB7C99 /* OTPTextField.modulemap */, 224 | 0D33E653340E69761CA5D35718F907A9 /* OTPTextField.xcconfig */, 225 | 44438014207AEC84222E9697C62D876E /* OTPTextField-dummy.m */, 226 | C15793A858FA0C67072E3615252A910F /* OTPTextField-prefix.pch */, 227 | D3AE3833067A95502A64AEF1A68AF517 /* OTPTextField-umbrella.h */, 228 | ); 229 | name = "Support Files"; 230 | path = "Example/Pods/Target Support Files/OTPTextField"; 231 | sourceTree = ""; 232 | }; 233 | /* End PBXGroup section */ 234 | 235 | /* Begin PBXHeadersBuildPhase section */ 236 | 5A28B791007025C908D324E7B0E453AE /* Headers */ = { 237 | isa = PBXHeadersBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | 1C4A693421A6FF450021FA70 /* OTPTextField.h in Headers */, 241 | 6AD83D86766F4A137DE00FF3C23A6D8B /* OTPTextField-umbrella.h in Headers */, 242 | ); 243 | runOnlyForDeploymentPostprocessing = 0; 244 | }; 245 | E260401DB8F7BB1FED416CF44118D297 /* Headers */ = { 246 | isa = PBXHeadersBuildPhase; 247 | buildActionMask = 2147483647; 248 | files = ( 249 | 592E49AF5E8FC05DEF2ED2F76B908C3A /* Pods-OTPTextField_Tests-umbrella.h in Headers */, 250 | ); 251 | runOnlyForDeploymentPostprocessing = 0; 252 | }; 253 | E5F5433D47A4F7F230243520EE40DEA2 /* Headers */ = { 254 | isa = PBXHeadersBuildPhase; 255 | buildActionMask = 2147483647; 256 | files = ( 257 | BB040B7BD3EF8AB1D7EF2A6F3925C3BE /* Pods-OTPTextField_Example-umbrella.h in Headers */, 258 | ); 259 | runOnlyForDeploymentPostprocessing = 0; 260 | }; 261 | /* End PBXHeadersBuildPhase section */ 262 | 263 | /* Begin PBXNativeTarget section */ 264 | 12982674F5C3F02C062A64D172368AA8 /* OTPTextField */ = { 265 | isa = PBXNativeTarget; 266 | buildConfigurationList = 951582755BA3BC81BF1A4D9403EB9578 /* Build configuration list for PBXNativeTarget "OTPTextField" */; 267 | buildPhases = ( 268 | 5A28B791007025C908D324E7B0E453AE /* Headers */, 269 | D0E37E4AEF88A5F766503AB959E0E4F6 /* Sources */, 270 | 10A81BF60E2EFC10E86F22859B77E508 /* Frameworks */, 271 | 70DE498318CBC5C9E29B9E6B96108EE6 /* Resources */, 272 | ); 273 | buildRules = ( 274 | ); 275 | dependencies = ( 276 | ); 277 | name = OTPTextField; 278 | productName = OTPTextField; 279 | productReference = C170A45F680AD7FAFE0C1706FBDD4743 /* OTPTextField.framework */; 280 | productType = "com.apple.product-type.framework"; 281 | }; 282 | 7B1B6263E5A9B92623449C4DA02978E2 /* Pods-OTPTextField_Example */ = { 283 | isa = PBXNativeTarget; 284 | buildConfigurationList = 239CDFFED99DD4BC73E83266CBB66F05 /* Build configuration list for PBXNativeTarget "Pods-OTPTextField_Example" */; 285 | buildPhases = ( 286 | E5F5433D47A4F7F230243520EE40DEA2 /* Headers */, 287 | F99DEAA4061F6E19B6F71543B398A1D5 /* Sources */, 288 | D60A338780CC3F61CCAA40B533762B51 /* Frameworks */, 289 | F59AB33242357AB0C14F740AB5FA7C27 /* Resources */, 290 | ); 291 | buildRules = ( 292 | ); 293 | dependencies = ( 294 | 7B7AF2E9C4B237BA9C39FE1C44A1A4A8 /* PBXTargetDependency */, 295 | ); 296 | name = "Pods-OTPTextField_Example"; 297 | productName = "Pods-OTPTextField_Example"; 298 | productReference = 0E346165E486FADFF7F85FB34B8B7148 /* Pods_OTPTextField_Example.framework */; 299 | productType = "com.apple.product-type.framework"; 300 | }; 301 | 910C3FBC758730A4AF2C7C23A69896EC /* Pods-OTPTextField_Tests */ = { 302 | isa = PBXNativeTarget; 303 | buildConfigurationList = C6338FA744A310B947CB3ECB7A2D6F5F /* Build configuration list for PBXNativeTarget "Pods-OTPTextField_Tests" */; 304 | buildPhases = ( 305 | E260401DB8F7BB1FED416CF44118D297 /* Headers */, 306 | E6BC67C337EB827EAC0EF1646FC2C5CE /* Sources */, 307 | 434E24612493E3D40950B8CAE058E61B /* Frameworks */, 308 | 42E5C218DF4A6AED8DFC8EF64D9222E7 /* Resources */, 309 | ); 310 | buildRules = ( 311 | ); 312 | dependencies = ( 313 | 9CE92E4C9995F0D0CE77D88CF0375B04 /* PBXTargetDependency */, 314 | ); 315 | name = "Pods-OTPTextField_Tests"; 316 | productName = "Pods-OTPTextField_Tests"; 317 | productReference = 36517DD82116AEA14752A4712C2A2B3F /* Pods_OTPTextField_Tests.framework */; 318 | productType = "com.apple.product-type.framework"; 319 | }; 320 | /* End PBXNativeTarget section */ 321 | 322 | /* Begin PBXProject section */ 323 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 324 | isa = PBXProject; 325 | attributes = { 326 | LastSwiftUpdateCheck = 0930; 327 | LastUpgradeCheck = 0930; 328 | }; 329 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 330 | compatibilityVersion = "Xcode 3.2"; 331 | developmentRegion = English; 332 | hasScannedForEncodings = 0; 333 | knownRegions = ( 334 | en, 335 | ); 336 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 337 | productRefGroup = A9CCE00D3C89FA92732DAF860233116B /* Products */; 338 | projectDirPath = ""; 339 | projectRoot = ""; 340 | targets = ( 341 | 12982674F5C3F02C062A64D172368AA8 /* OTPTextField */, 342 | 7B1B6263E5A9B92623449C4DA02978E2 /* Pods-OTPTextField_Example */, 343 | 910C3FBC758730A4AF2C7C23A69896EC /* Pods-OTPTextField_Tests */, 344 | ); 345 | }; 346 | /* End PBXProject section */ 347 | 348 | /* Begin PBXResourcesBuildPhase section */ 349 | 42E5C218DF4A6AED8DFC8EF64D9222E7 /* Resources */ = { 350 | isa = PBXResourcesBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | ); 354 | runOnlyForDeploymentPostprocessing = 0; 355 | }; 356 | 70DE498318CBC5C9E29B9E6B96108EE6 /* Resources */ = { 357 | isa = PBXResourcesBuildPhase; 358 | buildActionMask = 2147483647; 359 | files = ( 360 | ); 361 | runOnlyForDeploymentPostprocessing = 0; 362 | }; 363 | F59AB33242357AB0C14F740AB5FA7C27 /* Resources */ = { 364 | isa = PBXResourcesBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | ); 368 | runOnlyForDeploymentPostprocessing = 0; 369 | }; 370 | /* End PBXResourcesBuildPhase section */ 371 | 372 | /* Begin PBXSourcesBuildPhase section */ 373 | D0E37E4AEF88A5F766503AB959E0E4F6 /* Sources */ = { 374 | isa = PBXSourcesBuildPhase; 375 | buildActionMask = 2147483647; 376 | files = ( 377 | AED6C61B2E1B3DA48C3D72E7F8745D2C /* OTPTextField-dummy.m in Sources */, 378 | 1C4A693521A6FF450021FA70 /* OTPTextField.m in Sources */, 379 | ); 380 | runOnlyForDeploymentPostprocessing = 0; 381 | }; 382 | E6BC67C337EB827EAC0EF1646FC2C5CE /* Sources */ = { 383 | isa = PBXSourcesBuildPhase; 384 | buildActionMask = 2147483647; 385 | files = ( 386 | 17E8D64735DFD03A325F303A78881C63 /* Pods-OTPTextField_Tests-dummy.m in Sources */, 387 | ); 388 | runOnlyForDeploymentPostprocessing = 0; 389 | }; 390 | F99DEAA4061F6E19B6F71543B398A1D5 /* Sources */ = { 391 | isa = PBXSourcesBuildPhase; 392 | buildActionMask = 2147483647; 393 | files = ( 394 | CDCD823809EBFB1519012DFFB896F96D /* Pods-OTPTextField_Example-dummy.m in Sources */, 395 | ); 396 | runOnlyForDeploymentPostprocessing = 0; 397 | }; 398 | /* End PBXSourcesBuildPhase section */ 399 | 400 | /* Begin PBXTargetDependency section */ 401 | 7B7AF2E9C4B237BA9C39FE1C44A1A4A8 /* PBXTargetDependency */ = { 402 | isa = PBXTargetDependency; 403 | name = OTPTextField; 404 | target = 12982674F5C3F02C062A64D172368AA8 /* OTPTextField */; 405 | targetProxy = 4E6F4494E9DCE19C75512C722C628E09 /* PBXContainerItemProxy */; 406 | }; 407 | 9CE92E4C9995F0D0CE77D88CF0375B04 /* PBXTargetDependency */ = { 408 | isa = PBXTargetDependency; 409 | name = "Pods-OTPTextField_Example"; 410 | target = 7B1B6263E5A9B92623449C4DA02978E2 /* Pods-OTPTextField_Example */; 411 | targetProxy = 36FFFE835BFCA785540B59F20A004207 /* PBXContainerItemProxy */; 412 | }; 413 | /* End PBXTargetDependency section */ 414 | 415 | /* Begin XCBuildConfiguration section */ 416 | 50646285DD9FD95AF390BDA3FB1948EA /* Debug */ = { 417 | isa = XCBuildConfiguration; 418 | buildSettings = { 419 | ALWAYS_SEARCH_USER_PATHS = NO; 420 | CLANG_ANALYZER_NONNULL = YES; 421 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 422 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 423 | CLANG_CXX_LIBRARY = "libc++"; 424 | CLANG_ENABLE_MODULES = YES; 425 | CLANG_ENABLE_OBJC_ARC = YES; 426 | CLANG_ENABLE_OBJC_WEAK = YES; 427 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 428 | CLANG_WARN_BOOL_CONVERSION = YES; 429 | CLANG_WARN_COMMA = YES; 430 | CLANG_WARN_CONSTANT_CONVERSION = YES; 431 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 432 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 433 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 434 | CLANG_WARN_EMPTY_BODY = YES; 435 | CLANG_WARN_ENUM_CONVERSION = YES; 436 | CLANG_WARN_INFINITE_RECURSION = YES; 437 | CLANG_WARN_INT_CONVERSION = YES; 438 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 439 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 440 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 441 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 442 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 443 | CLANG_WARN_STRICT_PROTOTYPES = YES; 444 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 445 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 446 | CLANG_WARN_UNREACHABLE_CODE = YES; 447 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 448 | CODE_SIGNING_ALLOWED = NO; 449 | CODE_SIGNING_REQUIRED = NO; 450 | COPY_PHASE_STRIP = NO; 451 | DEBUG_INFORMATION_FORMAT = dwarf; 452 | ENABLE_STRICT_OBJC_MSGSEND = YES; 453 | ENABLE_TESTABILITY = YES; 454 | GCC_C_LANGUAGE_STANDARD = gnu11; 455 | GCC_DYNAMIC_NO_PIC = NO; 456 | GCC_NO_COMMON_BLOCKS = YES; 457 | GCC_OPTIMIZATION_LEVEL = 0; 458 | GCC_PREPROCESSOR_DEFINITIONS = ( 459 | "POD_CONFIGURATION_DEBUG=1", 460 | "DEBUG=1", 461 | "$(inherited)", 462 | ); 463 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 464 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 465 | GCC_WARN_UNDECLARED_SELECTOR = YES; 466 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 467 | GCC_WARN_UNUSED_FUNCTION = YES; 468 | GCC_WARN_UNUSED_VARIABLE = YES; 469 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 470 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 471 | MTL_FAST_MATH = YES; 472 | ONLY_ACTIVE_ARCH = YES; 473 | PRODUCT_NAME = "$(TARGET_NAME)"; 474 | STRIP_INSTALLED_PRODUCT = NO; 475 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 476 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 477 | SWIFT_VERSION = 4.2; 478 | SYMROOT = "${SRCROOT}/../build"; 479 | }; 480 | name = Debug; 481 | }; 482 | 58DCB2BA7C34E84C00C38CEF18A96D11 /* Release */ = { 483 | isa = XCBuildConfiguration; 484 | buildSettings = { 485 | ALWAYS_SEARCH_USER_PATHS = NO; 486 | CLANG_ANALYZER_NONNULL = YES; 487 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 488 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 489 | CLANG_CXX_LIBRARY = "libc++"; 490 | CLANG_ENABLE_MODULES = YES; 491 | CLANG_ENABLE_OBJC_ARC = YES; 492 | CLANG_ENABLE_OBJC_WEAK = YES; 493 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 494 | CLANG_WARN_BOOL_CONVERSION = YES; 495 | CLANG_WARN_COMMA = YES; 496 | CLANG_WARN_CONSTANT_CONVERSION = YES; 497 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 498 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 499 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 500 | CLANG_WARN_EMPTY_BODY = YES; 501 | CLANG_WARN_ENUM_CONVERSION = YES; 502 | CLANG_WARN_INFINITE_RECURSION = YES; 503 | CLANG_WARN_INT_CONVERSION = YES; 504 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 505 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 506 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 507 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 508 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 509 | CLANG_WARN_STRICT_PROTOTYPES = YES; 510 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 511 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 512 | CLANG_WARN_UNREACHABLE_CODE = YES; 513 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 514 | CODE_SIGNING_ALLOWED = NO; 515 | CODE_SIGNING_REQUIRED = NO; 516 | COPY_PHASE_STRIP = NO; 517 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 518 | ENABLE_NS_ASSERTIONS = NO; 519 | ENABLE_STRICT_OBJC_MSGSEND = YES; 520 | GCC_C_LANGUAGE_STANDARD = gnu11; 521 | GCC_NO_COMMON_BLOCKS = YES; 522 | GCC_PREPROCESSOR_DEFINITIONS = ( 523 | "POD_CONFIGURATION_RELEASE=1", 524 | "$(inherited)", 525 | ); 526 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 527 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 528 | GCC_WARN_UNDECLARED_SELECTOR = YES; 529 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 530 | GCC_WARN_UNUSED_FUNCTION = YES; 531 | GCC_WARN_UNUSED_VARIABLE = YES; 532 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 533 | MTL_ENABLE_DEBUG_INFO = NO; 534 | MTL_FAST_MATH = YES; 535 | PRODUCT_NAME = "$(TARGET_NAME)"; 536 | STRIP_INSTALLED_PRODUCT = NO; 537 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 538 | SWIFT_VERSION = 4.2; 539 | SYMROOT = "${SRCROOT}/../build"; 540 | }; 541 | name = Release; 542 | }; 543 | 61AA5400DDBE8D01D880C4A50C5864DA /* Debug */ = { 544 | isa = XCBuildConfiguration; 545 | baseConfigurationReference = 0D33E653340E69761CA5D35718F907A9 /* OTPTextField.xcconfig */; 546 | buildSettings = { 547 | CODE_SIGN_IDENTITY = ""; 548 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 549 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 550 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 551 | CURRENT_PROJECT_VERSION = 1; 552 | DEFINES_MODULE = YES; 553 | DYLIB_COMPATIBILITY_VERSION = 1; 554 | DYLIB_CURRENT_VERSION = 1; 555 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 556 | GCC_PREFIX_HEADER = "Target Support Files/OTPTextField/OTPTextField-prefix.pch"; 557 | INFOPLIST_FILE = "Target Support Files/OTPTextField/Info.plist"; 558 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 559 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 560 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 561 | MODULEMAP_FILE = "Target Support Files/OTPTextField/OTPTextField.modulemap"; 562 | PRODUCT_MODULE_NAME = OTPTextField; 563 | PRODUCT_NAME = OTPTextField; 564 | SDKROOT = iphoneos; 565 | SKIP_INSTALL = YES; 566 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 567 | TARGETED_DEVICE_FAMILY = "1,2"; 568 | VERSIONING_SYSTEM = "apple-generic"; 569 | VERSION_INFO_PREFIX = ""; 570 | }; 571 | name = Debug; 572 | }; 573 | 7E3BA3A4B04AD9A14B4E4963513EC4F2 /* Debug */ = { 574 | isa = XCBuildConfiguration; 575 | baseConfigurationReference = 2748676619C490B5981AF713A50C4343 /* Pods-OTPTextField_Tests.debug.xcconfig */; 576 | buildSettings = { 577 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 578 | CODE_SIGN_IDENTITY = ""; 579 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 580 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 581 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 582 | CURRENT_PROJECT_VERSION = 1; 583 | DEFINES_MODULE = YES; 584 | DYLIB_COMPATIBILITY_VERSION = 1; 585 | DYLIB_CURRENT_VERSION = 1; 586 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 587 | INFOPLIST_FILE = "Target Support Files/Pods-OTPTextField_Tests/Info.plist"; 588 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 589 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 590 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 591 | MACH_O_TYPE = staticlib; 592 | MODULEMAP_FILE = "Target Support Files/Pods-OTPTextField_Tests/Pods-OTPTextField_Tests.modulemap"; 593 | OTHER_LDFLAGS = ""; 594 | OTHER_LIBTOOLFLAGS = ""; 595 | PODS_ROOT = "$(SRCROOT)"; 596 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 597 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 598 | SDKROOT = iphoneos; 599 | SKIP_INSTALL = YES; 600 | TARGETED_DEVICE_FAMILY = "1,2"; 601 | VERSIONING_SYSTEM = "apple-generic"; 602 | VERSION_INFO_PREFIX = ""; 603 | }; 604 | name = Debug; 605 | }; 606 | CF6BBDD68124F0F7254C10FCA6A36D36 /* Release */ = { 607 | isa = XCBuildConfiguration; 608 | baseConfigurationReference = 0D33E653340E69761CA5D35718F907A9 /* OTPTextField.xcconfig */; 609 | buildSettings = { 610 | CODE_SIGN_IDENTITY = ""; 611 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 612 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 613 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 614 | CURRENT_PROJECT_VERSION = 1; 615 | DEFINES_MODULE = YES; 616 | DYLIB_COMPATIBILITY_VERSION = 1; 617 | DYLIB_CURRENT_VERSION = 1; 618 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 619 | GCC_PREFIX_HEADER = "Target Support Files/OTPTextField/OTPTextField-prefix.pch"; 620 | INFOPLIST_FILE = "Target Support Files/OTPTextField/Info.plist"; 621 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 622 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 623 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 624 | MODULEMAP_FILE = "Target Support Files/OTPTextField/OTPTextField.modulemap"; 625 | PRODUCT_MODULE_NAME = OTPTextField; 626 | PRODUCT_NAME = OTPTextField; 627 | SDKROOT = iphoneos; 628 | SKIP_INSTALL = YES; 629 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 630 | TARGETED_DEVICE_FAMILY = "1,2"; 631 | VALIDATE_PRODUCT = YES; 632 | VERSIONING_SYSTEM = "apple-generic"; 633 | VERSION_INFO_PREFIX = ""; 634 | }; 635 | name = Release; 636 | }; 637 | E0C1827BB51502E89B05F9E6B950D87E /* Release */ = { 638 | isa = XCBuildConfiguration; 639 | baseConfigurationReference = 842D61968554BCD6352BF3BFB9393740 /* Pods-OTPTextField_Tests.release.xcconfig */; 640 | buildSettings = { 641 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 642 | CODE_SIGN_IDENTITY = ""; 643 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 644 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 645 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 646 | CURRENT_PROJECT_VERSION = 1; 647 | DEFINES_MODULE = YES; 648 | DYLIB_COMPATIBILITY_VERSION = 1; 649 | DYLIB_CURRENT_VERSION = 1; 650 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 651 | INFOPLIST_FILE = "Target Support Files/Pods-OTPTextField_Tests/Info.plist"; 652 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 653 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 654 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 655 | MACH_O_TYPE = staticlib; 656 | MODULEMAP_FILE = "Target Support Files/Pods-OTPTextField_Tests/Pods-OTPTextField_Tests.modulemap"; 657 | OTHER_LDFLAGS = ""; 658 | OTHER_LIBTOOLFLAGS = ""; 659 | PODS_ROOT = "$(SRCROOT)"; 660 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 661 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 662 | SDKROOT = iphoneos; 663 | SKIP_INSTALL = YES; 664 | TARGETED_DEVICE_FAMILY = "1,2"; 665 | VALIDATE_PRODUCT = YES; 666 | VERSIONING_SYSTEM = "apple-generic"; 667 | VERSION_INFO_PREFIX = ""; 668 | }; 669 | name = Release; 670 | }; 671 | F257ABDAC0D3A1111061947B0707E3EA /* Debug */ = { 672 | isa = XCBuildConfiguration; 673 | baseConfigurationReference = 13568AF2B2A83732818E9822E005A252 /* Pods-OTPTextField_Example.debug.xcconfig */; 674 | buildSettings = { 675 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 676 | CODE_SIGN_IDENTITY = ""; 677 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 678 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 679 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 680 | CURRENT_PROJECT_VERSION = 1; 681 | DEFINES_MODULE = YES; 682 | DYLIB_COMPATIBILITY_VERSION = 1; 683 | DYLIB_CURRENT_VERSION = 1; 684 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 685 | INFOPLIST_FILE = "Target Support Files/Pods-OTPTextField_Example/Info.plist"; 686 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 687 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 688 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 689 | MACH_O_TYPE = staticlib; 690 | MODULEMAP_FILE = "Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example.modulemap"; 691 | OTHER_LDFLAGS = ""; 692 | OTHER_LIBTOOLFLAGS = ""; 693 | PODS_ROOT = "$(SRCROOT)"; 694 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 695 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 696 | SDKROOT = iphoneos; 697 | SKIP_INSTALL = YES; 698 | TARGETED_DEVICE_FAMILY = "1,2"; 699 | VERSIONING_SYSTEM = "apple-generic"; 700 | VERSION_INFO_PREFIX = ""; 701 | }; 702 | name = Debug; 703 | }; 704 | F9648CAE29A4E998DF09F837A8560D8D /* Release */ = { 705 | isa = XCBuildConfiguration; 706 | baseConfigurationReference = F67BAA4CF1C2F71D461FE3170B3DCDCA /* Pods-OTPTextField_Example.release.xcconfig */; 707 | buildSettings = { 708 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 709 | CODE_SIGN_IDENTITY = ""; 710 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 711 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 712 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 713 | CURRENT_PROJECT_VERSION = 1; 714 | DEFINES_MODULE = YES; 715 | DYLIB_COMPATIBILITY_VERSION = 1; 716 | DYLIB_CURRENT_VERSION = 1; 717 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 718 | INFOPLIST_FILE = "Target Support Files/Pods-OTPTextField_Example/Info.plist"; 719 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 720 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 721 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 722 | MACH_O_TYPE = staticlib; 723 | MODULEMAP_FILE = "Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example.modulemap"; 724 | OTHER_LDFLAGS = ""; 725 | OTHER_LIBTOOLFLAGS = ""; 726 | PODS_ROOT = "$(SRCROOT)"; 727 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 728 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 729 | SDKROOT = iphoneos; 730 | SKIP_INSTALL = YES; 731 | TARGETED_DEVICE_FAMILY = "1,2"; 732 | VALIDATE_PRODUCT = YES; 733 | VERSIONING_SYSTEM = "apple-generic"; 734 | VERSION_INFO_PREFIX = ""; 735 | }; 736 | name = Release; 737 | }; 738 | /* End XCBuildConfiguration section */ 739 | 740 | /* Begin XCConfigurationList section */ 741 | 239CDFFED99DD4BC73E83266CBB66F05 /* Build configuration list for PBXNativeTarget "Pods-OTPTextField_Example" */ = { 742 | isa = XCConfigurationList; 743 | buildConfigurations = ( 744 | F257ABDAC0D3A1111061947B0707E3EA /* Debug */, 745 | F9648CAE29A4E998DF09F837A8560D8D /* Release */, 746 | ); 747 | defaultConfigurationIsVisible = 0; 748 | defaultConfigurationName = Release; 749 | }; 750 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 751 | isa = XCConfigurationList; 752 | buildConfigurations = ( 753 | 50646285DD9FD95AF390BDA3FB1948EA /* Debug */, 754 | 58DCB2BA7C34E84C00C38CEF18A96D11 /* Release */, 755 | ); 756 | defaultConfigurationIsVisible = 0; 757 | defaultConfigurationName = Release; 758 | }; 759 | 951582755BA3BC81BF1A4D9403EB9578 /* Build configuration list for PBXNativeTarget "OTPTextField" */ = { 760 | isa = XCConfigurationList; 761 | buildConfigurations = ( 762 | 61AA5400DDBE8D01D880C4A50C5864DA /* Debug */, 763 | CF6BBDD68124F0F7254C10FCA6A36D36 /* Release */, 764 | ); 765 | defaultConfigurationIsVisible = 0; 766 | defaultConfigurationName = Release; 767 | }; 768 | C6338FA744A310B947CB3ECB7A2D6F5F /* Build configuration list for PBXNativeTarget "Pods-OTPTextField_Tests" */ = { 769 | isa = XCConfigurationList; 770 | buildConfigurations = ( 771 | 7E3BA3A4B04AD9A14B4E4963513EC4F2 /* Debug */, 772 | E0C1827BB51502E89B05F9E6B950D87E /* Release */, 773 | ); 774 | defaultConfigurationIsVisible = 0; 775 | defaultConfigurationName = Release; 776 | }; 777 | /* End XCConfigurationList section */ 778 | }; 779 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 780 | } 781 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/OTPTextField.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/OTPTextField/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.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/OTPTextField/OTPTextField-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_OTPTextField : NSObject 3 | @end 4 | @implementation PodsDummy_OTPTextField 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/OTPTextField/OTPTextField-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/OTPTextField/OTPTextField-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 OTPTextFieldVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char OTPTextFieldVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/OTPTextField/OTPTextField.modulemap: -------------------------------------------------------------------------------- 1 | framework module OTPTextField { 2 | umbrella header "OTPTextField-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/OTPTextField/OTPTextField.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/OTPTextField 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | PODS_BUILD_DIR = ${BUILD_DIR} 4 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 5 | PODS_ROOT = ${SRCROOT} 6 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 7 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 8 | SKIP_INSTALL = YES 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_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-OTPTextField_Example/Pods-OTPTextField_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## OTPTextField 5 | 6 | Copyright (c) 2018 Berdikhan 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-OTPTextField_Example/Pods-OTPTextField_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) 2018 Berdikhan <berdikhan@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 | OTPTextField 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-OTPTextField_Example/Pods-OTPTextField_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_OTPTextField_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_OTPTextField_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # frameworks to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 14 | 15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 17 | 18 | # Used as a return value for each invocation of `strip_invalid_archs` function. 19 | STRIP_BINARY_RETVAL=0 20 | 21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 24 | 25 | # Copies and strips a vendored framework 26 | install_framework() 27 | { 28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 29 | local source="${BUILT_PRODUCTS_DIR}/$1" 30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 32 | elif [ -r "$1" ]; then 33 | local source="$1" 34 | fi 35 | 36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 37 | 38 | if [ -L "${source}" ]; then 39 | echo "Symlinked..." 40 | source="$(readlink "${source}")" 41 | fi 42 | 43 | # Use filter instead of exclude so missing patterns don't throw errors. 44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 46 | 47 | local basename 48 | basename="$(basename -s .framework "$1")" 49 | binary="${destination}/${basename}.framework/${basename}" 50 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 80 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 95 | else 96 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | 145 | if [[ "$CONFIGURATION" == "Debug" ]]; then 146 | install_framework "${BUILT_PRODUCTS_DIR}/OTPTextField/OTPTextField.framework" 147 | fi 148 | if [[ "$CONFIGURATION" == "Release" ]]; then 149 | install_framework "${BUILT_PRODUCTS_DIR}/OTPTextField/OTPTextField.framework" 150 | fi 151 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 152 | wait 153 | fi 154 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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}" || true 60 | 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} 61 | ;; 62 | *.xib) 63 | 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}" || true 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_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_OTPTextField_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_OTPTextField_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OTPTextField" 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}/OTPTextField/OTPTextField.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "OTPTextField" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_OTPTextField_Example { 2 | umbrella header "Pods-OTPTextField_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Example/Pods-OTPTextField_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OTPTextField" 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}/OTPTextField/OTPTextField.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "OTPTextField" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_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-OTPTextField_Tests/Pods-OTPTextField_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-OTPTextField_Tests/Pods-OTPTextField_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-OTPTextField_Tests/Pods-OTPTextField_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_OTPTextField_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_OTPTextField_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Tests/Pods-OTPTextField_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 7 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # frameworks to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 13 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 14 | 15 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 16 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 17 | 18 | # Used as a return value for each invocation of `strip_invalid_archs` function. 19 | STRIP_BINARY_RETVAL=0 20 | 21 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 22 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 23 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 24 | 25 | # Copies and strips a vendored framework 26 | install_framework() 27 | { 28 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 29 | local source="${BUILT_PRODUCTS_DIR}/$1" 30 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 31 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 32 | elif [ -r "$1" ]; then 33 | local source="$1" 34 | fi 35 | 36 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 37 | 38 | if [ -L "${source}" ]; then 39 | echo "Symlinked..." 40 | source="$(readlink "${source}")" 41 | fi 42 | 43 | # Use filter instead of exclude so missing patterns don't throw errors. 44 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 45 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 46 | 47 | local basename 48 | basename="$(basename -s .framework "$1")" 49 | binary="${destination}/${basename}.framework/${basename}" 50 | if ! [ -r "$binary" ]; then 51 | binary="${destination}/${basename}" 52 | fi 53 | 54 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 55 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 56 | strip_invalid_archs "$binary" 57 | fi 58 | 59 | # Resign the code if required by the build settings to avoid unstable apps 60 | code_sign_if_enabled "${destination}/$(basename "$1")" 61 | 62 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 63 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 64 | local swift_runtime_libs 65 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 66 | for lib in $swift_runtime_libs; do 67 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 68 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 69 | code_sign_if_enabled "${destination}/${lib}" 70 | done 71 | fi 72 | } 73 | 74 | # Copies and strips a vendored dSYM 75 | install_dsym() { 76 | local source="$1" 77 | if [ -r "$source" ]; then 78 | # Copy the dSYM into a the targets temp dir. 79 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 80 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 81 | 82 | local basename 83 | basename="$(basename -s .framework.dSYM "$source")" 84 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 85 | 86 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 87 | if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then 88 | strip_invalid_archs "$binary" 89 | fi 90 | 91 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 92 | # Move the stripped file into its final destination. 93 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 94 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 95 | else 96 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 97 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 98 | fi 99 | fi 100 | } 101 | 102 | # Signs a framework with the provided identity 103 | code_sign_if_enabled() { 104 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 105 | # Use the current code_sign_identitiy 106 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 107 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 108 | 109 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 110 | code_sign_cmd="$code_sign_cmd &" 111 | fi 112 | echo "$code_sign_cmd" 113 | eval "$code_sign_cmd" 114 | fi 115 | } 116 | 117 | # Strip invalid architectures 118 | strip_invalid_archs() { 119 | binary="$1" 120 | # Get architectures for current target binary 121 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 122 | # Intersect them with the architectures we are building for 123 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 124 | # If there are no archs supported by this binary then warn the user 125 | if [[ -z "$intersected_archs" ]]; then 126 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 127 | STRIP_BINARY_RETVAL=0 128 | return 129 | fi 130 | stripped="" 131 | for arch in $binary_archs; do 132 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 133 | # Strip non-valid architectures in-place 134 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 135 | stripped="$stripped $arch" 136 | fi 137 | done 138 | if [[ "$stripped" ]]; then 139 | echo "Stripped $binary of architectures:$stripped" 140 | fi 141 | STRIP_BINARY_RETVAL=1 142 | } 143 | 144 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 145 | wait 146 | fi 147 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Tests/Pods-OTPTextField_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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}" || true 60 | 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} 61 | ;; 62 | *.xib) 63 | 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}" || true 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Tests/Pods-OTPTextField_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_OTPTextField_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_OTPTextField_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Tests/Pods-OTPTextField_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OTPTextField" 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}/OTPTextField/OTPTextField.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-OTPTextField_Tests/Pods-OTPTextField_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_OTPTextField_Tests { 2 | umbrella header "Pods-OTPTextField_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-OTPTextField_Tests/Pods-OTPTextField_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/OTPTextField" 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}/OTPTextField/OTPTextField.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/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 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // OTPTextFieldTests.m 3 | // OTPTextFieldTests 4 | // 5 | // Created by Berdikhan on 11/22/2018. 6 | // Copyright (c) 2018 Berdikhan. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018 Berdikhan 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 | -------------------------------------------------------------------------------- /OTPTextField.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kfit-dev/OTPTextField/f7ee5563a8ea23712159038c3fc5f434224015a9/OTPTextField.gif -------------------------------------------------------------------------------- /OTPTextField.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'OTPTextField' 3 | s.version = '1.1.5' 4 | s.summary = 'TextField that supports iOS 12 Secure Code AutoFill.' 5 | 6 | s.description = <<-DESC 7 | Customizable UITextField for OTP/Security code with AutoFill support. 8 | DESC 9 | 10 | s.homepage = 'https://github.com/kfit-dev/OTPTextField' 11 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 12 | s.license = { :type => 'MIT', :file => 'LICENSE' } 13 | s.author = { 'Fave' => 'dev@kfit.com' } 14 | s.source = { :git => 'https://github.com/kfit-dev/OTPTextField.git', :tag => s.version.to_s } 15 | 16 | s.ios.deployment_target = '8.0' 17 | 18 | s.source_files = 'OTPTextField/*' 19 | 20 | end 21 | -------------------------------------------------------------------------------- /OTPTextField/OTPTextField.h: -------------------------------------------------------------------------------- 1 | // 2 | // OTPTextField.h 3 | // OTPTextField 4 | // 5 | // Created by Berdikhan on 02/11/2018. 6 | // Copyright © 2018 Berdikhan Satenov. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class OTPTextField; 12 | 13 | @protocol OTPTextFieldDelegate 14 | 15 | - (void)otpTextField:(OTPTextField* _Nonnull)textField didChange:(NSString* _Nonnull)otpCode; 16 | 17 | @end 18 | 19 | IB_DESIGNABLE 20 | 21 | @interface OTPTextField : UITextField 22 | 23 | /* 24 | @abstract Placeholder separator. Default '-'. 25 | */ 26 | @property (nonatomic) IBInspectable NSString * _Nonnull placeholderSeparator; 27 | 28 | /* 29 | @abstract Placeholder color. Default gray. 30 | */ 31 | @property (nonatomic) IBInspectable UIColor * _Nonnull placeholderColor; 32 | 33 | /* 34 | @abstract Letter spacing. Default 30. 35 | */ 36 | @property (nonatomic) IBInspectable CGFloat spacing; 37 | 38 | /* 39 | @abstract Length of code. Default 4. 40 | */ 41 | @property (nonatomic) IBInspectable int count; 42 | 43 | 44 | @property (nonatomic, weak, nullable) id otpDelegate; 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /OTPTextField/OTPTextField.m: -------------------------------------------------------------------------------- 1 | // 2 | // OTPTextField.m 3 | // OTPTextField 4 | // 5 | // Created by Berdikhan on 02/11/2018. 6 | // Copyright © 2018 Berdikhan Satenov. All rights reserved. 7 | // 8 | 9 | #import "OTPTextField.h" 10 | 11 | @interface OTPTextField () 12 | 13 | @end 14 | 15 | @implementation OTPTextField { 16 | UILabel* placeholderLabel; 17 | UIColor* __textColor; 18 | } 19 | 20 | - (instancetype)initWithFrame:(CGRect)frame { 21 | self = [super initWithFrame:frame]; 22 | if (self) { 23 | [self customInit]; 24 | [self setup]; 25 | } 26 | return self; 27 | } 28 | 29 | - (instancetype)initWithCoder:(NSCoder *)coder { 30 | self = [super initWithCoder:coder]; 31 | if (self) { 32 | [self customInit]; 33 | [self setup]; 34 | } 35 | return self; 36 | } 37 | 38 | - (void)prepareForInterfaceBuilder { 39 | [self setup]; 40 | } 41 | 42 | - (void)setNeedsLayout { 43 | [super setNeedsLayout]; 44 | [self setNeedsDisplay]; 45 | } 46 | 47 | - (void)layoutSubviews { 48 | [super layoutSubviews]; 49 | placeholderLabel.frame = self.bounds; 50 | [self updateText]; 51 | } 52 | 53 | - (void)customInit { 54 | self.delegate = self; 55 | self.placeholderSeparator = @"-"; 56 | self.placeholderColor = [UIColor grayColor]; 57 | self.spacing = 30.0; 58 | __textColor = [UIColor blackColor]; 59 | self.keyboardType = UIKeyboardTypeNumberPad; 60 | self.textAlignment = NSTextAlignmentCenter; 61 | if (@available(iOS 12.0, *)) { 62 | self.textContentType = UITextContentTypeOneTimeCode; 63 | } 64 | self.count = 4; 65 | self.placeholder = @""; 66 | self.tintColor = [UIColor clearColor]; 67 | [self addPlaceholder]; 68 | UIColor *tempColor = self.textColor; 69 | self.textColor = [UIColor clearColor]; 70 | __textColor = tempColor; 71 | [[NSNotificationCenter defaultCenter] addObserver:self 72 | selector:@selector(textEditingChanged) 73 | name:UITextFieldTextDidChangeNotification 74 | object:self]; 75 | 76 | } 77 | 78 | - (void)textEditingChanged { 79 | if ([self.otpDelegate respondsToSelector:@selector(otpTextField:didChange:)]) { 80 | [self.otpDelegate otpTextField:self didChange:self.text]; 81 | } 82 | [self updateText]; 83 | } 84 | 85 | - (void)setText:(NSString *)text { 86 | NSString *finalText = text; 87 | if ([finalText length] > _count) { 88 | finalText = [finalText substringToIndex:_count]; 89 | } 90 | [super setText:finalText]; 91 | [self updateText]; 92 | } 93 | 94 | - (void)setTextColor:(UIColor *)textColor { 95 | __textColor = textColor; 96 | [super setTextColor:[UIColor clearColor]]; 97 | [self updateText]; 98 | } 99 | 100 | - (void)setFont:(UIFont *)font { 101 | [super setFont:font]; 102 | [self updateText]; 103 | } 104 | 105 | - (void)setTintColor:(UIColor *)tintColor { 106 | [super setTintColor:[UIColor clearColor]]; 107 | } 108 | 109 | - (void)setPlaceholder:(NSString *)placeholder { 110 | [super setPlaceholder:@""]; 111 | } 112 | 113 | - (void)setup { 114 | [placeholderLabel setFrame:self.bounds]; 115 | [self updateText]; 116 | } 117 | 118 | - (void)updateText { 119 | if (_count < 1) { 120 | return; 121 | } 122 | NSMutableParagraphStyle *style = [NSMutableParagraphStyle new]; 123 | [style setAlignment:self.textAlignment]; 124 | NSDictionary *defaultAttributes = @{NSFontAttributeName: self.font, 125 | NSParagraphStyleAttributeName: style}; 126 | NSDictionary *spacingAttributes = @{NSKernAttributeName: [NSNumber numberWithInt:_spacing]}; 127 | 128 | NSDictionary *textAttributes = @{NSForegroundColorAttributeName: __textColor}; 129 | NSDictionary *placeholderAttributes = @{NSForegroundColorAttributeName: _placeholderColor}; 130 | 131 | NSMutableAttributedString *formattedText = [NSMutableAttributedString new]; 132 | 133 | [formattedText appendAttributedString:[[NSAttributedString alloc] initWithString:self.text 134 | attributes:textAttributes]]; 135 | NSMutableArray *placeholderArray = [NSMutableArray new]; 136 | for (int i=0; i<(_count - self.text.length); i++) { 137 | [placeholderArray addObject:_placeholderSeparator]; 138 | } 139 | [formattedText appendAttributedString:[[NSAttributedString alloc] initWithString:[placeholderArray componentsJoinedByString:@""] 140 | attributes:placeholderAttributes]]; 141 | [formattedText addAttributes:defaultAttributes range:NSMakeRange(0, _count)]; 142 | if (_count > 1) { 143 | [formattedText addAttributes:spacingAttributes range:NSMakeRange(0, _count-1)]; 144 | } 145 | placeholderLabel.attributedText = formattedText; 146 | } 147 | 148 | -(BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { 149 | if (self.text.length < self.count) { 150 | return true; 151 | } 152 | if (string.length == 0) { 153 | return true; 154 | } 155 | return false; 156 | } 157 | 158 | - (void)addPlaceholder { 159 | if (placeholderLabel == nil) { 160 | placeholderLabel = [UILabel new]; 161 | [self.layer addSublayer:placeholderLabel.layer]; 162 | } 163 | } 164 | 165 | #pragma mark - dealloc 166 | - (void)dealloc { 167 | [[NSNotificationCenter defaultCenter] removeObserver:self]; 168 | } 169 | 170 | @end 171 | -------------------------------------------------------------------------------- /OTPTextFieldManual.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kfit-dev/OTPTextField/f7ee5563a8ea23712159038c3fc5f434224015a9/OTPTextFieldManual.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OTPTextField 2 | 3 | [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) 4 | [![Version](https://img.shields.io/cocoapods/v/OTPTextField.svg?style=flat)](https://cocoapods.org/pods/OTPTextField) 5 | [![License](https://img.shields.io/cocoapods/l/OTPTextField.svg?style=flat)](https://cocoapods.org/pods/OTPTextField) 6 | [![Platform](https://img.shields.io/cocoapods/p/OTPTextField.svg?style=flat)](https://cocoapods.org/pods/OTPTextField) 7 | 8 |   9 | 10 | 11 | ## Installation 12 | 13 | #### CocoaPods 14 | 15 | Add the following entry to your Podfile: 16 | 17 | ```rb 18 | pod 'OTPTextField' 19 | ``` 20 | 21 | Then run `pod install`. 22 | 23 | Don't forget to `import OTPTextField` in every file you'd like to use. 24 | 25 | #### Carthage 26 | 27 | Add the following entry to your `Cartfile`: 28 | 29 | ``` 30 | github "kfit-dev/OTPTextField" 31 | ``` 32 | 33 | Then run `carthage update`. 34 | 35 | If this is your first time using Carthage in the project, you'll need to go through some additional steps as explained [over at Carthage](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application). 36 | 37 | #### Manually 38 | 39 | - Drag the **OTPTextField** folder anywhere in your project. 40 | 41 | ## Author 42 | 43 | Fave, dev@kfit.com 44 | 45 | ## License 46 | 47 | OTPTextField is available under the MIT license. See the LICENSE file for more info. 48 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------