<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DataDetection",
  "identifier" : "/documentation/DataDetection/DDMatchPostalAddress",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "DataDetection"
    ],
    "preciseIdentifier" : "c:objc(cs)DDMatchPostalAddress"
  },
  "title" : "DDMatchPostalAddress"
}
-->

# DDMatchPostalAddress

An object that contains a postal address that the data detection system matches.

```
class DDMatchPostalAddress
```

## Overview

The DataDetection framework returns a postal address match in a `DDMatchPostalAddress` object, which optionally contains the matching parts of a postal address: street, city, state, postal code, and country.

## Topics

### Getting postal address information

[`street`](/documentation/DataDetection/DDMatchPostalAddress/street)

The street name in a postal address.

[`city`](/documentation/DataDetection/DDMatchPostalAddress/city)

The city name in a postal address.

[`state`](/documentation/DataDetection/DDMatchPostalAddress/state)

The state name in a postal address.

[`postalCode`](/documentation/DataDetection/DDMatchPostalAddress/postalCode)

The postal code in a postal address.

[`country`](/documentation/DataDetection/DDMatchPostalAddress/country)

The country or region name in a postal address.

## Relationships

### Conforms To

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

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

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

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`DDMatch`](/documentation/DataDetection/DDMatch)

---

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)