Contents

UICollectionViewCellRegistrationConfigurationHandler

A closure that handles the cell registration and configuration.

Declaration

typedef void (^)(__kindof UICollectionViewCell *, NSIndexPath *, id) UICollectionViewCellRegistrationConfigurationHandler;

Discussion

The closure takes the following parameters:

cell

The UICollectionViewCell or subclass instance to configure.

indexPath

The IndexPath of the cell to configure.

item

The data item you provide in dequeueConfiguredReusableCellWithRegistration:forIndexPath:item:.

See Also

Creating a cell registration