Contents

Clipboard

Enable people to move or duplicate items by issuing Copy and Paste commands.

Overview

When people issue standard Copy and Cut commands, they expect to move items to the system’s Clipboard, from which they can paste the items into another place in the same app or into another app. Your app can participate in this activity if you add view modifiers that indicate how to respond to the standard commands.

[Image]

In your copy and paste modifiers, provide or accept types that conform to the Transferable protocol, or that inherit from the NSItemProvider class. When possible, prefer using transferable items.

Topics

Copying transferable items

Copying items using item providers

See Also

Event handling