The set of properties to display for a searchable item.
Mac Catalyst 13.0+Beta
To make content searchable, create an attribute set that contains properties that specify the metadata to display about an item (represented by a CSSearchableItem object) when it appears in a search result.
The attributes you choose depend on your domain. You can use the properties that Core Spotlight provides in categories defined on CSSearchableItemAttributeSet (such as Media and Documents), or you can define your own. If you want to define a custom attribute, be as specific as possible in your definition and use the contentTypeTree property so that your custom attribute can inherit from a known type.
A CSSearchableItemAttributeSet object should be changed from only one thread at a time. Concurrent access to properties in an attribute set has undefined behavior.
A key associated with a custom attribute for a searchable item.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.