domainIdentifier
An identifier that represents the domain or owner of the item.
Declaration
var domainIdentifier: String? { get set }Mentioned in
Discussion
Specify a domain identifier to group items together and make it easier to delete them from the index. For example, to delete a user activity, set this property on the contentAttributeSet property of the NSUserActivity object and then call deleteSearchableItems(withDomainIdentifiers:completionHandler:) on your app’s index.