Rui Costa

Rui Costa

Welcome to my blog! You may find me ocasionally writting about Swift and iOS development.

Latest articles

Variadic Function Parameters

Published Oct 15, 2024
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.
Read more →

Structs in Rust

Published Feb 26, 2022
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 in Rust

Published Jan 25, 2022
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.
Read more →

Swift, MVVM and Combine

Published Jun 30, 2019
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!
Read more →

Codable by Example - Part 2

Published Jun 13, 2019
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.
Read more →