Swiftpack.co - EFPrefix/EFStorage as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by EFPrefix.
EFPrefix/EFStorage 0.4.0
Store anything anywhere with ease. Documentation:
⭐️ 7
🕓 1 week ago
.package(url: "https://github.com/EFPrefix/EFStorage.git", from: "0.4.0")

EFStorage

An easy way to store anything anywhere -- UserDefaults, KeychainAccess, YYCache, you name it!

@EFStorageUserDefaults(forKey: "username")
var username: String = User.Name.random()

// Or, if you don't like constraints,
UserDefaults.efStorage.username = "OwO"

Usage

License

MIT License.

Icons of the demo projects in CocoaPods/ folder are from 萌娘百科 - 四次元ポケット. We are using it because in the hope that EFStorage can be like Doraemon's 4D Pocket to you.

GitHub

link
Stars: 7
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

EFStorage 0.3.2
2 years ago

Changed

  • fix CocoaPods version mismatch

Supported Containers

* YYCache
* UserDefaults
* KeychainAccess

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics