Skip to content
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

Closed
wants to merge 2 commits into from
Closed

doc: added sample usage tutorials #6

wants to merge 2 commits into from

Conversation

soumyamahunt
Copy link
Contributor

No description provided.

@soumyamahunt soumyamahunt added help wanted Extra attention is needed documentation Improvements or additions to documentation labels Jun 30, 2023

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#>")
Copy link
Contributor Author

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#>")
Copy link
Contributor Author

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#>")
Copy link
Contributor Author

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#>")
Copy link
Contributor Author

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#>")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs assets.

@soumyamahunt soumyamahunt linked an issue Jul 3, 2023 that may be closed by this pull request
12 tasks
@soumyamahunt
Copy link
Contributor Author

Superseded by #48.

@soumyamahunt soumyamahunt deleted the tutorials branch January 2, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Documentation] Create better documentation for easy and wider adoption
1 participant