---
title: writablePasteboardTypes
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextview/writablepasteboardtypes
---

# writablePasteboardTypes

The pasteboard types that can be provided from the current selection.

## Declaration

```swift
var writablePasteboardTypes: [NSPasteboard.PasteboardType] { get }
```

## Discussion

Discussion An array of strings describing the types that can be written to the pasteboard immediately, or an array with no members if the text view has no text or no selection. Overriders can copy the result from super and add their own new types.

## See Also

### Managing the pasteboard

- [preferredPasteboardType(from:restrictedToTypesFrom:)](appkit/nstextview/preferredpasteboardtype(from:restrictedtotypesfrom:).md)
- [readSelection(from:)](appkit/nstextview/readselection(from:).md)
- [readSelection(from:type:)](appkit/nstextview/readselection(from:type:).md)
- [readablePasteboardTypes](appkit/nstextview/readablepasteboardtypes.md)
- [writeSelection(to:type:)](appkit/nstextview/writeselection(to:type:).md)
- [writeSelection(to:types:)](appkit/nstextview/writeselection(to:types:).md)
- [validRequestor(forSendType:returnType:)](appkit/nstextview/validrequestor(forsendtype:returntype:).md)
