Changes

Jump to: navigation, search

Working with Directories in Objective-C

No change in size, 20:14, 10 November 2009
Deleting a Directory
== Deleting a Directory ==
An existing directory may be removed from the file system using the ''removeFileAtPathremoveItemAtPath'' method, passing though the path of the directory to be removed as an argument:
<pre>
filemgr = [NSFileManager defaultManager];
[filemgr removeFileAtPathremoveItemAtPath: @"/tmp/mynewdir" handler: nil];
</pre>

Navigation menu