NSSharingServicePickerToolbarItem
A toolbar item that displays the macOS share sheet.
Declaration
class NSSharingServicePickerToolbarItemOverview
An NSSharingServicePickerToolbarItem object is a standard item you add to your window’s toolbar. When someone clicks it, the item displays the macOS share sheet. Use this item to share the selected or focal content from the current window. For example, you might share the photo someone is viewing, the currently selected text, or the window’s associated document.
Provide the items to share using the associated delegate object. For an app built using Mac Catalyst, provide the items from the object in the activityItemsConfiguration property.