Changes

Jump to: navigation, search

Working with Directories in Objective-C

99 bytes added, 20:23, 10 November 2009
Getting the Attributes of a File or Directory
== Getting the Attributes of a File or Directory ==
The attributes of a file or directory can be obtained using the ''attributesOfItemAtPath'' method. This takes as arguments the path of the directory and an error handler, optional NSError object into which information about any errors will be placed (may be specified as NULLif this information is not required). The results are returned in the form of an ''NSDictionary'' dictionary object (for details of working with dictionary objects refer to [[Objective-C Dictionary Objects]]). The keys for this dictionary are as follows:
<tt>NSFileType</tt><br>

Navigation menu