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 |
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 |
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 |
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.