mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-11 20:00:30 +01:00
Spotlight support #316
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @seanliu1 on GitHub (Mar 5, 2020).
I recently work on coredata and spotlight integration https://developer.apple.com/videos/play/wwdc2017/210/
Apple introduces a few things NSCoreDataCoreSpotlightDelegate
I wonder how to integrate spotlight and coredata using corestore.
I did not find any api exposed by corestore to allow me to do that, the closet thing I can find is storageOption in StorageInterface. However I set it , I will need to have both NSPersistentStoreDescription and NSManagedObjectModel
not sure what should I put into storeOptions
@spacedema commented on GitHub (Sep 29, 2021):
The store must have persistent history tracking enabled to use NSCoreDataCoreSpotlightDelegate, but CoreStore have not.
https://github.com/JohnEstropia/CoreStore/issues/295