From 7917b9ecace232fe32d28132f51a57fc12288cb3 Mon Sep 17 00:00:00 2001
From: Ryo Aoyama
@@ -167,7 +167,7 @@
Swift
-public var supplementaryViewProvider: CollectionViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType>.SupplementaryViewProvider?
+ public var supplementaryViewProvider: SupplementaryViewProvider?
+
+
+ collectionView(_:canMoveItemAt:)
+
+ Returns whether it is possible to edit a row at given index path.
+ +Swift
+open func collectionView(_ collectionView: UICollectionView, canMoveItemAt indexPath: IndexPath) -> Bool
+
+
+
+ collectionView
+
+ |
+
+
+
+ A collection view instance managed by |
+
+
+ section
+
+ |
+
+
+
+ An index of section. + |
+
A boolean for row at specified index path.
+
+
+
+ collectionView(_:moveItemAt:to:)
+
+ Moves a row at given index path.
+ +Swift
+public func collectionView(_ collectionView: UICollectionView, moveItemAt sourceIndexPath: IndexPath, to destinationIndexPath: IndexPath)
+
+
+
+ collectionView
+
+ |
+
+
+
+ A collection view instance managed by |
+
+
+ sourceIndexPath
+
+ |
+
+
+
+ An index path for given cell position. + |
+
+
+ destinationIndexPath
+
+ |
+
+
+
+ An index path for target cell position. + |
+
Void.
+