Skip to content

Commit 0b7bad6

Browse files
authored
Update README.md
1 parent 9156452 commit 0b7bad6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ An easy way to store anything anywhere -- UserDefaults, KeychainAccess, YYCache,
55
```swift
66
@EFStorageUserDefaults(forKey: "username", defaultsTo: User.Name.random())
77
var username: String
8+
9+
// Or, if you don't like constraints,
10+
UserDefaults.efStorage.username = "OwO"
811
```
912

1013
See [Wiki](https://github.com/EFPrefix/EFStorage/wiki) for details on how to use `EFStorage`.

0 commit comments

Comments
 (0)