views:

16

answers:

1

NSFileManager has several method to enumerate directory contents, but they returns all files including hidden or system files which is invisible for users in Finder.

I want to get the file list same as Finder. As possible as simple. What do I have to do?

A: 

Test the filename, usually a hidden file begins with a "." (period).

Anriëtte Combrink
Thanks. But I heard there are some other conditions (not only names) which hide files from Finder. I just equal result with the Finder does. Is there no API for this?
Eonil