KeychainAccess
Swinject
KeychainAccess | Swinject | |
---|---|---|
8 | 6 | |
7,800 | 6,190 | |
- | 0.5% | |
4.5 | 7.2 | |
about 2 months ago | 2 days ago | |
Swift | Swift | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
KeychainAccess
- How can I share data from one View Model to another?
-
How to store & retrieve from the Keychain without authentication?
I normally don‘t use third party libraries if I can avoid it… but using keychain is such a pain that I always use KeychainAccess (https://github.com/kishikawakatsumi/KeychainAccess).
-
Awesome macOS Libraries List
KeychainAccess - Simple Swift wrapper for Keychain. Language: Swift.
- What are the most underrated third party libraries for Native iOS?
-
Basic KeyChain Interaction, wrapper needed or own implementation?
I use KeychainAccess. It's pretty simple and straightforward to use. The good thing about using a third-party wrapper is that it'd take care of some edge cases and quirks that I may not have run into yet but someone else might have.
- [TECH] Unity で iOS/Android アプリの設定値をセキュアに扱う方法 🔑
-
Is there a best practice for hiding API keys?
However, if you store secrets on the device, you must use Keychain to securely store them. Do not just store them in a text file or something.
- Devs could resort to workarounds to avoid iOS 14 anti-tracking feature
Swinject
-
Dependency Injection Simplified
DI is a concept which makes a class independent of its dependency management. It achieves that by decoupling the usage of an object from its creation. This helps you to follow SOLID’s dependency inversion and single responsibility principles. To achieve this in Swift one of the most appreciated library is Swinject. This library not only provides DI but also have many other features like:-
-
Awesome macOS Libraries List
Swinject - Dependency injection framework for Swift. Language: Swift.
-
SwiftUI Dependency injection
We use Swinject which is probably quite similar https://github.com/Swinject/Swinject
- Any DI libraries for swift?
- How do you guys see PHP and its framworks/CMS in 2025?
-
How to modularize a big iOS project
So, how do we fix this? There is a cleaner solution. By using a dependency injection framework, such as Swinject we can create a base module that we might call the DI module.
What are some alternatives?
keychain-swift - Helper functions for saving text in Keychain securely for iOS, OS X, tvOS and watchOS.
Resolver - Swift Ultralight Dependency Injection / Service Locator framework
SwiftKeychainWrapper - A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift.
Cleanse - Lightweight Swift Dependency Injection Framework
Valet - Valet lets you securely store data in the iOS, tvOS, or macOS Keychain without knowing a thing about how the Keychain works. It’s easy. We promise.
Needle - Compile-time safe Swift dependency injection framework
Locksmith - A powerful, protocol-oriented library for working with the keychain in Swift.
Typhoon - Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
SSKeychain
Dip - Simple Swift Dependency container. Use protocols to resolve your dependencies and avoid singletons / sharedInstances!
CryptoSwift - CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift
Kraken - Simple Dependency Injection container for Swift. Use protocols to resolve dependencies with easy-to-use syntax!