One Logo Pool Ball
CoreData · IOS API REFERENCE

NSCoreDataCoreSpotlightDelegate

class · iOS 11.0+ · SDK 27.1

class NSCoreDataCoreSpotlightDelegate

Members (12)

method · iOS 11.0+

attributeSet

TypeScript
attributeSet(object: NSManagedObject): (_CoreSpotlight_CSSearchableItemAttributeSet) | null
Swift declaration
func attributeSet(for object: NSManagedObject) -> CSSearchableItemAttributeSet?
method · iOS 14.0+

deleteSpotlightIndex

TypeScript
deleteSpotlightIndex(completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func deleteSpotlightIndex() async throws
method · iOS 11.0+

domainIdentifier

TypeScript
domainIdentifier(): string
Swift declaration
func domainIdentifier() -> String
method · iOS 11.0+

indexName

TypeScript
indexName(): (string) | null
Swift declaration
func indexName() -> String?
init · iOS 13.0+

init

TypeScript
static initForStoreWithCoordinator(description: NSPersistentStoreDescription, psc: NSPersistentStoreCoordinator): NSCoreDataCoreSpotlightDelegate
Swift declaration
init(forStoreWith description: NSPersistentStoreDescription, coordinator psc: NSPersistentStoreCoordinator)
init · iOS 11.0+ · Deprecated in iOS 15.0

init

TypeScript
static initForStoreWithModel(description: NSPersistentStoreDescription, model: NSManagedObjectModel): NSCoreDataCoreSpotlightDelegate
Swift declaration
convenience init(forStoreWith description: NSPersistentStoreDescription, model: NSManagedObjectModel)
method · iOS 11.0+

searchableIndex

TypeScript
searchableIndexReindexAllSearchableItemsWithAcknowledgementHandler(searchableIndex: _CoreSpotlight_CSSearchableIndex, acknowledgementHandler: (() => void)): void
Swift declaration
func searchableIndex(_ searchableIndex: CSSearchableIndex, reindexAllSearchableItemsWithAcknowledgementHandler acknowledgementHandler: @escaping () -> Void)
method · iOS 11.0+

searchableIndex

TypeScript
searchableIndexReindexSearchableItemsWithIdentifiersAcknowledgementHandler(searchableIndex: _CoreSpotlight_CSSearchableIndex, identifiers: Array<string>, acknowledgementHandler: (() => void)): void
Swift declaration
func searchableIndex(_ searchableIndex: CSSearchableIndex, reindexSearchableItemsWithIdentifiers identifiers: [String], acknowledgementHandler: @escaping () -> Void)
method · iOS 13.0+

startSpotlightIndexing

TypeScript
startSpotlightIndexing(): void
Swift declaration
func startSpotlightIndexing()
method · iOS 13.0+

stopSpotlightIndexing

TypeScript
stopSpotlightIndexing(): void
Swift declaration
func stopSpotlightIndexing()
get · iOS 15.0+

isIndexingEnabled

TypeScript
get isIndexingEnabled(): boolean
Swift declaration
var isIndexingEnabled: Bool { get }
get · iOS 15.0+

indexDidUpdateNotification

TypeScript
static get indexDidUpdateNotification(): _Foundation_NSNotification_Name
Swift declaration
static let indexDidUpdateNotification: Notification.Name

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSCoreDataCoreSpotlightDelegate.init()

inherited init: cannot prove legal (class declares 4 custom initializers)

All CoreData types →