ASCollectionViewLayoutFacilitatorProtocol Protocol Reference

Conforms to NSObject
Declared in ASCollectionViewLayoutFacilitatorProtocol.h

Overview

This facilitator protocol is intended to help Layout to better gel with the CollectionView

– collectionViewWillEditCellsAtIndexPaths:batched: required method

Inform that the collectionView is editing the cells at a list of indexPaths

- (void)collectionViewWillEditCellsAtIndexPaths:(NSArray *)indexPaths batched:(BOOL)isBatched

Parameters

indexPaths

an array of NSIndexPath objects of cells being/will be edited.

isBatched

indicates whether the editing operation will be batched by the collectionView

NOTE: when isBatched, used in combination with -collectionViewWillPerformBatchUpdates

Declared In

ASCollectionViewLayoutFacilitatorProtocol.h

– collectionViewWillEditSectionsAtIndexSet:batched: required method

Inform that the collectionView is editing the sections at a set of indexes

- (void)collectionViewWillEditSectionsAtIndexSet:(NSIndexSet *)indexes batched:(BOOL)batched

Parameters

indexes

an NSIndexSet of section indexes being/will be edited.

batched

indicates whether the editing operation will be batched by the collectionView

NOTE: when batched, used in combination with -collectionViewWillPerformBatchUpdates

Declared In

ASCollectionViewLayoutFacilitatorProtocol.h

– collectionViewWillPerformBatchUpdates required method

Informs the delegate that the collectionView is about to call performBatchUpdates

- (void)collectionViewWillPerformBatchUpdates

Declared In

ASCollectionViewLayoutFacilitatorProtocol.h