Initializes the receiver as a directory file wrapper, with a given file-wrapper list.
- iOS 4.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Key-value dictionary of file wrappers with which to initialize the receiver. The dictionary must contain entries whose values are the file wrappers that are to become children and whose keys are filenames. See Accessing File Wrapper Identities in File System Programming Guide for more information about the file-wrapper list structure.
Initialized file wrapper for
After initialization, the file wrapper is not associated with a file-system node until you save it using
The receiver is initialized with open permissions: anyone can read, write, or modify the directory on disk.
If any file wrapper in the directory doesn’t have a preferred filename, its preferred name is automatically set to its corresponding key in the