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

# location

A property that defines the content in a text input area as a location, such as a point of interest, an address, or another identifier for a location.

## Declaration

```swift
static let location: NSTextContentType
```

## See Also

### Setting location data

- [fullStreetAddress](appkit/nstextcontenttype/fullstreetaddress.md)
- [streetAddressLine1](appkit/nstextcontenttype/streetaddressline1.md)
- [streetAddressLine2](appkit/nstextcontenttype/streetaddressline2.md)
- [addressCity](appkit/nstextcontenttype/addresscity.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)
