Rui Costa
Articles
Variadic Function Parameters
Variadics are one of the simplest and most overlooked features in Swift. They are used to specifcy a parameter that can accept a variable number of values.
Structs in Rust
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.
Enums in Rust
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.
Swift, MVVM and Combine
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!
Codable by Example - Part 2
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.
Codable by Example
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.