Introduction to Swift Phantom Types

Hello everyone, Leo here.¬†Today I want to share something I recently discovered, and you guessed right, the Swift Phantom Types in. The phantom type definition is a technique to create a compile-time guarantee that a given piece of data will always match our requirements. In others, a way to Swift is MORE type-safe at compile […]