<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCandidateListTouchBarItemDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSCandidateListTouchBarItemDelegate"
  },
  "title" : "NSCandidateListTouchBarItemDelegate"
}
-->

# NSCandidateListTouchBarItemDelegate

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

```
protocol NSCandidateListTouchBarItemDelegate : NSObjectProtocol
```

## Topics

### Handling selection changes

[`candidateListTouchBarItem(_:beginSelectingCandidateAt:)`](/documentation/AppKit/NSCandidateListTouchBarItemDelegate/candidateListTouchBarItem(_:beginSelectingCandidateAt:))

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

[`candidateListTouchBarItem(_:changeSelectionFromCandidateAt:to:)`](/documentation/AppKit/NSCandidateListTouchBarItemDelegate/candidateListTouchBarItem(_:changeSelectionFromCandidateAt:to:))

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

[`candidateListTouchBarItem(_:endSelectingCandidateAt:)`](/documentation/AppKit/NSCandidateListTouchBarItemDelegate/candidateListTouchBarItem(_:endSelectingCandidateAt:))

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

### Handling visibility changes

[`candidateListTouchBarItem(_:changedCandidateListVisibility:)`](/documentation/AppKit/NSCandidateListTouchBarItemDelegate/candidateListTouchBarItem(_:changedCandidateListVisibility:))

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)