Latch alternatives and similar libraries
Based on the "Keychain" category.
Alternatively, view Latch alternatives based on common mentions on social networks and blogs.
-
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. -
keychain-swift
Helper functions for saving text in Keychain securely for iOS, OS X, tvOS and watchOS. -
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. -
GoodPersistence
💾 GoodPersistence is an iOS library that simplifies caching data in keychain and UserDefaults. Using a property wrapper, it reduces the complexity of implementing caching mechanisms, making it easier for developers to focus on app functionality. Compatible with latest Swift and supports all iOS devices. Easy to install with SPM. -
SecureStorage
SecureStorage is a property wrapper around the keychain to easily access your protected data.
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 Latch or a related project?
README
Latch
A simple Swift 2.0 Keychain Wrapper for iOS, watchOS 2, and OS X.
Usage
A proper example of how to use Latch can be seen in the tests.
import Latch
let latch = Latch(service: "co.rocketapps.latch.example")
latch.setObject("super_secret_token", forKey: "FBAccessToken")
let token = latch.stringForKey("FBAccessToken")
print(token)
Documentation
You can find full documentation for Latch here, or use the inline documentation.
Installation
Latch can be installed using CocoaPods, Carthage, or git submodules.
CocoaPods
- Add
pod "Latch"
to your podfile - Run
pod install
Carthage
- Add
github "DanToml/Latch"
to your Cartfile $ carthage update
- Copy the frameworks into your Xcode project
Git Submodules
$ git submodule add https://github.com/DanToml/Latch.git
$ git submodule update --init --recursive
- Add the project
Contributing
Issues
Issues and feature requests are welcome, although the intention is to keep Latch lightweight.
Submitting Pull Requests
- Fork it ( http://github.com/DanToml/Latch/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request