We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a6fcc1 commit 31ecb57Copy full SHA for 31ecb57
README.md
@@ -11,13 +11,18 @@ This library helps you to use your custom types that conform to `Codable` protoc
11
12
```swift
13
struct Model: Codable {
14
+ enum MyEnum: Int, Codable {
15
+ case one, two, three
16
+ }
17
+
18
let stringExample: String
19
let booleanExample: Bool
20
let numberExample: Double
21
let dateExample: Date
22
let arrayExample: [String]
23
let nullExample: Int?
24
let objectExample: [String: String]
25
+ let myEnum: MyEnum
26
}
27
```
28
0 commit comments