Contents

NSPasteboardReading

A set of methods that defines the interface for initializing an object from a pasteboard.

Declaration

protocol NSPasteboardReading : 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 read instances from a pasteboard using the readObjects(forClasses:options:) method of NSPasteboard.

Topics

Initializing the Pasteboard

Reading From the Pasteboard

See Also

Pasteboard