Skip to content

Mindinventory/MIOTPVerificationSPM

Repository files navigation

MIOTPVerificationSPM

This package is used for validating the OTP fields.

In this package, there are only two classes one for OTP view and another for OTPTextFields, and also there are some extensions that are useful for this package.

For using this package please follow the below steps.

  1. First, add this package to your project.
  2. Then add a view in your storyboard or XIB.
  3. Give to OTPView.
  4. Import MIOTPVerificationSPM to your ViewController.
  5. Take the IBOutlet for that view.
  6. Now you can access all properties from your ViewController as well from Storyboard or XIB.
  7. Add two images in your assets which you want to add for a secure symbol with the name of "ic_dot" and "ic_star".