{"id":24076164,"url":"https://github.com/romankovalchukdev/nerdzpinview","last_synced_at":"2025-11-21T08:03:53.628Z","repository":{"id":263876734,"uuid":"891664852","full_name":"RomanKovalchukDev/NerdzPinView","owner":"RomanKovalchukDev","description":"NerdzPinView is a highly customisable library used for entering pin and one time codes.","archived":false,"fork":false,"pushed_at":"2025-02-19T14:07:53.000Z","size":114,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T23:14:35.773Z","etag":null,"topics":["otp","otp-verification","otpview","passcode","swift","swiftui","view-component"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RomanKovalchukDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-20T18:26:48.000Z","updated_at":"2025-02-19T17:13:04.000Z","dependencies_parsed_at":"2024-11-20T19:34:40.814Z","dependency_job_id":"d3250777-af25-438c-977d-b754c2046fba","html_url":"https://github.com/RomanKovalchukDev/NerdzPinView","commit_stats":null,"previous_names":["romankovalchuk2019/nerdzpinview","romankovalchukdev/nerdzpinview"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/RomanKovalchukDev/NerdzPinView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanKovalchukDev%2FNerdzPinView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanKovalchukDev%2FNerdzPinView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanKovalchukDev%2FNerdzPinView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanKovalchukDev%2FNerdzPinView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RomanKovalchukDev","download_url":"https://codeload.github.com/RomanKovalchukDev/NerdzPinView/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanKovalchukDev%2FNerdzPinView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285579903,"owners_count":27195779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-21T02:00:06.175Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["otp","otp-verification","otpview","passcode","swift","swiftui","view-component"],"created_at":"2025-01-09T19:58:34.751Z","updated_at":"2025-11-21T08:03:53.611Z","avatar_url":"https://github.com/RomanKovalchukDev.png","language":"Swift","readme":"# NerdzPinView\n\nNerdzPinView is a highly customisable library used for entering pin and one time codes.\n\n[![Swift 5.9](https://img.shields.io/badge/Swift-5.1-orange.svg?style=flat)](https://developer.apple.com/swift/)\n[![SPM Compatible](https://img.shields.io/badge/Swift%20Package%20Manager-8A2BE2)](https://www.swift.org/documentation/package-manager/)\n[![Platforms iOS](https://img.shields.io/badge/Platforms-iOS-lightgray.svg?style=flat)](http://www.apple.com/ios/)\n[![License MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat)](https://opensource.org/licenses/MIT)\n\n## Getting Started\n\nNerdzPinView library supports both UIKIt and SwiftUI frameworks. \n\n## Installation\n\n### Swift Package Manager\n\nTo add NerdzPinView to a Swift Package Manager based project add it using Xcode add package command or add it as a dependency inside your `Package.swift` file:\n```.package(url: \"https://github.com/RomanKovalchukDev/NerdzPinView\")```\n\n### Manual\n\nClone the repo and drag files from `NerdzPinView/Sources` folder into your Xcode project.\n\n## Usage\n\n### SwiftUI\n\nNerdzPinView library provides complete SwiftUI wrapper over custom UIKeyInput component. To use it inside your SwiftUI application just add `NerdzBorderedPinView` or `NerdzUnderlinePinView` inside your view body.\nSwiftUI views have `text`, `viewState`, and `isFocused` binding properties alongside UIKeyInput properties that are passed to the wrapped view. \n\nYou could take a look into the usage of the library inside SwiftUI project using [SwiftUI demo project](https://github.com/RomanKovalchukDev/NerdzPinView/tree/main/Samples/NerdzPinSwiftUISample).\n\n### UIKit\n\nTo use the library from the xib files or storyboards you should use `DesignableBorderedPinInputView` or `DesignableUnderlinedPinInputView` - this two classes are predefined views that are wrapers around generic `PinCodeInputView`.\n\nYou could also use generic `PinCodeInputView` programatically. This use case mostly needed for you to provide your own item display view. \n\nYou could take a look into the usage of the library inside SwiftUI project using [SwiftUI demo project](https://github.com/RomanKovalchukDev/NerdzPinView/tree/main/Samples//NerdzPinUIKitSample).\n\n## Requirements\n\n- iOS 16.0 +\n- Xcode 16.0 +\n\n## License\n\nNerdzPinView is available under the MIT license. See LICENSE for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromankovalchukdev%2Fnerdzpinview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromankovalchukdev%2Fnerdzpinview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromankovalchukdev%2Fnerdzpinview/lists"}