Matt Gemmell is the guy to read on this: http://whathaveyoutried.com/

The shortcut function you are asking for doesn't exist. So now what? What have you tried? People are much more likely to provide answers to questions that show what you are currently doing. You're taking the risk that people might think your code stinks if you provide it, but you've already given the *newb* disclaimer, so there's really no risk at all. People will cut you some slack. Show us what you've done so far.

Best regards,

-Matt



On Dec 23, 2008, at 1:31 PM, Chris Paveglio wrote:

I need to use directoryContentsAtPath to do a simple count of files in a directory. But sometimes I get an incorrect number (vs the Finder's display), because there is a .DS_Store file in the folder. Is there a way to ignore invisible files? Is there something like directoryContentsAtPath:ignoringInvisibleFiles or some other filter?

(newb, so please explain any suggestions fully, thx!)

Thanks,
Chris




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to