DTCollectionViewDelegate

open class DTCollectionViewDelegate : DTCollectionViewDelegateWrapper, UICollectionViewDelegateFlowLayout

Object, that implements UICollectionViewDelegate and UICollectionViewDelegateFlowLayout methods for DTCollectionViewManager.

  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> CGSize
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForFooterInSection section: Int) -> CGSize
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, shouldDeselectItemAt indexPath: IndexPath) -> Bool
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, didDeselectItemAt indexPath: IndexPath)
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, didHighlightItemAt indexPath: IndexPath)
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, didUnhighlightItemAt indexPath: IndexPath)
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath)
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, willDisplaySupplementaryView view: UICollectionReusableView, forElementKind elementKind: String, at indexPath: IndexPath)
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath)
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, didEndDisplayingSupplementaryView view: UICollectionReusableView, forElementOfKind elementKind: String, at indexPath: IndexPath)
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, shouldShowMenuForItemAt indexPath: IndexPath) -> Bool
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?) -> Bool
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, performAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?)
  • Undocumented

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, canFocusItemAt indexPath: IndexPath) -> Bool
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, transitionLayoutForOldLayout fromLayout: UICollectionViewLayout, newLayout toLayout: UICollectionViewLayout) -> UICollectionViewTransitionLayout
  • Undocumented

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, shouldUpdateFocusIn context: UICollectionViewFocusUpdateContext) -> Bool
  • Undocumented

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, didUpdateFocusIn context: UICollectionViewFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator)
  • Undocumented

    Declaration

    Swift

    open func indexPathForPreferredFocusedView(in collectionView: UICollectionView) -> IndexPath?
  • Undocumented

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, targetIndexPathForMoveFromItemAt originalIndexPath: IndexPath, toProposedIndexPath proposedIndexPath: IndexPath) -> IndexPath
  • Undocumented

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, targetContentOffsetForProposedContentOffset proposedContentOffset: CGPoint) -> CGPoint
  • Undocumented

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, shouldSpringLoadItemAt indexPath: IndexPath, with context: UISpringLoadedInteractionContext) -> Bool
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat
  • Implementation of UICollectionViewDelegateFlowLayout and UICollectionViewDelegate protocol.

    Declaration

    Swift

    open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat