Instance Property


The bar that is displayed when a user press-and-holds on the popover item.


var pressAndHoldTouchBar: NSTouchBar? { get set }


This NSTouchBar can be the same as the one used for the popoverTouchBar property, but does not have to be.

When non-nil this touch bar is displayed while the user holds their finger down on the collapsed representation of the popover item. When the user raises their finger, this bar disappears.

See Also

Configuring the Expanded Popover

var popoverTouchBar: NSTouchBar

The bar displayed when this item is "popped."

var showsCloseButton: Bool

A Boolean value that determines whether a close button should be shown on the popover bar.