• 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: Ondra Cada <email@hidden>
  • Date: Tue, 10 May 2005 17:08:28 +0200

Lorenzo,

On 10.5.2005, at 15:39, Lorenzo wrote:

    tempDict = [[NSDictionary alloc]
                initWithContentsOfFile:(NSString*)pathToFile];

For a temp dict, you may perhaps prefer dictionaryWithContentsOfFile :) Or perhaps not, depending on what exactly you are doing :))


... Spotlight is amazing ...

So it is, though well, each silver lining has its cloud. For one, read on...


Let's suppose in the future I want to change my importer plugin because I
decided to add/remove some metadata. I will release a new version of my
application with a new version of the plug-in embedded within the
application.
Will the new plugin replace the old plugin automatically or should I manage
this change acting on the file identifier? :-0

At the moment, the latter seems better (though it opens its very own can of ugly worms).


The trick is, if you put two or more instances of the same importer into one system (like old and new release, or a lite/pro versions, or whatever), all of them cease working. That was discussed lately here -- see "multiple mdimporters not managed by Spotlight ??? critical bug IMO".
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ 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: Add metadata to my files for Spotlight
      • From: Scott Anguish <email@hidden>
References: 
 >Re: Add metadata to my files for Spotlight (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: Tiger: NSAttributedString from WebArchive
  • Next by Date: Re: Add metadata to my files for Spotlight
  • 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