Instance Property

visibilityPriority

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

Declaration

var visibilityPriority: NSTouchBarItem.Priority { get set }

Discussion

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

A value used to specify visibility priority of items in a bar.

var isVisible: Bool

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