Instance Property

expirationDate

The date after which the searchable item should no longer exist.

Declaration

var expirationDate: Date! { get set }

Discussion

If you don’t set the expirationDate property appropriately, the system automatically expires the item after a period of time.

See Also

Setting Attributes on a Searchable Item

var attributeSet: CSSearchableItemAttributeSet

The set of attributes that contain metadata associated with the item in a CSSearchableItemAttributeSet object.

var domainIdentifier: String?

An optional identifier that represents the domain or owner of the item.

var uniqueIdentifier: String

The value that uniquely identifies the searchable item within your app.

Beta Software

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.

Learn more about using Apple's beta software