---
title: NSWritingToolsResultOptions
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nswritingtoolsresultoptions
---

# NSWritingToolsResultOptions

Constants to specify what type of content to allow in Writing Tools suggestions or rewrites.

## Declaration

```swift
struct NSWritingToolsResultOptions
```

## Overview

Overview When configuring a text view, specify what type of text input you want Writing Tools to deliver to your view. You can ask it to return plain text without any attributes, or you can ask it to apply relevant formatting attributes to the text. You can even encourage it to return items in a list or format them in a table.

## Topics

### Getting the output options

- [plainText](appkit/nswritingtoolsresultoptions/plaintext.md)
- [richText](appkit/nswritingtoolsresultoptions/richtext.md)
- [list](appkit/nswritingtoolsresultoptions/list.md)
- [table](appkit/nswritingtoolsresultoptions/table.md)

### Initializers

- [init(rawValue:)](appkit/nswritingtoolsresultoptions/init(rawvalue:).md)

### Type Properties

- [presentationIntent](appkit/nswritingtoolsresultoptions/presentationintent.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Enumerations

- [NSCursor.FrameResizePosition](appkit/nscursor/frameresizeposition.md)
- [NSHorizontalDirection](appkit/nshorizontaldirection.md)
- [NSSharingCollaborationMode](appkit/nssharingcollaborationmode.md)
- [NSImage.DynamicRange](appkit/nsimage/dynamicrange.md)
- [NSTextCursorAccessoryPlacement](appkit/nstextcursoraccessoryplacement.md)
- [NSVerticalDirection](appkit/nsverticaldirection.md)
- [NSWritingToolsBehavior](appkit/nswritingtoolsbehavior.md)
