SAPinViewController alternatives and similar libraries
Based on the "Security" category.
Alternatively, view SAPinViewController alternatives based on common mentions on social networks and blogs.
-
CryptoSwift
CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift -
Valet
Valet lets you securely store data in the iOS, tvOS, watchOS, or macOS Keychain without knowing a thing about how the Keychain works. Itβs easy. We promise. -
RNCryptor
CCCryptor (AES encryption) wrappers for iOS and Mac in Swift. -- For ObjC, see RNCryptor/RNCryptor-objc -
UICKeyChainStore
UICKeyChainStore is a simple wrapper for Keychain on iOS, watchOS, tvOS and macOS. Makes using Keychain APIs as easy as NSUserDefaults. -
SwiftKeychainWrapper
DISCONTINUED. A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift. -
Themis
Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms. -
BiometricAuthentication
Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication. -
SwCrypt
RSA public/private key generation, RSA, AES encryption/decryption, RSA sign/verify in Swift with CommonCrypto in iOS and OS X -
SecurePropertyStorage
Helps you define secure storages for your properties using Swift property wrappers. -
KKPinCodeTextField
A customizable verification code textField. Can be used for phone verification codes, passwords etc -
iOS-App-Security-Class
DISCONTINUED. Simple class to check if app has been cracked, being debugged or enriched with custom dylib -
Virgil Security Objective-C/Swift SDK
Virgil Core SDK allows developers to get up and running with Virgil Cards Service API quickly and add end-to-end security to their new or existing digital solutions to become HIPAA and GDPR compliant and more. -
RSASwiftGenerator
Util for generation RSA keys on your client and save to keychain or convert into Data π π -
VoiceItAPI1IosSDK
DISCONTINUED. A super easy way to add Voice Authentication(Biometrics) to your iOS apps, conveniently usable via cocoapods
CodeRabbit: AI Code Reviews for Developers

* 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 SAPinViewController or a related project?
README
SAPinViewController
Simple and easy to use default iOS PIN screen. This simple library allows you to draw a fully customisable PIN screen same as the iOS default PIN view.
My inspiration to create this library was form THPinViewController, however SAPinViewController
is completely implemented in Swift
. Also the main purpose of creating this library was to have simple, easy to use and fully customisable PIN screen.
Features
- Support both iPhone and iPad landscape/portrait
- Designed with the help of SnapKit
- Fully customisable:
- change title font/colour
- change subtitle font/colour
- change numbers font/colour
- change alphabet font/color
- change numbers boundary colour
- change PIN dots color
- add solid background colour
- add custom image as background and gets blurred automatically
- hide alphabets
- change cancel button font/colour
- ###### NEW in 0.1.2:
- now you can have your logo on top as well
- now you can have rounded rect as well as circle type UI
Usage
// initial a "SAPinViewController" via the designate initialiser
let pinVC = SAPinViewController(withDelegate: self, backgroundImage: UIImage(named: "bg3"))
// setup different properties
pinVC.subtitleText = "Your passcode is required to enable Touch ID"
pinVC.buttonBorderColor = UIColor.whiteColor()
pinVC.alphabetColor = UIColor.whiteColor()
pinVC.showAlphabet = true // default is true
// ... and other properties
// present it
presentViewController(pinVC, animated: true, completion: nil)
// implement delegate methods
extension ViewController: SAPinViewControllerDelegate {
func pinEntryWasCancelled() {
dismissViewControllerAnimated(true, completion: nil)
}
func pinEntryWasSuccessful() {
dismissViewControllerAnimated(true, completion: nil)
}
func pinWasIncorrect() {
}
func isPinValid(pin: String) -> Bool {
return pin == pinString
}
}
Screenshots
With Logo:
iPhone 4
iPhone 5
iPhone 6
iPhone 6 plus
iPad landscape
iPad portrait
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- Minimum iOS 8
Installation
SAPinViewController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SAPinViewController"
Author
Siavash, [email protected]
License
SAPinViewController is available under the MIT license. See the LICENSE file for more info.
Contribution
If you have any feature requests or bug-fixes feel free to create an issue or send a pull request.
*Note that all licence references and agreements mentioned in the SAPinViewController README section above
are relevant to that project's source code only.