A dictionary with the attributes of the directory at which enumeration started.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
@property(readonly, copy) NSDictionary<NSFile Attribute Key, id> *directoryAttributes;
Discussion
See the description of the file
method of NSFile
for details on obtaining the attributes from the dictionary.