Instance Property

client

The client object for the candidate list item.

Declaration

@property(weak) NSView<NSTextInputClient> *client;

Discussion

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

delegate

The delegate of the candidate list item.

NSCandidateListTouchBarItemDelegate

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