diff --git a/.version b/.version new file mode 100644 index 0000000..1d0ba9e --- /dev/null +++ b/.version @@ -0,0 +1 @@ +0.4.0 diff --git a/DiffableDataSources.podspec b/DiffableDataSources.podspec index 7f62850..d3cfa02 100644 --- a/DiffableDataSources.podspec +++ b/DiffableDataSources.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'DiffableDataSources' - spec.version = '0.3.0' + spec.version = `cat .version` spec.author = { 'ra1028' => 'r.fe51028.r@gmail.com' } spec.homepage = 'https://github.com/ra1028/DiffableDataSources' spec.documentation_url = 'https://ra1028.github.io/DiffableDataSources' diff --git a/docs/Classes/CollectionViewDiffableDataSource.html b/docs/Classes/CollectionViewDiffableDataSource.html index ba23473..0884bb1 100644 --- a/docs/Classes/CollectionViewDiffableDataSource.html +++ b/docs/Classes/CollectionViewDiffableDataSource.html @@ -23,7 +23,7 @@ DiffableDataSources Docs - (100% documented) + (96% documented)
@@ -167,7 +167,7 @@ changes with automatic diffing.
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.
+