UICollectionViewDelegateプロトコル
概要
メソッドとプロパティ
選択したセルの管理
– collectionView:shouldSelectItemAtIndexPath
– collectionView:didSelectItemAtIndexPath
– collectionView:shouldDeselectItemAtIndexPath
– collectionView:didDeselectItemAtIndexPath
セルのハイライト管理
– collectionView:shouldHighlightItemAtIndexPath
– collectionView:didHighlightItemAtIndexPath
– collectionView:didUnhighlightItemAtIndexPath
ビューの移動管理
– collectionView:didEndDisplayingCell:forItemAtIndexPath
– collectionView:didEndDisplayingSupplementaryView:forElementOfKind:atIndexPath:
セルのアクションの管理
– collectionView:shouldShowMenuForItemAtIndexPath:
– collectionView:canPerformAction:forItemAtIndexPath:withSender:
– collectionView:performAction:forItemAtIndexPath:withSender: