PAT and Generics both do the same job, so, which one to use then?
When we need to decide how to store data and model behavior, there are two choices: Classes and Struc...
Can associated types in Swift be used as generics?
At WWDC 2019, Apple surprised us all by announcing a completely new declarative UI framework called S...
Hands up everyone who can remember how to work with Swift strings, especially when it comes to substr...
In this post, we will cover how to present and dismiss a modal view.
Use Pattern-matching and SwiftUI to build TicTacToe game
A few months ago, I bought myself a fancy MacBook Pro. You know, one of those fancy devices with the...