OTPTextView
OTPTextView lets your to manage OTP code very conveniently
DEMO
Implementation
Open Wiki tap to see, you can use storyboard or implement it in your code
Simple Implementation
let myOTPTextView = OTPTextView(frame:CGRect(x: 10, y: 400, width: 300, height: 50)) view.addSubview(myOTPTextView) print(myOTPTextView.getNumber())
Installation
SWIFT PACKAGE MANAGER Easy Installation ( Xcode 11 )
https://github.com/ehsanomid/OTPTextView.git
OTPTextView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'OTPTextView'
Author
Ehsan Omid
License
OTPTextView is available under the MIT license. See the LICENSE file for more info.