DevKeychain is a small Swift package that provides a Swift interface to Apple’s keychain services. It is fully documented and tested and supports version 26 of Apple’s OSes.
View our changelog to see what’s new.
DevKeychain requires a Swift 6.4+ toolchain to build. We only test on Apple platforms. We follow the Swift API Design Guidelines. We take pride in the fact that our public interfaces are fully documented and tested. We aim for overall test coverage over 99%.
To set up the development environment:
- Run
Tools/install-git-hooksto install a pre-push hook that runsTools/lint. - Use
Tools/lintto check Swift and Markdown formatting at any time. - Use
Tools/formatto fix formatting issues.
DevKeychain uses GitHub Actions for continuous integration. The CI pipeline:
- Linting: Checks Swift and Markdown formatting on all pull requests using
Tools/lint - Testing: Builds and tests on iOS, macOS, tvOS, and watchOS
- Coverage: Generates code coverage reports using xccovPretty
Find a bug? Want a new feature? Create a GitHub issue and we’ll take a look.
All code is licensed under the MIT license. Do with it as you will.