Class

UICollectionViewFlowLayoutInvalidationContext

A set of properties for determining whether to recompute the size of items or their position in the layout.

Overview

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.

Topics

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.

See Also

Updates

class UICollectionViewUpdateItem

An object that describes a single change to make to an item in a collection view.

class UICollectionViewFocusUpdateContext

A context object that stores information specific to a focus update in a collection view.

class UICollectionViewLayoutInvalidationContext

A context object that declares which parts of your layout need to be updated when the layout is invalidated.