Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

NSSharingServiceMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Social MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: The NSSharingService class is used to provide a consistent user experience when sharing items on OS X.
For example, items can be: NSURL objects, NSString objects, NSImage objects, video (through file URLs), or any object which implements the NSPasteboardWriting protocol.

For any item or group of items, the NSSharingServiceMBS will display a sharing sheet to allow the user to pre-visualize what will be shared to the service. A sharing service can: create a post on a social network like Twitter or Facebook, send a message by email or iMessage, upload videos to viewing services, or send a file by AirDrop.

Feedback, Comments & Corrections

Sub classes:

Some events for this class:

Some examples which use this class:

The items on this page are in the following plugins: MBS MacFrameworks Plugin.

NSSharingServiceItemsMBS   -   NSSharingServicePickerMBS

MBS Xojo PDF Plugins