<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSCandidateListTouchBarItem/client",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSCandidateListTouchBarItem(py)client"
  },
  "title" : "client"
}
-->

# client

The client object for the candidate list item.

```
weak var client: (any NSView & NSTextInputClient)? { get set }
```

## Discussion

This object must be a subclass of [`NSView`](/documentation/AppKit/NSView) and adopt the [`NSTextInputClient`](/documentation/AppKit/NSTextInputClient) protocol.

The candidate list item uses this property to show completion candidates as users enter text. You can disable this behavior with the [`allowsTextInputContextCandidates`](/documentation/AppKit/NSCandidateListTouchBarItem/allowsTextInputContextCandidates) property.

---

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)