• 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: NSFileManager - getting list of "safe" files/folders [update]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >NSFileManager - getting list of "safe" files/folders (From: Duncan Campbell <email@hidden>)
 >NSFileManager - getting list of "safe" files/folders [update] (From: Duncan Campbell <email@hidden>)
 >Re: NSFileManager - getting list of "safe" files/folders [update] (From: Prachi Gauriar <email@hidden>)
 >Re: NSFileManager - getting list of "safe" files/folders [update] (From: Duncan Campbell <email@hidden>)

  • Prev by Date: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Next by Date: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Previous by thread: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Next by thread: Re: NSFileManager - getting list of "safe" files/folders [update]
  • Index(es):
    • Date
    • Thread