Changes

Jump to: navigation, search

Working with Directories in Objective-C

31 bytes added, 14:48, 27 May 2010
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 optional NSError object into which information about any errors will be placed (may be specified as NULL if 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:
<google>ADSDAQBOX_FLOW</google>
<tt>NSFileType</tt><br>
<tt>NSFileTypeDirectory</tt><br>

Navigation menu