An array of localized strings that represent alternate display names for the item.
SDKs
- iOS 9.0+
- macOS 10.13+
- Mac Catalyst 13.0+
Framework
- Core Spotlight
Declaration
var alternateNames: [String]? { get set }
An array of localized strings that represent alternate display names for the item.
SDKs
Framework
var alternateNames: [String]? { get set }
var content Type: String?
The uniform type identifier (that is, UTI) of the item.
var content Type Tree: [String]?
An attribute type that identifies a custom hierarchy of types to describe the attributes of your item.
var content URL: URL?
The file URL of the content to be indexed.
var display Name: String?
A localized string that contains the name of the item, suitable to display in the user interface.
var keywords: [String]?
An array of keywords associated with the item, such as work, birthday, important, and so on.
var metadata Modification Date: Date?
The date on which the last metadata attribute was changed.
var path: String?
The complete path to the item.
var related Unique Identifier: String?
For activities, the unique identifier for the item to which the activity is related.
var thumbnail Data: Data?
Image data that represents the thumbnail of the item.
var thumbnail URL: URL?
The local file URL of the thumbnail image for the item.
var title: String?
The title of the item.
var domain Identifier: String?
An identifier that represents the domain or owner of the item.
var weak Related Unique Identifier: String?
For activities, the unique identifier for the item to which the activity is related, but not linked.