Structure

NSPasteboardReadingOptions

Options to specify how data on the pasteboard should be interpreted to initialize an object in init(pasteboardPropertyList:ofType:).

Overview

You can specify only one option from this list. If you do not specify an option, the default asData is used.

Symbols

Constants

static var asData: NSPasteboardReadingOptions

Reads data from the pasteboard as-is and returns it as an NSData object.

static var asString: NSPasteboardReadingOptions

Reads data from the pasteboard and converts it to an NSString object.

static var asPropertyList: NSPasteboardReadingOptions

Reads data from the pasteboard and un-serializes it as a property list.

static var asKeyedArchive: NSPasteboardReadingOptions

Reads data from the pasteboard and uses init(coder:) to initialize the object.

Relationships

Conforms To