Re: NSOpenPanel and showing file name's
Re: NSOpenPanel and showing file name's
- Subject: Re: NSOpenPanel and showing file name's
- From: Hamish Allan <email@hidden>
- Date: Thu, 3 Nov 2005 17:59:09 +0000
On Wed, 2 Nov 2005 15:17:29 -0700, Scott Mitchell
<email@hidden> wrote:
So when they go to open this file I want to display the name '1st-
Math Eighth Grade' instead of 'WOO84567.G2C', because they don't
know the actual file name nor do we want them to for
reason's beyond explanation here.
Depending on what you mean by "when they go to open this file", you
could perhaps use a directory full of hard links:
$ ln original_dir/WOO84567.G2C "Human-readable descriptions/1st-Math
Eighth Grade"
In the first instance you would do this by parsing every file in
original_dir; but after this if you stored a "last cached" date you
would only need to check for files with a creation date later than
this prior to opening the save panel each time.
Of course, deleting files might be an issue, but it sounds as though
your users really wouldn't be able to do that through the Finder anyway.
Best wishes,
Hamish
_______________________________________________
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