• 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: NSOpenPanel and showing file name's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Interface Builder, springy objects and TextField behaviour
  • Next by Date: Re: Quality of icons in table view
  • Previous by thread: Re: NSOpenPanel and showing file name's
  • Next by thread: Flushing events
  • Index(es):
    • Date
    • Thread