Rui Costa

Rui Costa

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

Articles

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.

Read more →

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.

Read more →

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!

Read more →

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.

Read more →

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.

Read more →