Platforms to show: All Mac Windows Linux Cross-Platform
NSSharingServiceItemsMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Social | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Create an object from this class, add some items and pass to the share methods.
- property Handle as Integer
- 16 methods
- method AddAttributedString(AttributedString as NSAttributedStringMBS)
- method AddAttributedString(AttributedStrings() as NSAttributedStringMBS)
- method AddFile(file as folderitem)
- method AddFiles(files() as folderitem)
- method AddImage(image as NSImageMBS)
- method AddImages(images() as NSImageMBS)
- method AddText(text as string)
- method AddText(texts() as string)
- method AddURL(URL as string)
- method AddURL(URLs() as string)
- method Constructor
- method count as Integer
- method Images as NSImageMBS()
- method objectAtIndex(index as Integer) as Variant
- method Texts as string()
- method URLs as string()
This class has no sub classes.
Some methods using this class:
- NSSharingServiceMBS.canPerformWithItems(items as NSSharingServiceItemsMBS) as Boolean
- NSSharingServiceMBS.performWithItems(items as NSSharingServiceItemsMBS)
- NSSharingServiceMBS.sharingServicesForItems(items as NSSharingServiceItemsMBS) as NSSharingServiceMBS()
- NSSharingServicePickerMBS.Constructor(items as NSSharingServiceItemsMBS)
Some events using this class:
- NSSharingServiceDelegateMBS.didCompleteForItems(service as NSSharingServiceMBS, items as NSSharingServiceItemsMBS, error as NSErrorMBS)
- NSSharingServiceDelegateMBS.didFailToShareItems(service as NSSharingServiceMBS, items as NSSharingServiceItemsMBS, error as NSErrorMBS)
- NSSharingServiceDelegateMBS.didShareItems(service as NSSharingServiceMBS, items as NSSharingServiceItemsMBS)
- NSSharingServiceDelegateMBS.sourceWindowForShareItems(service as NSSharingServiceMBS, items as NSSharingServiceItemsMBS, scope as Integer) as NSWindowMBS
- NSSharingServiceDelegateMBS.willShareItems(service as NSSharingServiceMBS, items as NSSharingServiceItemsMBS)
- NSSharingServicePickerMBS.sharingServicesForItems(items as NSSharingServiceItemsMBS, proposedServices() as NSSharingServiceMBS) as NSSharingServiceMBS()
Some examples using this class:
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
NSSharingServiceDelegateMBS - NSSharingServiceMBS