I solved it:
Use this function
func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChangeContentWith snapshot: NSDiffableDataSourceSnapshot<String,NSManagedObjectID>)
instead of
func controller(_ controller: NSFetchedResultsController<NSFetchRequestResult>, didChangeContentWith snapshot: NSDiffableDataSourceSnapshotReference)
Post
Replies
Boosts
Views
Activity
I found the way to solve it.
Just implement empty UICollectionViewDragDelegate & UICollectionViewDropDelegate methods.
extension ReorderableCollectionViewController: UICollectionViewDragDelegate {
func collectionView(_ collectionView: UICollectionView, itemsForBeginning session: UIDragSession, at indexPath: IndexPath) -> [UIDragItem] {
return []
}
}
extension ReorderableCollectionViewController: UICollectionViewDropDelegate {
func collectionView(_ collectionView: UICollectionView, performDropWith coordinator: UICollectionViewDropCoordinator) {
}
}
I have same issue.
Also, onMove not working on macOS Big Sur Beta 6.
Same issue on Xcode 12 Beta 5 and Big Sur Beta 5.
Same issue here.Does Catalyst not support DiffableDataSource?
No, I haven't figure out.