Instance Property

invalidatedDecorationIndexPaths

A dictionary containing the decoration views whose layout attributes are invalid.

Declaration

var invalidatedDecorationIndexPaths: [NSCollectionView.DecorationElementKind : Set<IndexPath>]? { get }

Discussion

The keys in this dictionary are the element kind strings of the decoration views. The value for each key is an NSSet object containing one or more NSIndexPath objects, each of which identifies the section containing the decoration view.

See Also

Invalidating Specific Items

func invalidateItems(at: Set<IndexPath>)

Marks the specified items as invalid so that their layout information can be updated.

func invalidateSupplementaryElements(ofKind: NSCollectionView.SupplementaryElementKind, at: Set<IndexPath>)

Marks the specified supplementary views as invalid so that their layout information can be updated.

func invalidateDecorationElements(ofKind: NSCollectionView.DecorationElementKind, at: Set<IndexPath>)

Marks the specified decoration views as invalid so that their layout information can be updated.

var invalidatedItemIndexPaths: Set<IndexPath>?

The set of items whose layout attributes are invalid.

var invalidatedSupplementaryIndexPaths: [NSCollectionView.SupplementaryElementKind : Set<IndexPath>]?

A dictionary containing the supplementary views whose layout attributes are invalid.