NSSharingServiceMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

NSSharingServiceMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
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.

Sub classes:

Some events using this class:

Some examples using this class:

Blog Entries

Release notes


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


NSSharingServiceItemsMBS   -   NSSharingServicePickerMBS


💬 Ask a question or report a problem