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

Core data search and spotlight importer question


  • Subject: Core data search and spotlight importer question
  • From: "Wayne Pascoe" <email@hidden>
  • Date: Mon, 7 Aug 2006 12:50:53 +0100 (BST)
  • Importance: Normal

Hi all,

I would like to add search functionality to my application. I've broken
this down into two stages, and would like some advice on both of them
please.

I've looked at
http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/07_Metadata/chapter_8_section_7.html
and read a document about writing Spotlight importers, but this seemed to
focus on importing metadata about a document that my application created.
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. Can
anyone point me at a resource that would illustrate how I go about this ?

Secondly, the search function within the application... I know how to add
search to filter a table on the data that is displayed, but I want to
allow users to search all data related toa record and then display the
appropriate records.

For example, an archive would have the following details listed in the
main interface:
- Name
- Description
- Media Type
- Content Type

It would also have a list of associated files and each file would have
associated information.

File details are stored in the Files entity which has a many-to-one
relationship with the archive entity. i.e. One archive entry can have
multiple file entries associated with it.

I would like a user to be able to enter a filename (or part thereof) and
for any archives that contain that filename to be displayed in the main
view. Is this even possible? If so, how would I go about doing this ?

Thanks in advance,

--
Wayne Pascoe
I refuse to tiptoe quietly through life...
only to arrive safely at death.

 _______________________________________________
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

  • Follow-Ups:
    • Re: Core data search and spotlight importer question
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: Re: FSCopyObjectASync callback handler
  • Next by Date: NSCell:trackMouse always calls setNextState, why?
  • Previous by thread: Line breaks in Carbon to Cocoa paste
  • Next by thread: Re: Core data search and spotlight importer question
  • Index(es):
    • Date
    • Thread