Class

UICollectionViewFlowLayoutInvalidationContext

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

Declaration

@interface UICollectionViewFlowLayoutInvalidationContext : UICollectionViewLayoutInvalidationContext

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

invalidateFlowLayoutDelegateMetrics

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

invalidateFlowLayoutAttributes

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

See Also

Updates

UICollectionViewUpdateItem

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

UICollectionViewFocusUpdateContext

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

UICollectionViewLayoutInvalidationContext

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