Classes
The following classes are available globally.
-
A
See moreUICollectionView
subclass that enables contiuous selection of cells while dragging. Use this class as you would use a regular instance ofUICollectionView
, i.e. with aUICollectionViewDataSource
and aUICollectionViewDelegate
. CallbeginDragSelection(at:)
when you want to start a continuous selection event starting at a particularIndexPath
. Throughout the selection process, this class will ask itsdelegate
if it should select / deselect each cell it encounters.Declaration
Swift
public class DragSelectCollectionView: UICollectionView