Heterogeneous Sections

Our Diffable Datasource and snapshots are generic over the type of data that we pass to the cells. So how can we make sections with completely different data? In this episode we'll cover one approach which involves defining an enum with associated data for each of the sections. We'll use this to add a Series strip of data mixed in with our collection view.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/456-modern-collection-views-07-heterogeneous-sections