Instance Property


Determines which items are shown in a bar when space is limited.


var visibilityPriority: NSTouchBarItem.Priority { get set }


The bar hides items of lower priority when there is not enough space to show all items. Use this property to specify the relative priority of the items in your bar.

See Also

Managing Item Visibility

struct NSTouchBarItem.Priority

Priorities for the visibility of a Touch Bar item.

var isVisible: Bool

A Boolean value that reflects whether or not the item is visible.