func configureDataSource() {
print("configure dataSource!!!")
dataSource = UICollectionViewDiffableDataSource
<Section, StoryItem>(collectionView: storyCollectionView) {
(collectionView: UICollectionView, indexPath: IndexPath, storyItem: StoryItem) -> UICollectionViewCell? in
print("try creating a collection view cell!")
The print statement showing that the function was called appears in the console, but the code within the { for UICollectionViewDiffableDataSource
does not run.
Any suggestions on where to troubleshoot next? Thanks so much!