Instance Method

attributeSet(for:)

Creates and returns the searchable attributes for the referenced managed object.

Declaration

func attributeSet(for object: NSManagedObject) -> CSSearchableItemAttributeSet?

Discussion

Override to return nil if you don’t want the object in the index.

See Also

Searching

func domainIdentifier() -> String

Identifies the Core Spotlight domain.

func indexName() -> String?

Provides a name for the Core Spotlight index.