Cryo is a persistence library for Swift apps using Swift Concurrency. It provides a unified API for UserDefaults
, NSUbiquitousKeyValueStore
, local and iCloud document storage, as well as CloudKit.
Cryo can be added as a dependency in your project using Swift Package Manager.
// ...
dependencies: [
.package(url: "https://github.com/jonaszell97/Cryo.git", from: "0.1.0"),
],
// ...
You can find the documentation for this package here.