Contents

UICollectionViewFocusUpdateContext

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

Declaration

@MainActor class UICollectionViewFocusUpdateContext

Overview

When focus changes, the collection view delegate receives a context object with the relevant information. Your delegate methods use the information in this object to create animations or to perform other tasks related to the change in focus.

Topics

Locating focusable items in the collection view

See Also

Layout updates