Class

UICollectionViewFlowLayoutInvalidationContext

A UICollectionViewFlowLayoutInvalidationContext object specifies properties for determining whether to recompute the size of items or their position in the layout. The flow layout object creates instances of this class when it needs to invalidate its contents in response to changes. You can also create instances when invalidating the flow layout manually.

Symbols

Specifying What to Invalidate

var invalidateFlowLayoutDelegateMetrics: Bool

A Boolean indicating whether to recompute the size of items and views in the layout.

var invalidateFlowLayoutAttributes: Bool

A Boolean indicating whether to recompute the layout attributes for items and views in the layout.