---
title: locality
framework: corelocation
role: symbol
role_heading: Instance Property
path: corelocation/clplacemark/locality
---

# locality

The city associated with the placemark.

## Declaration

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

## Mentioned in

Converting a user’s location to a descriptive placemark

## Discussion

Discussion If the placemark location is Apple’s headquarters, for example, the value for this property would be the string “Cupertino”.

## See Also

### Getting the placemark details

- [thoroughfare](corelocation/clplacemark/thoroughfare.md)
- [subThoroughfare](corelocation/clplacemark/subthoroughfare.md)
- [subLocality](corelocation/clplacemark/sublocality.md)
- [administrativeArea](corelocation/clplacemark/administrativearea.md)
- [subAdministrativeArea](corelocation/clplacemark/subadministrativearea.md)
- [postalCode](corelocation/clplacemark/postalcode.md)
