Protocol

NSPasteboard​Item​Data​Provider

This protocol is implemented by the data provider of a pasteboard item to provide the data for a particular UTI type.

Overview

You can specify an object as a pasteboard data provider for a pasteboard item using NSPasteboard​Item’s set​Data​Provider(_:​for​Types:​) method. The data provider must implement this protocol to provide data upon request.

Symbols

Providing Data

func pasteboard(NSPasteboard?, item:​ NSPasteboard​Item, provide​Data​For​Type:​ String)

Asks the receiver to provide data for a specified type to a given pasteboard.

func pasteboard​Finished​With​Data​Provider(NSPasteboard)

Informs the receiver that the pasteboard no longer needs the data provider for any of its pasteboard items.

Relationships

Inherits From