BJOTPViewController
This is intended to be a drag and drop view controller that gets the work done quickly, in and out, that's it. No fancy customizations, no cluttering the screen with tons of UI elements and crazy colors. You'll be good to go with the default settings.
Supports
✅ iOS 9.0+
✅ Swift 4.0+
✅ iOS | iPadOS
✅ Portrait | Landscape
Features
✅ Keyboard handling
✅ Copy-Paste handling
✅ Light mode | Dark mode
✅ Apple-inspired Clean User Interface
Installation
-
In Xcode project, go to File → Swift Packages → Add Package Dependency...
-
Paste the repo URL: https://github.com/BadhanGanesh/BJOTPViewController.git
-
Follow onscreen instructions for choosing the package options and targets you want to add the dependency to, and click Finish when you're done.
Screenshots
Usage
Presentation
Delegate
Visuals
Upcoming Features
- Support for Mac Catalyst.
- Auto-completion of One Time Password into text fields from messages app.
- Addition of custom header text / footer text / description title to the view controller.
- Auto-completion of One Time Password from clipboard when copied from authenticator apps like Google Authenticator.