---
title: city
framework: datadetection
role: symbol
role_heading: Instance Property
path: datadetection/ddmatchpostaladdress/city
---

# city

The city name in a postal address.

## Declaration

```swift
var city: String? { get }
```

## See Also

### Getting postal address information

- [street](datadetection/ddmatchpostaladdress/street.md)
- [state](datadetection/ddmatchpostaladdress/state.md)
- [postalCode](datadetection/ddmatchpostaladdress/postalcode.md)
- [country](datadetection/ddmatchpostaladdress/country.md)
