Re: Add metadata to my files for Spotlight
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