NSCandidateListTouchBarItem
A bar item that, along with its delegate, provides a list of textual suggestions for the current text view.
Declaration
class NSCandidateListTouchBarItem<CandidateType> where CandidateType : AnyObjectTopics
Providing a client and a delegate
Populating the candidate list
setCandidates(_:forSelectedRange:in:)candidatesattributedStringForCandidateallowsTextInputContextCandidates
Handling collapsible behavior
Managing candidate list visibility
Configuring bar customization
See Also
Touch Bar items
NSTouchBarItemNSColorPickerTouchBarItemNSCustomTouchBarItemNSGroupTouchBarItemNSPopoverTouchBarItemNSSharingServicePickerTouchBarItemNSSliderTouchBarItemNSStepperTouchBarItemNSUserInterfaceCompressionOptionsNSButtonTouchBarItemNSPickerTouchBarItemNSPickerTouchBarItem.ControlRepresentationNSPickerTouchBarItem.SelectionMode