DTCollectionViewDragDelegate

open class DTCollectionViewDragDelegate : DTCollectionViewDelegateWrapper, UICollectionViewDragDelegate

Object, that implements UICollectionViewDragDelegate methods for DTCollectionViewManager.

  • Implementation of UICollectionViewDragDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, itemsForBeginning session: UIDragSession, at indexPath: IndexPath) -> [UIDragItem]
  • Implementation of UICollectionViewDragDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, itemsForAddingTo session: UIDragSession, at indexPath: IndexPath, point: CGPoint) -> [UIDragItem]
  • Implementation of UICollectionViewDragDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, dragPreviewParametersForItemAt indexPath: IndexPath) -> UIDragPreviewParameters?
  • Implementation of UICollectionViewDragDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, dragSessionWillBegin session: UIDragSession)
  • Implementation of UICollectionViewDragDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, dragSessionDidEnd session: UIDragSession)
  • Implementation of UICollectionViewDragDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, dragSessionAllowsMoveOperation session: UIDragSession) -> Bool
  • Implementation of UICollectionViewDragDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, dragSessionIsRestrictedToDraggingApplication session: UIDragSession) -> Bool