Swiftpack.co - kenagt/OtpView-SwiftUI as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by kenagt.
kenagt/OtpView-SwiftUI 1.0.2
Otp view swift package implemented with swift & SwiftUI.
⭐️ 0
🕓 3 weeks ago
.package(url: "https://github.com/kenagt/OtpView-SwiftUI.git", from: "1.0.2")


Otp view swift package implemented with Swift & SwiftUI.

How to use

**Create an instance

It supports AutoLayout completely.

@State var otpCode: String = ""
@State var otpCodeLength: Int = 6
@State var textColor = .black
@State var textSize = CGFloat(27)

var body: some View {
    HStack {
        //OTPTextField { otp, completionHandler in }
        OtpView_SwiftUI(otpCode: $otpCode, otpCodeLengh: $otpCodeLength, textColor: $textColor, textSize: $textSize)


iOS 15.0+ Swift 5.5+


  • Supports following:
    • Swift Package Manager


Stars: 0
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics