Why does returning nil from
UICollectionViewDiffableDataSource<FeedElement, Entity>(collectionView: collectionView) {
(collectionView: UICollectionView, indexPath: IndexPath, entity: Entity) -> UICollectionViewCell? in
result n "the collection view's data source did not return a valid cell from"
Isn't the UICollectionViewCell optional?
5
0
2.6k