Skip to content
Store anything anywhere with ease. Documentation:
Swift Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.swiftpm/xcode/package.xcworkspace
CocoaPods
Example
Sources
Tests
.gitignore
EFStorage.podspec
LICENSE
Package.resolved
Package.swift
README.md

README.md

EFStorage

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

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

// 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.

You can’t perform that action at this time.