Skip to content

a swift component which gets OTP CODE in separated UITextfields

License

Notifications You must be signed in to change notification settings

mohsinalimat/OTPTextView

Repository files navigation

OTPTextView

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

otp

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())

Requirements

UIKit

Installation

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.

About

a swift component which gets OTP CODE in separated UITextfields

Resources

License

Stars

Watchers

Forks

Packages

No packages published