---
title: location
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/spotlightsearchtool/contentdomain/visualmedia-swift.struct/location
---

# location

Attributes queried for the location. Default: city

## Declaration

```swift
var location: [SearchableItemAttribute]?
```

## See Also

### Getting the domain attributes

- [date](corespotlight/spotlightsearchtool/contentdomain/visualmedia-swift.struct/date.md)
- [description](corespotlight/spotlightsearchtool/contentdomain/visualmedia-swift.struct/description.md)
- [people](corespotlight/spotlightsearchtool/contentdomain/visualmedia-swift.struct/people.md)
