---
title: DDMatchPostalAddress
framework: datadetection
role: symbol
role_heading: Class
path: datadetection/ddmatchpostaladdress
---

# DDMatchPostalAddress

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

## Declaration

```swift
class DDMatchPostalAddress
```

## Overview

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](datadetection/ddmatchpostaladdress/street.md)
- [city](datadetection/ddmatchpostaladdress/city.md)
- [state](datadetection/ddmatchpostaladdress/state.md)
- [postalCode](datadetection/ddmatchpostaladdress/postalcode.md)
- [country](datadetection/ddmatchpostaladdress/country.md)

## Relationships

### Inherits From

- [DDMatch](datadetection/ddmatch.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Matched data types

- [DDMatchCalendarEvent](datadetection/ddmatchcalendarevent.md)
- [DDMatchEmailAddress](datadetection/ddmatchemailaddress.md)
- [DDMatchFlightNumber](datadetection/ddmatchflightnumber.md)
- [DDMatchLink](datadetection/ddmatchlink.md)
- [DDMatchMoneyAmount](datadetection/ddmatchmoneyamount.md)
- [DDMatchPhoneNumber](datadetection/ddmatchphonenumber.md)
- [DDMatchShipmentTrackingNumber](datadetection/ddmatchshipmenttrackingnumber.md)
