Re: Add metadata to my files for Spotlight
Re: Add metadata to my files for Spotlight
- Subject: Re: Add metadata to my files for Spotlight
- From: Chris Hanson <email@hidden>
- Date: Wed, 11 May 2005 21:49:31 -0700
On May 10, 2005, at 9:10 AM, Pierre Bernard wrote:
1. Get Spotlight to see individual items rather than one big SQLite
file
2. Get the meta-data indexed at reasonable cost. The docs tell me
to refrain from instantiating a CoreData stack in the importer.
You don't need to instantiate a full Core Data stack just to read
metadata. You can use +[NSPersistentStoreCoordinator
metadataForPersistentStoreWithURL:error:] to get the metadata of the
persistent store at a given URL. You don't even need to reference a
managed object model or instantiate a persistent store coordinator
since this is a class method.
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden