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"
- WARNING, and Table of Contents | 注意事项
- Adding
EFStorage
to your project | 集成EFStorage
- Using
EFStorage
| 使用EFStorage
- Expand
EFStorage
to Support Your Data Store | 让EFStorage
支持新的存储方案
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.