You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create UICollectionView with custom UICollectionViewLayout
Call RestApi and update data with snapshot for CollectionViewDiffableDataSource
and result var snapshot = DiffableDataSourceSnapshot<Section,Post>() let section = Section() snapshot.appendSections([section]) snapshot.appendItems(self.posts) self.dataSource.apply(snapshot)
If I use UICollectionViewDataSource (default) instead then no error https://i.imgur.com/rl6FG9s.png
Environments
version:
Swift version: 5.1
iOS version: 12
Xcode version: 10.3
Devices/Simulators: iPhone X
CocoaPods/Carthage version:
The text was updated successfully, but these errors were encountered:
I create UICollectionView with custom UICollectionViewLayout
Call RestApi and update data with snapshot for CollectionViewDiffableDataSource
and result
var snapshot = DiffableDataSourceSnapshot<Section,Post>() let section = Section() snapshot.appendSections([section]) snapshot.appendItems(self.posts) self.dataSource.apply(snapshot)
If I use UICollectionViewDataSource (default) instead then no error
https://i.imgur.com/rl6FG9s.png
Environments
version:
Swift version: 5.1
iOS version: 12
Xcode version: 10.3
Devices/Simulators: iPhone X
CocoaPods/Carthage version:
The text was updated successfully, but these errors were encountered: