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

# NSPasteboard.ReadingOptions

Options that specify how to interpret data on the pasteboard when initializing pasteboard data.

```
struct ReadingOptions
```

## Overview

You can specify only one option. If you don’t specify an option, the system uses the default [`asData`](/documentation/AppKit/NSPasteboard/ReadingOptions/asData).

## Topics

### Options

[`NSPasteboardReadingAsData`](/documentation/AppKit/NSPasteboard/ReadingOptions/asData)

An option to read data from the pasteboard as-is and return it as a data object.

[`NSPasteboardReadingAsString`](/documentation/AppKit/NSPasteboard/ReadingOptions/asString)

An option to read data from the pasteboard and convert it to a string object.

[`NSPasteboardReadingAsPropertyList`](/documentation/AppKit/NSPasteboard/ReadingOptions/asPropertyList)

An option to read data from the pasteboard and unserialize it as a property list.

[`NSPasteboardReadingAsKeyedArchive`](/documentation/AppKit/NSPasteboard/ReadingOptions/asKeyedArchive)

An option to read data from the pasteboard and use it to initialize the object.

### Initializers

[`init(rawValue:)`](/documentation/AppKit/NSPasteboard/ReadingOptions/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

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

[`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)