Re: Core data search and spotlight importer question
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