Platforms to show: All Mac Windows Linux Cross-Platform

NSServiceProviderMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa MBS MacCocoa Plugin 14.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The class to do service handlers in Cocoa applications.

This class must be subclassed to implement services.
Use ServiceInvoked as the name of the selector when declaring service (NSMessage parameter).
Use NSUserData parameter to distinguish between all the services you offer.
This class implements NSServiceProvider for Xojo and Xojo for Cocoa applications. For Carbon, please use CarbonApplicationEventsMBS events.

see also:
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/SysServices/introduction.html

This class has no sub classes.

Some properties using for this class:

Some examples using this class:

Blog Entries

Release notes

  • Version 21.0
    • Added readSelectionFromPasteboard, validRequestor and writeSelectionToPasteboard events for NSServiceProviderMBS class.

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


NSSegmentedControlMBS   -   NSShadowMBS


The biggest plugin in space...