鈿狅笍 Please fill out this template when filing an issue.
Implemented a UICollectionView using the new Compositional Layout feature.
Then added this to viewDidLoad()
DispatchQueue.main.async {
self.collectionView.showSkeleton()
}
Expected to see the skeleton view applied to the UICollectionView
I assume that since UICollectionView implementations that use Compositional Layout use diffable datasources instead of implementing the CollecitonView data source the skeleton view was not applied to my collectionview cells.
Implement a UICollectionView with Compositional Layout and try applying the SkeletonView
SkeletonView version: SkeletonView (1.8.8)
Xcode version: 11.7
Swift version: 5.2
Hi @normand1, I need to check it, but I think we should make some changes to make SkeletonView compatible with the new Compositional layout system
What can we do in the meantime with composition layouts?
Your problem doesn't seem related to compositional layout, but with diffable data source, take a look at #279.
https://github.com/Juanpe/SkeletonView/issues/279#issuecomment-666167980 helped me to make it work.