Contents

UICollectionLayoutListItemSeparatorHandler

A closure that provides granular control over list separator appearance.

Declaration

typedef UIListSeparatorConfiguration *(^)(NSIndexPath *, UIListSeparatorConfiguration *) UICollectionLayoutListItemSeparatorHandler;

Parameters

  • indexPath:

    The Nsindexpath of the cell to configure separators for.

  • sectionSeparatorConfiguration:

    The list section’s separator configuration for the cell at indexPath. This configuration contains the values for separator visibility and insets according to the current state of the item.

Return Value

The configuration to use for the separators at indexPath.

See Also

Configuring separators