Einhugur macOS Bridge plugin. |
|
NSTouchBar.SetTemplateItems Method
Sets up Touch Bar item pool for the touch-bar.

SetTemplateItems(
items()
as EinhugurMacOSBridge.NSTouchBarItem)
Parameters
- items()
- Array of EinhugurMacOSBridge.NSTouchBarItem items. (Subclasses of EinhugurMacOSBridge.NSTouchBarItem , like the NSCustomTouchBarItem and NSGroupTouchBarItem for example)
Remarks
When Touch Bar is created then when creating the items, the macOS searches first the template items for the requested identifier, then it looks in the MakeItemForIdentifierDelegate.
See Also
NSTouchBar Class