textView(_:shouldUpdateTouchBarItemIdentifiers:)
Returns and array of touch bar elements for the framework to update.
Declaration
@MainActor optional func textView(_ textView: NSTextView, shouldUpdateTouchBarItemIdentifiers identifiers: [NSTouchBarItem.Identifier]) -> [NSTouchBarItem.Identifier]Parameters
- textView:
The text view that sent the message.
- identifiers:
An array of touch bar identifiers to evaluate.
Return Value
Returns an array of NSTouchBarItem.Identifier elements for framework to update.