Instance Property

directoryAttributes

A dictionary with the attributes of the directory at which enumeration started.

Declaration

@property(readonly, copy) NSDictionary<NSFileAttributeKey, id> *directoryAttributes;

Discussion

See the description of the fileAttributesAtPath:traverseLink: method of NSFileManager for details on obtaining the attributes from the dictionary.

See Also

Getting File and Directory Attributes

fileAttributes

A dictionary with the attributes of the most recently returned file or subdirectory (as referenced by the pathname).

level

The number of levels deep the current object is in the directory hierarchy being enumerated.