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:
cellThe UICollectionViewCell or subclass instance to configure.
indexPathThe IndexPath of the cell to configure.
itemThe data item you provide in dequeueConfiguredReusableCellWithRegistration:forIndexPath:item:.