<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPasteboard/DetectedValues",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "s:So12NSPasteboardC6AppKitE14DetectedValuesV"
  },
  "title" : "NSPasteboard.DetectedValues"
}
-->

# NSPasteboard.DetectedValues

A type that contains common types of data that the data detection system matches for a pasteboard.

```
struct DetectedValues
```

## Topics

### Email and web values

[`var emailAddresses: [DDMatchEmailAddress]`](/documentation/AppKit/NSPasteboard/DetectedValues/emailAddresses)

An array of email addresses that the data detection system identifies.

[`var links: [DDMatchLink]`](/documentation/AppKit/NSPasteboard/DetectedValues/links)

An array of web links that the data detection system identifies.

[`var probableWebSearch: String`](/documentation/AppKit/NSPasteboard/DetectedValues/probableWebSearch)

A string that the data detection system identifies as a probable web search item, suitable for implementing “Paste and Search”.

[`var probableWebURL: String`](/documentation/AppKit/NSPasteboard/DetectedValues/probableWebURL)

A string that the data detection system identifies as a probable web URL, suitable for implementing “Paste and Go”.

### Contact values

[`var phoneNumbers: [DDMatchPhoneNumber]`](/documentation/AppKit/NSPasteboard/DetectedValues/phoneNumbers)

An array of phone numbers that the data detection system identifies.

[`var postalAddresses: [DDMatchPostalAddress]`](/documentation/AppKit/NSPasteboard/DetectedValues/postalAddresses)

An array of postal addresses that the data detection system identifies.

### Calendar values

[`var calendarEvents: [DDMatchCalendarEvent]`](/documentation/AppKit/NSPasteboard/DetectedValues/calendarEvents)

An array of calendar events that the data detection system identifies.

### Numeric values

[`var moneyAmounts: [DDMatchMoneyAmount]`](/documentation/AppKit/NSPasteboard/DetectedValues/moneyAmounts)

An array of money amounts and currencies that the data detection system identifies.

[`var number: Double?`](/documentation/AppKit/NSPasteboard/DetectedValues/number)

A number that the data detection system identifies.

### Transportation-related values

[`var flightNumbers: [DDMatchFlightNumber]`](/documentation/AppKit/NSPasteboard/DetectedValues/flightNumbers)

An array of flight numbers that the data detection system identifies.

[`var shipmentTrackingNumbers: [DDMatchShipmentTrackingNumber]`](/documentation/AppKit/NSPasteboard/DetectedValues/shipmentTrackingNumbers)

An array of parcel tracking numbers and carriers that the data detection system identifies.

### Patterns

[`var patterns: Set<PartialKeyPath<NSPasteboard.DetectedValues>>`](/documentation/AppKit/NSPasteboard/DetectedValues/patterns)

A set of key paths that represent patterns that the data detection system identifies.



---

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)