Property List Key

NSExtensionServiceTouchBarIconName

The name of an icon for display when the extension appears as a Quick Action in the Touch Bar

Details

Type
string

Discussion

This key is used in conjunction with the NSExtensionServiceAllowsTouchBarItem key.

Set the NSExtensionServiceTouchBarIconName key's value to a system icon name or the name of an icon within the extension bundle. This icon should be a template image: a monochromatic image with transparency, anti-aliasing, and no drop shadow that uses a mask to define its shape. For design guidance, see Human Interface Guidelines > macOS > Custom Icons. If no icon is specified, a default icon is used.

See Also

AppKit

property list key NSExtensionServiceAllowsFinderPreviewItem

A Boolean value indicating whether the extension appears in the Finder Preview pane and Quick Actions menu.

property list key NSExtensionServiceAllowsToolbarItem

A Boolean value indicating whether an Action extension displays an item in a window’s toolbar.

property list key NSExtensionServiceAllowsTouchBarItem

A Boolean value indicating whether the extension appears as a Quick Action in the Touch Bar.

property list key NSExtensionServiceFinderPreviewIconName

The name of an icon for display when the extension appears in the Finder Preview pane and Quick Actions menu.

property list key NSExtensionServiceFinderPreviewLabel

A name for display when the extension appears in the Finder Preview pane and Quick Actions menu.

property list key NSExtensionServiceRoleType

The type of task an Action extension performs.

property list key NSExtensionServiceToolbarIconFile

The image for an Action extension’s toolbar item.

property list key NSExtensionServiceToolbarPaletteLabel

The label for an Action extension's toolbar item.

property list key NSExtensionServiceTouchBarBezelColorName

The color to use for the bezel around the extension when it appears as a Quick Action in the Touch Bar.

property list key NSExtensionServiceTouchBarLabel

A name for display when the extension appears as a Quick Action in the Touch Bar.