Einhugur macOS Bridge plugin.

NSColorPickerTouchBarItem.Constructor Constructor

Constructor which takes identifier, NSImage and action handler.

Constructor(
   identifier as String,
   image as EinhugurMacOSBridge.NSImage,
   actionHandler as ColorPickerActionDelegate)

Parameters

identifier
Touch Bar item identifier.
image
Image to be displayed on the Touch Bar.
actionHandler
Action handler which takes in method that gives feedback to your application when colors are selected on the Touch Bar.

Remarks

See Also

NSColorPickerTouchBarItem Class