Instance Property

isVisible

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

Declaration

var isVisible: Bool { get }

Discussion

When true, this item is shown in a currently visible bar. This property is always false for spaces, proxy items, and groups.

This property is key-value observable.

See Also

Managing Item Visibility

var visibilityPriority: NSTouchBarItem.Priority

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

struct NSTouchBarItem.Priority

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