Contents

nextFocusedIndexPath

The index path of the collection view cell that’s receiving the focus.

Declaration

var nextFocusedIndexPath: IndexPath? { get }

Discussion

This property contains the index path only when the view receiving focus belongs to a cell of the collection view. If focus is moving to a view outside of the collection view and its cells, this property is nil.

See Also

Locating focusable items in the collection view