Episode #451

Cell Registration

Series: Working with Modern Collection Views

4 minutes
Published on July 31, 2020
In this episode we migrate our collection view to use the new cell registration API. Using this API we no longer need to cast dequeued cell types to our custom types. Instead, we set up the registration object with the cell type and the data we'll be passing to each cell. This further reduces the code we have to write in our datasource implementation and gives us more flexibility on how and where cells are configured.

This episode uses Swift 5.3, Ios 14.0-beta2, Xcode 12-beta2.

Comments are temporarily disabled.