Instance Method

orderFrontSharingServicePicker:

Creates and displays a new instance of the sharing service picker.

Declaration

- (IBAction)orderFrontSharingServicePicker:(id)sender;

Parameters

sender

The sender.

Discussion

Creates a new instance of NSSharingServicePicker based on the current selection and shows to the screen. The items passed to the NSSharingServicePicker initializer are determined using the delegate method textView:willShowSharingServicePicker:forItems:.

When the current selection is 0 length, the whole document is passed to the method.