NSFileManager delete contents of directory

Posted by Nano8Blazex on Stack Overflow See other posts from Stack Overflow or by Nano8Blazex
Published on 2010-05-05T01:03:41Z Indexed on 2010/05/05 1:08 UTC
Read the original article Hit count: 423

How do you delete all the contents of a directory without deleting the directory itself? I want to basically empty a folder yet leave it (and the permissions) intact.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about snow-leopard