---
title: addressCityAndState
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nstextcontenttype/addresscityandstate
---

# addressCityAndState

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

## Declaration

```swift
static let addressCityAndState: 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)
- [addressCity](appkit/nstextcontenttype/addresscity.md)
- [addressState](appkit/nstextcontenttype/addressstate.md)
- [postalCode](appkit/nstextcontenttype/postalcode.md)
- [sublocality](appkit/nstextcontenttype/sublocality.md)
- [countryName](appkit/nstextcontenttype/countryname.md)
