NSSharingServicePickerMBS methods

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.Constructor(items as NSSharingServiceItemsMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Initializes a new sharing service picker for the selected items.

Available in OS X v10.8 and later.

NSSharingServicePickerMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The destructor.

NSSharingServicePickerMBS.showRelativeToRect(r as NSRectMBS, view as NSViewMBS, preferredEdge as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Social MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Shows the picker, populated with sharing services related to the instance items.

rect: The rectangle the picker should be shown relative to. The coordinates are in the view coordinate system. Passing NSRectMBS.Zero causes the view bounds to be used.
view: The view.
preferredEdge: The preferred edge of the view to display the picker. See edge constants 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 mouseDown.

Available in OS X v10.8 and later.

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


💬 Ask a question or report a problem