Shows the picker, populated with sharing services related to the instance items.
The rectangle the picker should be showed relative to. The coordinates are in the view coordinate system. Passing NSZeroRect causes the view bounds to be used.
The preferred edge of the view to display the picker. See NSRectEdge for the possible values.
When the user selects one of the sharing services, the sharing service will be performed. This method must be called on mouse down by configuring the button used to trigger showing the picker to send its action on mouse down. You would typically do this by adding the following code to an appropriate awakeFromNib method:
Here is an example implementation of the action method your share button would call: