Classes

The following classes are available globally.

  • A UICollectionView subclass that enables contiuous selection of cells while dragging. Use this class as you would use a regular instance of UICollectionView, i.e. with a UICollectionViewDataSource and a UICollectionViewDelegate. Call beginDragSelection(at:) when you want to start a continuous selection event starting at a particular IndexPath. Throughout the selection process, this class will ask its delegate if it should select / deselect each cell it encounters.

    See more

    Declaration

    Swift

    public class DragSelectCollectionView: UICollectionView