-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: added sample usage tutorials #6
Conversation
|
||
To have fallback value instead of failure during decoding you can provide an optional default value, or to completely customize decoding/encoding logic provide a helper instance to be delegated. | ||
|
||
@Image(source: <#file#>, alt: "<#accessible description#>") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs assets.
|
||
To have fallback value instead of failure during decoding you can provide an optional default value, or to completely customize decoding/encoding logic provide a helper instance to be delegated. | ||
|
||
@Image(source: <#file#>, alt: "<#accessible description#>") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs assets.
@Intro(title: "Discover MetaCodable") { | ||
`MetaCodable` supercharges `Swift`'s `Codable` implementations with macros. Remove previous boiler-plate for `Codable` implementations and create `Codable` conformances faster than ever before. | ||
|
||
@Image(source: <#file#>, alt: "<#accessible description#>") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs assets.
@Chapter(name: "MetaCodable for CodingKeys") { | ||
Learn how to use `MetaCodable` to set up custom `CodingKey`s, create flattened model for nested data, provide default value for decoding failure and member-wise initializer, and build advanced customizations for the decoding/encoding aspect of any type. | ||
|
||
@Image(source: <#file#>, alt: "<#accessible description#>") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs assets.
@Chapter(name: "Composition with Codable types") { | ||
Discover how to use `MetaCodable` to create `Codable` types which is composition of other `Codable` types, provide default value for decoding failure and member-wise initializer, and build advanced customizations for the decoding/encoding aspect of composite types. | ||
|
||
@Image(source: <#file#>, alt: "<#accessible description#>") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs assets.
Superseded by #48. |
No description provided.