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
Back to NSSharingServicePickerMBS class.
NSSharingServicePickerMBS.delegateForSharingService(service as NSSharingServiceMBS) as NSSharingServiceDelegateMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Social | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
sharingServicePicker: The sharing service picker.
sharingService: The selected sharing service.
Return a NSSharingServiceDelegateMBS object the sharing service should use for this item's transfer.
Available in OS X v10.8 and later.
NSSharingServicePickerMBS.didChooseSharingService(service as NSSharingServiceMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Social | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
sharingServicePicker: The sharing service picker.
service: The sharing service the user selected. Invoked to give the delegate to the sharing service that is about to be executed.
Available in OS X v10.8 and later.
NSSharingServicePickerMBS.sharingServicesForItems(items as NSSharingServiceItemsMBS, proposedServices() as NSSharingServiceMBS) as NSSharingServiceMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Social | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No |
sharingServicePicker: The sharing service picker.
items: The items to share.
proposedServices: The proposed services to share the content.
Return the sharing services to use.
If you have no code in the event, the proposedServices are returned automatically.
The delegate can reorder, remove default services or add custom services before the picker is presented. It's possible to add custom services by mutating the proposedSharingServices array and adding new NSSharingService instances.
Available in OS X v10.8 and later.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.