Contents

standardShareMenuItem()

Returns a menu item that your app uses for sharing the current document.

Declaration

func standardShareMenuItem() -> NSMenuItem

Return Value

An NSMenuItem for the Share menu.

Discussion

Use this method to perform custom placement of the Share menu if your NSDocument subclass returns false for allowsAutomaticShareMenu.

See Also

Sharing