DTCollectionViewDelegate
open class DTCollectionViewDelegate : DTCollectionViewDelegateWrapper, UICollectionViewDelegateFlowLayout
Object, that implements UICollectionViewDelegate
and UICollectionViewDelegateFlowLayout
methods for DTCollectionViewManager
.
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> CGSize
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForFooterInSection section: Int) -> CGSize
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, shouldDeselectItemAt indexPath: IndexPath) -> Bool
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, didDeselectItemAt indexPath: IndexPath)
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, didHighlightItemAt indexPath: IndexPath)
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, didUnhighlightItemAt indexPath: IndexPath)
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, willDisplay cell: UICollectionViewCell, forItemAt indexPath: IndexPath)
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, willDisplaySupplementaryView view: UICollectionReusableView, forElementKind elementKind: String, at indexPath: IndexPath)
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, didEndDisplaying cell: UICollectionViewCell, forItemAt indexPath: IndexPath)
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, didEndDisplayingSupplementaryView view: UICollectionReusableView, forElementOfKind elementKind: String, at indexPath: IndexPath)
-
Undocumented
Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, shouldShowMenuForItemAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, canPerformAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?) -> Bool
-
Undocumented
Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, performAction action: Selector, forItemAt indexPath: IndexPath, withSender sender: Any?)
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, canFocusItemAt indexPath: IndexPath) -> Bool
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, transitionLayoutForOldLayout fromLayout: UICollectionViewLayout, newLayout toLayout: UICollectionViewLayout) -> UICollectionViewTransitionLayout
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, shouldUpdateFocusIn context: UICollectionViewFocusUpdateContext) -> Bool
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, didUpdateFocusIn context: UICollectionViewFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator)
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func indexPathForPreferredFocusedView(in collectionView: UICollectionView) -> IndexPath?
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, targetIndexPathForMoveFromItemAt originalIndexPath: IndexPath, toProposedIndexPath proposedIndexPath: IndexPath) -> IndexPath
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, targetContentOffsetForProposedContentOffset proposedContentOffset: CGPoint) -> CGPoint
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol. -
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat
-
Implementation of
UICollectionViewDelegateFlowLayout
andUICollectionViewDelegate
protocol.Declaration
Swift
open func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat