{"id":784,"url":"https://github.com/zattoo/TvOSPinKeyboard","last_synced_at":"2025-07-30T19:32:10.203Z","repository":{"id":24011621,"uuid":"99817563","full_name":"zattoo/TvOSPinKeyboard","owner":"zattoo","description":"PIN keyboard for tvOS","archived":false,"fork":false,"pushed_at":"2022-07-25T07:59:34.000Z","size":2176,"stargazers_count":102,"open_issues_count":1,"forks_count":11,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-11-16T08:16:17.049Z","etag":null,"topics":[],"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/zattoo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-09T14:27:36.000Z","updated_at":"2023-07-18T14:03:35.000Z","dependencies_parsed_at":"2022-07-27T04:17:35.438Z","dependency_job_id":null,"html_url":"https://github.com/zattoo/TvOSPinKeyboard","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zattoo%2FTvOSPinKeyboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zattoo%2FTvOSPinKeyboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zattoo%2FTvOSPinKeyboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zattoo%2FTvOSPinKeyboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zattoo","download_url":"https://codeload.github.com/zattoo/TvOSPinKeyboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228178884,"owners_count":17881104,"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","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":[],"created_at":"2024-01-05T20:15:31.246Z","updated_at":"2024-12-04T19:31:55.340Z","avatar_url":"https://github.com/zattoo.png","language":"Swift","funding_links":[],"categories":["Apple TV"],"sub_categories":["Other free courses","Getting Started"],"readme":"# TvOSPinKeyboard\n\nPIN keyboard for tvOS\n\n![](Preview.gif)\n\n## Description\n\nTvOSPinKeyboard is a view controller that allows easily asking for PIN codes in tvOS.\n\n## Requirements\n\n- tvOS 9.0+\n- Xcode 11\n\n## Installation\n\n### Cocoapods\n\nTo integrate TvOSPinKeyboard into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :tvos, '9.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'TvOSPinKeyboard', '~\u003e 2.0.2'\nend\n```\n\n## Usage\n\nAll you need is to create an instance of TvOSPinViewController and to present it on the screen. Pin code will be sent back through TvOSPinKeyboardDelegate\n\n\n```swift\n\nimport UIKit\nimport TvOSPinKeyboard\n\nclass ViewController: UIViewController, TvOSPinKeyboardViewDelegate {\n\n    @IBOutlet private weak var pinLabel: UILabel!\n\n    @IBAction func pinButtonWasPressed(_ sender: Any) {\n        let pinKeyboard = TvOSPinKeyboardViewController(withTitle: \"Introduce your PIN\", message: \"A pin code is required\")\n        pinKeyboard.delegate = self\n\n        present(pinKeyboard, animated: true, completion: nil)\n    }\n\n    // MARK: - TvOSPinKeyboardViewDelegate\n\n    func pinKeyboardDidEndEditing(pinCode: String) {\n        pinLabel.text = \"Your Pin Code is: \" + pinCode\n    }\n}\n```\n\n## Customization\n\nApart from the title, subtitle, TvOSPinKeyboard offers a wide level of customization\n\nCustomizable properties:\n\n- backgroundView\n- pinLength\n- titleFont\n- titleColor\n- subtitleFont\n- subtitleColor\n- pinFont\n- pinColor\n- pinBackgroundColor\n- numpadButtons\n- numpadFont\n- deleteButtonTitle\n- deleteButtonFont\n- buttonsNormalTitleColor\n- buttonsFocusedTitleColor\n- buttonsFocusedBackgroundColor\n- buttonsFocusedBackgroundEndColor\n- buttonsNormalBackgroundColor\n- buttonsNormalBackgroundEndColor\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzattoo%2FTvOSPinKeyboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzattoo%2FTvOSPinKeyboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzattoo%2FTvOSPinKeyboard/lists"}