Contents

NSPasteboardWriting

A set of methods that defines the interface for retrieving a representation of an object that can be written to a pasteboard.

Declaration

protocol NSPasteboardWriting : NSObjectProtocol

Overview

The Cocoa framework classes NSString, NSAttributedString, NSURL, NSColor, NSSound, NSImage, and NSPasteboardItem implement this protocol. You can make your custom class conform to this protocol so that you can write instances of the class to a pasteboard using the writeObjects(_:) method of NSPasteboard.

Topics

Required Methods

Property List for Type

Constants

See Also

Pasteboard