---
title: city
framework: contacts
role: symbol
role_heading: Instance Property
path: contacts/cnpostaladdress/city
---

# city

The city name in a postal address.

## Declaration

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

## See Also

### Getting the Parts of a Postal Address

- [street](contacts/cnpostaladdress/street.md)
- [state](contacts/cnpostaladdress/state.md)
- [postalCode](contacts/cnpostaladdress/postalcode.md)
- [country](contacts/cnpostaladdress/country.md)
- [isoCountryCode](contacts/cnpostaladdress/isocountrycode.md)
- [subAdministrativeArea](contacts/cnpostaladdress/subadministrativearea.md)
- [subLocality](contacts/cnpostaladdress/sublocality.md)
