1

I have a collection view with 4 sections that each section have a different Item type. How should I achieve this with UICollectionViewDiffableDataSource? I tried AnyHashable and enum associated values but I cant figured it out how should I use it on dataSource implementation (and collectionView.dequeueConfiguredReusableCell).

0 Answers0