Re: Keeping track of files, i.e. aliases, NSURL's?
Re: Keeping track of files, i.e. aliases, NSURL's?
- Subject: Re: Keeping track of files, i.e. aliases, NSURL's?
- From: Ondra Cada <email@hidden>
- Date: Wed, 28 Aug 2002 15:22:53 +0200
On Wednesday, August 28, 2002, at 08:57 , Tristan Harris wrote:
My application needs to keep track of files while it runs, so ... it will
be able to resolve to the new location of the file if it has moved....
What is the preferred way to do this in Cocoa?
The preferred way is *NOT* to do that, since it is error-prone and brings
a completely crazy behaviours. All what is needed is to have another
filesystem mounted, and at once -- from plain user's POV quite
mysteriously -- any "move tracking" becomes to work in a completely
haphazard way.
The best and most convenient way to handle a file which disappeared is to
show an alert "Hey! File XXX disappeared -- you must have deleted or moved
it.".
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.