TvOSPinKeyboard alternatives and similar libraries
Based on the "Apple TV" category.
Alternatively, view TvOSPinKeyboard alternatives based on common mentions on social networks and blogs.
-
XCDYouTubeKit
YouTube video player for iOS, tvOS and macOS -
Voucher
A simple library to make authenticating tvOS apps easy via their iOS counterparts. -
ParallaxView
tvOS controls and extensions that add parallax effect to your application. -
BrowserTV
Turn your TV into a dashboard displaying any webpage! -
Swift-GA-Tracker-for-Apple-tvOS
Google Analytics tracker for Apple tvOS provides an easy integration of Google Analytics’ measurement protocol for Apple TV. -
FocusTvButton
Light wrapper of UIButton that allows extra customization for tvOS -
TVMLKitchen
Swifty TVML template manager without client-server -
TvOSSlider
TvOSSlider is an implementation of UISlider for tvOS. -
TvOSTextViewer
Light and scrollable view controller for tvOS to present blocks of text -
TvOSCustomizableTableViewCell
Light wrapper of UITableViewCell that allows extra customization for tvOS
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of TvOSPinKeyboard or a related project?
README
TvOSPinKeyboard
PIN keyboard for tvOS
[](Preview.gif)
Description
TvOSPinKeyboard is a view controller that allows easily asking for PIN codes in tvOS.
Requirements
- tvOS 9.0+
- Xcode 11
Installation
Cocoapods
To integrate TvOSPinKeyboard into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :tvos, '9.0'
use_frameworks!
target '<Your Target Name>' do
pod 'TvOSPinKeyboard', '~> 2.0.2'
end
Usage
All you need is to create an instance of TvOSPinViewController and to present it on the screen. Pin code will be sent back through TvOSPinKeyboardDelegate
import UIKit
import TvOSPinKeyboard
class ViewController: UIViewController, TvOSPinKeyboardViewDelegate {
@IBOutlet private weak var pinLabel: UILabel!
@IBAction func pinButtonWasPressed(_ sender: Any) {
let pinKeyboard = TvOSPinKeyboardViewController(withTitle: "Introduce your PIN", message: "A pin code is required")
pinKeyboard.delegate = self
present(pinKeyboard, animated: true, completion: nil)
}
// MARK: - TvOSPinKeyboardViewDelegate
func pinKeyboardDidEndEditing(pinCode: String) {
pinLabel.text = "Your Pin Code is: " + pinCode
}
}
Customization
Apart from the title, subtitle, TvOSPinKeyboard offers a wide level of customization
Customizable properties:
- backgroundView
- pinLength
- titleFont
- titleColor
- subtitleFont
- subtitleColor
- pinFont
- pinColor
- pinBackgroundColor
- numpadButtons
- numpadFont
- deleteButtonTitle
- deleteButtonFont
- buttonsNormalTitleColor
- buttonsFocusedTitleColor
- buttonsFocusedBackgroundColor
- buttonsFocusedBackgroundEndColor
- buttonsNormalBackgroundColor
- buttonsNormalBackgroundEndColor