A Swift key-value store backed by LevelDB for persistent local storage in iOS/macOS apps.
SwiftStore is a key-value store library for Swift that provides persistent local storage using a simple dictionary-like API. It solves the need for a lightweight, efficient storage solution in iOS and macOS apps without the complexity of full SQL databases. The library is backed by LevelDB, offering reliable performance for storing strings, tokens, and other small data.
Swift developers building iOS or macOS applications who need a straightforward, persistent key-value storage solution without external dependencies.
Developers choose SwiftStore for its minimal Swift-native API, performance from LevelDB integration, and ease of integration via Carthage or manual installation—ideal for replacing UserDefaults or simple file storage.
Key-Value store for Swift backed by LevelDB
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses subscript syntax like `store["key"] = value` for straightforward usage, mimicking Swift's native dictionary types as shown in the README examples.
Built on Google's LevelDB, providing fast, persistent key-value storage with low overhead, ideal for efficient local data handling.
Supports configuration as a shared instance, simplifying access across an app, demonstrated in the README with a custom DB class.
Updated to use LevelDB as an XCFramework for multi-architecture support (iOS, macOS), ensuring compatibility with modern Swift projects.
Only supports basic key-value operations; lacks features for complex queries, filtering, or sorting, making it unsuitable for data-intensive apps.
LevelDB does not provide encryption, so sensitive data like tokens is stored in plain text, requiring manual security implementation.
Installation relies heavily on Carthage, with no mention of Swift Package Manager, which might hinder adoption in teams using modern toolchains.
The README covers only basic usage and installation, lacking advanced topics like error handling, migration, or performance optimization guides.