<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWritingToolsResultOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSWritingToolsResultOptions"
  },
  "title" : "NSWritingToolsResultOptions"
}
-->

# NSWritingToolsResultOptions

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

```
struct NSWritingToolsResultOptions
```

## 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

[`static var plainText: NSWritingToolsResultOptions`](/documentation/AppKit/NSWritingToolsResultOptions/plainText)

An option to allow only plain text without any attributes in
the returned text.

[`static var richText: NSWritingToolsResultOptions`](/documentation/AppKit/NSWritingToolsResultOptions/richText)

An option to include style attributes consistent with the RTF
format in the returned text.

[`static var list: NSWritingToolsResultOptions`](/documentation/AppKit/NSWritingToolsResultOptions/list)

An option to allow list-style formatting in the returned text.

[`static var table: NSWritingToolsResultOptions`](/documentation/AppKit/NSWritingToolsResultOptions/table)

An option to allow tabular layout attributes in the returned text.

### 

### Initializers

[`init(rawValue: UInt)`](/documentation/AppKit/NSWritingToolsResultOptions/init(rawValue:))

### Type Properties

[`static var presentationIntent: NSWritingToolsResultOptions`](/documentation/AppKit/NSWritingToolsResultOptions/presentationIntent)

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`OptionSet`](/documentation/Swift/OptionSet)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)