NSTouchBarItemMBS Example to add a button to the TouchBar

Has anyone a example to add a simple button to a Touchbar with NSTouchBarItemMBS? I could not find a example in the MBSPlugins example folder. There is only one example to check if a Touchbar is available.

What is missing in the “/Mac64bit/TouchBar Test” example project?
It does create buttons!?

see code online here:
https://www.monkeybreadsoftware.net/example-mac64bit-touchbartest.shtml

[quote=399493:@Christian Schmitz]What is missing in the “/Mac64bit/TouchBar Test” example project?
It does create buttons!?

see code online here:
https://www.monkeybreadsoftware.net/example-mac64bit-touchbartest.shtml[/quote]

Works like a charm here.