Einhugur macOS Bridge plugin. |
|
EinhugurMacOSBridge.NSTouchBarResponder Class
This class is like a receipt token to keep after you have Registered a TouchBar.
For example if you register TouchBar for your Application in your Application class then the Application should store in property this receipt object.
In same way if you register Touch Bar for a specific window then the receipt object should be stored in property on that given window so that when the window dies the Touch Bar for the window gets unregistered.
Once the receipt object is no longer referenced the Touch Bar is removed and unregistered.
So if you wish to reconstruct the Touch-bar then you can set the receipt Object to nil and then Register Touch Bar again.
For Touch Bars macOS 10.12.2 or later is needed.
Object
NSTouchBarResponder
class EinhugurMacOSBridge.NSTouchBarResponder
Supported Platforms:
MacOS X Cocoa 32 bitMacOS X Cocoa 64 bitUnsupported Platforms:
MacOS X CarbonWindows 32 bitWindows 64 bitLinux 32 bitLinux 64 bitLinux ARM