Image of an arrow


Thumbnail image

Mobility   Generic Protocols and Type Erasure in Swift By Thibault Wittemberg With Swift, you can define protocols by associating one or more generic types. These types are defined using the “associatedtype” keyword. The name “Generic Type” is a bit misused here. We should actually talk about a placeholder for a reserved type. Indeed, we will see that […]

More Articles