CHIOTPField
CHIOTPField is a set of textfields that can be used for One-time passwords, SMS codes, PIN codes, etc. All fields support insertion of one-time codes from SMS.
Made with ❤️ by [Chili Labs]
Overview

Requirements
- iOS 10.0+
- Swift 5
Installation
Manually
Just add the Sources
folder to your project.
CocoaPods
use CocoaPods with Podfile:
Swift Package Manager
Usage
? Storyboards
Just drop UITextField and set its class to be one of CHIOTPField.
? Code
Text Color
Just change the text color for textfield as you normaly do.
Caret color
Tint color is responsible for caret color. If you want to hide a caret, just set the color to clear.
OTP Fields
OTPFieldOne

OTPFieldTwo


OTPFieldThree

OTPFieldFour

License
CHIOTPField is released under the MIT license. See LICENSE for details.