Protocol

NSCandidateListTouchBarItemDelegate

A set of methods that a candidate list item delegate uses to enable selection state and list visibility.

Declaration

@protocol NSCandidateListTouchBarItemDelegate

Topics

Handling Selection Changes

- candidateListTouchBarItem:beginSelectingCandidateAtIndex:

Tells the delegate that the user has started touching one of the candidates in the candidate list item.

- candidateListTouchBarItem:changeSelectionFromCandidateAtIndex:toIndex:

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

- candidateListTouchBarItem:endSelectingCandidateAtIndex:

Tells the delegate that a user has stopped touching candidates in the candidate list item.

Handling Visibility Changes

- candidateListTouchBarItem:changedCandidateListVisibility:

Tells the delegate that the visibility of the candidate list has changed.

Relationships

Inherits From

See Also

Providing a Client and a Delegate

client

The client object for the candidate list item.

delegate

The delegate of the candidate list item.