templateItems
The primary source of items that the Touch Bar uses to fill its private items array, unless you provide items using a delegate.
Declaration
var templateItems: Set<NSTouchBarItem> { get set }Discussion
When a bar needs to fill its private items array with items (NSTouchBarItem instances), it employs a variety of potential sources. The first place it looks is this property. For more information, see Item objects.
The system archives this property.