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 NSServiceProviderMBS class.
NSServiceProviderMBS.readSelectionFromPasteboard(pboard as NSPasteboardMBS) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacCocoa Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
pboard: The pasteboard containing the data to read.
Return true if your implementation was able to read the pasteboard data successfully; otherwise, false.
NSServiceProviderMBS.ServiceInvoked(pboard as NSPasteboardMBS, userData as string, byref error as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacCocoa Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Use ServiceInvoked as the name of the selector when declaring service (NSMessage parameter).
Use NSUserData parameter to distinguish between all the services you offer.
NSServiceProviderMBS.validRequestor(sendType as String, returnType as String) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacCocoa Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
sendType: The pasteboard type the app needs to send.
returnType: The pasteboard type the app needs to receive.
Return true if your class can send and receive the specified types or false if the receiver knows of no object that can send and receive data of that type.
NSServiceProviderMBS.writeSelectionToPasteboard(pboard as NSPasteboardMBS, types() as String) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa | MBS MacCocoa Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
pboard: The pasteboard to write to.
types: An array of strings describing the types of data to write.
Return true if the data for any single type was successfully written, false otherwise.
The items on this page are in the following plugins: MBS MacCocoa Plugin.