• 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: Keeping track of files, i.e. aliases, NSURL's?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Keeping track of files, i.e. aliases, NSURL's?
      • From: Finlay Dobbie <email@hidden>
References: 
 >Keeping track of files, i.e. aliases, NSURL's? (From: Tristan Harris <email@hidden>)

  • Prev by Date: Re: Multiple Nibs in 10.2
  • Next by Date: Re: Problem with NSColor since 10.2
  • Previous by thread: Keeping track of files, i.e. aliases, NSURL's?
  • Next by thread: Re: Keeping track of files, i.e. aliases, NSURL's?
  • Index(es):
    • Date
    • Thread