image
The image to display for the toolbar item.
Declaration
var image: UIImage? { get set }var image: NSImage? { get set }Discussion
If you assign a custom view to the toolbar item, modifying this property updates the image property of the view, if one exists. If the item doesn’t contain a custom view, the toolbar item manages the image content directly.