Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NSPasteboardMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Clipboard MBS MacBase Plugin 10.4 Yes No No Yes, macOS only No
Function: The class for the clipboard access on Cocoa.
dim p as new NSPasteboardMBS

MsgBox join(p.types,EndOfLine)
NSPasteboard objects transfer data to and from the pasteboard server. The server is shared by all running applications. It contains data that the user has cut or copied, as well as other data that one application wants to transfer to another. NSPasteboard objects are an application's sole interface to the server and to all pasteboard operations.

An NSPasteboard object is also used to transfer data between applications and service providers listed in each application's Services menu. The drag pasteboard (NSDragPboard) is used to transfer data that is being dragged by the user.

The plugin class NSPasteboardMBS does not implement all features of the NSPasteboard. If you miss something, please email us.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some events for this class:

Some examples which use this class:

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

NSPasteboardItemMBS   -   NSPathComponentCellMBS

MBS Xojo Plugins