Exploring Swift Protocols and API Design

by Tyler Johnson | at Minnebar spring 2020 (canceled)

Protocols in Swift are an odd beast. They can be used to construct an array of objects - except when they can't. We'll explore how protocols work under-the-hood in Swift, protocol witnesses, when/how to apply type erasure, and some tradeoffs when designing our APIs with protocols.

Intermediate

Tyler Johnson

Tyler is a software developer with Livefront