Contents

candidateListTouchBarItem(_:changeSelectionFromCandidateAt:to:)

Tells the delegate that user has moved from touching one candidate in the candidate list item to another.

Declaration

@MainActor optional func candidateListTouchBarItem(_ anItem: NSCandidateListTouchBarItem<AnyObject>, changeSelectionFromCandidateAt previousIndex: Int, to index: Int)

Parameters

  • anItem:

    The candidate list item that the user is interacting with.

  • previousIndex:

    The index of the candidate that the user was previously touching.

  • index:

    The index of the candidate that the user is currently touching.

See Also

Handling selection changes