Type Property

generalPasteboard

Returns the general NSPasteboard object.

Declaration

@property(class, readonly, strong) NSPasteboard *generalPasteboard;

Return Value

The general pasteboard.

Discussion

Invokes pasteboardWithName: to obtain the pasteboard.

See Also

Creating and Releasing a Pasteboard

+ pasteboardByFilteringData:ofType:

Creates and returns a new pasteboard with a unique name that supplies the specified data in as many types as possible given the available filter services.

+ pasteboardByFilteringFile:

Creates and returns a new pasteboard with a unique name that supplies the specified file data in as many types as possible given the available filter services.

+ pasteboardByFilteringTypesInPasteboard:

Creates and returns a new pasteboard with a unique name that supplies the specified pasteboard data in as many types as possible given the available filter services.

+ pasteboardWithName:

Returns the pasteboard with the specified name.

NSPasteboardName

The NSPasteboard class defines the following named pasteboards.

+ pasteboardWithUniqueName

Creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards in the system.

- releaseGlobally

Releases the receiver’s resources in the pasteboard server.