---
title: addressCity
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nstextcontenttype/addresscity
---

# addressCity

A property that defines the content in a text input area as a city name.

## Declaration

```swift
static let addressCity: NSTextContentType
```

## See Also

### Setting location data

- [location](appkit/nstextcontenttype/location.md)
- [fullStreetAddress](appkit/nstextcontenttype/fullstreetaddress.md)
- [streetAddressLine1](appkit/nstextcontenttype/streetaddressline1.md)
- [streetAddressLine2](appkit/nstextcontenttype/streetaddressline2.md)
- [addressCityAndState](appkit/nstextcontenttype/addresscityandstate.md)
- [addressState](appkit/nstextcontenttype/addressstate.md)
- [postalCode](appkit/nstextcontenttype/postalcode.md)
- [sublocality](appkit/nstextcontenttype/sublocality.md)
- [countryName](appkit/nstextcontenttype/countryname.md)
