Episode #480

Mapping Models with Keypaths

22 minutes
Published on March 15, 2021

This video is only available to subscribers. Get access to this video and 504 others.

Ever wanted to translate from one type to another, for instance mapping from network models to core data objects? In this episode we will explore how to leverage Swift Keypaths to create a mapping between models. Along the way we'll run into a limitation of key paths and then talk about how to work around it.

This episode uses Swift 5.3, Xcode 12.4.