Re: NSFileManager - getting list of "safe" files/folders [update]
Re: NSFileManager - getting list of "safe" files/folders [update]
- Subject: Re: NSFileManager - getting list of "safe" files/folders [update]
- From: Ondra Cada <email@hidden>
- Date: Wed, 22 Jun 2005 00:36:59 +0200
On Jun 22, 2005, at 12:16 AM, Duncan Campbell wrote:
Any ideas folks - I'm so close here!
Frankly, I do fear there is a completely haphazard and Finder-
specific set of "changes" in filesystem, which are just
programmatically duplicated for Save/Open panel, and that's that. One
thing are hidden files, another that /Volume fake being root and root
fakes being /Macintosh HD... *ICK*!!! That's pretty bad.
My *personal* opinion is: show the user what there *really* is on the
disk (skipping hidden files and so forth of course), and warn him
that Finder and Open/Save panel do lie. (Another of course, use the
displayNameAtPath: for localizable folder names etc.)
Well, if anybody would correct me, great--possibly I am overlooking
something important, or perhaps some Carbon-level API, or whatever.
But, far as I know, there is no way to mimic the Finder and Open/Save
panel fairy-tales of how the disk's contents look like (than "have-a-
look-and-try-to-explicitly-implement-it", which is kinda ugly) :(
---
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