Rust structs are user-defined types which combine an arbitrary number of values under a new type. They are the building blocks used to model an application's domain.
Read more →
Enums are one of the ways Rust allows creating user-defined types. An enum is useful to represent a set of related values known at compile time.
The Combine framework provides a declarative Swift API for processing values over time, similar to other frameworks such as RxSwift, which means FRP now becomes a first-party paradigm in the iOS world!
This is the second part of my previous article "Codable by Example". This time we'll be covering a few more scenarios when decoding JSON payloads into Swift types.
Introduced in Swift 4, Codable is a versatile mechanism allowing the conversion to and from external data representations, such as JSON payloads or Property Lists.