• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Add metadata to my files for Spotlight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add metadata to my files for Spotlight


  • Subject: Re: Add metadata to my files for Spotlight
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 11 May 2005 22:17:57 -0700


On May 11, 2005, at 9:49 PM, Chris Hanson wrote:

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.


See <http://developer.apple.com/documentation/Cocoa/Conceptual/ NSPersistentDocumentTutorial/07_Metadata/chapter_8_section_1.html>


mmalc

_______________________________________________
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


References: 
 >Re: Add metadata to my files for Spotlight (From: Pierre Bernard <email@hidden>)
 >Re: Add metadata to my files for Spotlight (From: Ondra Cada <email@hidden>)
 >Re: Add metadata to my files for Spotlight (From: Pierre Bernard <email@hidden>)
 >Re: Add metadata to my files for Spotlight (From: Creed Erickson <email@hidden>)
 >Re: Add metadata to my files for Spotlight (From: Pierre Bernard <email@hidden>)
 >Re: Add metadata to my files for Spotlight (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Add metadata to my files for Spotlight
  • Next by Date: Code developed on XCode 1.5/Panther does not run on Tiger
  • Previous by thread: Re: Add metadata to my files for Spotlight
  • Next by thread: Re: Add metadata to my files for Spotlight
  • Index(es):
    • Date
    • Thread