Smile-Lock alternatives and similar libraries
Based on the "Security" category.
Alternatively, view Smile-Lock 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 -
RNCryptor
CCCryptor (AES encryption) wrappers for iOS and Mac in Swift. -- For ObjC, see RNCryptor/RNCryptor-objc -
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. -
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 Smile-Lock or a related project?
README
SmileLock
A library for make a beautiful Passcode Lock View, also support Touch ID.
Requirements
- iOS 9.0+
- Swift 4 (pod version 3.x), Swift 3 (pod version 2.x), Swift 2.3 (pod version 1.x)
What can it do for you?
1. Create a beautiful passcode lock view simply.
let kPasswordDigit = 6
passwordContainerView = PasswordContainerView.create(withDigit: kPasswordDigit)
2. Passcode input completed delegate callback.
let passwordContainerView: PasswordContainerView = ...
passwordContainerView.delegate = self
extension ViewController: PasswordInputCompleteProtocol {
func passwordInputComplete(passwordContainerView: PasswordContainerView, input: String) {
print("input completed -> \(input)")
//handle validation wrong || success
}
}
3. Touch ID and Face ID
Thanks for the contribution of Piotr Sochalewski.π
extension ViewController: PasswordInputCompleteProtocol {
func touchAuthenticationComplete(passwordContainerView: PasswordContainerView, success: Bool) {
if success {
//authentication success
} else {
passwordContainerView.clearInput()
}
}
}
Face ID requirements
Using Face ID requires adding NSFaceIDUsageDescription
to your Info.plist
otherwise the app would crash trying to use it.
4. Customize UI.
passwordContainerView.tintColor = UIColor.color(.textColor)
passwordContainerView.highlightedColor = UIColor.color(.blue)
5. Visual Effect.
If you want to see no visual effect, change the property isBlurUI
to false
in HomeViewController.swift
.
How to use it for your project?
SmileLock is available through use CocoaPods.
To install it, simply add the following line to your Podfile:
pod 'SmileLock'
Or you can drag the SmileLock folder to your project.
Another Approach
You can subclass PasswordUIValidation
for a more simple & elegant code. More detail please refer BlurPasswordLoginViewController.swift
.
override func viewDidLoad() {
super.viewDidLoad()
//create PasswordUIValidation subclass
passwordUIValidation = MyPasswordUIValidation(in: passwordStackView)
passwordUIValidation.success = { [weak self] _ in
print("*οΈβ£ success!")
self?.alertForRightPassword { _ in
self?.passwordUIValidation.resetUI()
}
}
passwordUIValidation.failure = { _ in
//do not forget add [weak self] if the view controller become nil at some point during its lifetime
print("*οΈβ£ failure!")
}
...
}
Contributions
- Warmly welcome to submit a pull request.
Credits
SmileLock is owned and maintained by RECRUIT LIFESTYLE CO., LTD..
License
Copyright (c) 2016 RECRUIT LIFESTYLE CO., LTD.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the Smile-Lock README section above
are relevant to that project's source code only.