|
@@ -249,6 +249,16 @@ class KMNThumbnailBaseViewController: KMNBaseViewController,NSCollectionViewDele
|
|
|
collectionView.setDraggingSourceOperationMask(.every, forLocal: false)
|
|
|
collectionView.setDraggingSourceOperationMask(.every, forLocal: true)
|
|
|
|
|
|
+ collectionView.collectionSelectChanges = {
|
|
|
+ if self.isChangeIndexPaths == false {
|
|
|
+ let indexpathsz = self.collectionView.selectionIndexPaths
|
|
|
+ let dex:IndexSet = KMNTools.indexpathsToIndexs(indexpaths: indexpathsz)
|
|
|
+ let selectedIndexPathsString = KMNTools.parseIndexSet(indexSet: dex)
|
|
|
+
|
|
|
+ self.thumbnailBaseViewDelegate?.changeIndexPathsThumbnailViewControlle?(pageEditVC: self, selectionIndexPaths: indexpathsz, selectionStrings: selectedIndexPathsString)
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
refreshDatas()
|
|
|
}
|
|
|
|