We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84358a4 commit 345cfeeCopy full SHA for 345cfee
README.md
@@ -60,7 +60,7 @@ Encode and decode [`Codable`](https://developer.apple.com/documentation/swift/co
60
61
```swift
62
try UserDefaults.standard.encode(
63
- User(id: "99", name: "Herbert"),
+ User(id: "1", name: "Herbert"),
64
forKey: "owner"
65
)
66
@@ -81,7 +81,7 @@ Values are persisted in a friendly representation of plist native types:
81
let defaults = UserDefaults.standard.dictionaryRepresentation()
82
83
[
84
- "owner": ["id": 99, "name": "Herbert"],
+ "owner": ["id": 1, "name": "Herbert"],
85
"url": URL(string: "fish.com"),
86
"duration": [0, 1000000000]
87
]
0 commit comments