Instance Property

fileAttributes

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

Declaration

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

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

directoryAttributes

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

level

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software