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