Contents

fileWrappers

The file wrappers contained by a directory file wrapper.

Declaration

var fileWrappers: [String : FileWrapper]? { get }

Discussion

The dictionary contains entries whose values are the file wrappers and whose keys are the unique filenames that have been assigned to each one. See Accessing File Wrapper Identities in File System Programming Guide for more information about the file-wrapper list structure.

This property may contain nil if the user modifies the directory after you call read(from:options:) or init(url:options:) but before FileWrapper has read the contents of the directory. Use the immediate reading option to reduce the likelihood of that problem.

Special Considerations

This property raises NSInternalInconsistencyException if the file wrapper object is not a directory file wrapper.

See Also

Related Documentation

Accessing File-Wrapper Information