• 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: Core data search and spotlight importer question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core data search and spotlight importer question


  • Subject: Re: Core data search and spotlight importer question
  • From: Andrew Farmer <email@hidden>
  • Date: Mon, 7 Aug 2006 22:39:20 -0700

On 07 Aug 06, at 04:50, Wayne Pascoe wrote:
I would like to add search functionality to my application...

I'm not using a document based application, so I want to do spotlight
importing of individual records in the application. I think the way
address book does things is a close match to what I'm trying to do.

Here's the real secret: Spotlight can't search for anything that isn't
associated with a specific file. You'll have to create an individual file
to reference each record to get this to work like you're envisioning.


(This is, in fact, exactly what Address Book does. Look in:
   $HOME/Library/Caches/com.apple.AddressBook/MetaData/
 and you'll see what it's doing internally.)

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
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: 
 >Core data search and spotlight importer question (From: "Wayne Pascoe" <email@hidden>)

  • Prev by Date: Re: Biting off too much?
  • Next by Date: Re: ftp file busy?
  • Previous by thread: Core data search and spotlight importer question
  • Next by thread: NSCell:trackMouse always calls setNextState, why?
  • Index(es):
    • Date
    • Thread