Instance Property


The client object for the candidate list item.


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


This object must be a subclass of NSView and adopt the 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 property.

See Also

Providing a Client and a Delegate

var delegate: NSCandidateListTouchBarItemDelegate?

The delegate of the candidate list item.

protocol NSCandidateListTouchBarItemDelegate

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