Returns the dictionary key used by a directory to identify a given file wrapper.
- iOS 4.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The child file wrapper for which you want the key.
Dictionary key used to store the file wrapper in the directory’s list of file wrappers. The dictionary key is a unique filename, which may not be the same as the passed-in file wrapper's preferred filename if more than one file wrapper in the directory's dictionary of children has the same preferred filename. See Accessing File Wrapper Identities in File System Programming Guide for more information about the file-wrapper list structure. Returns
nil if the file wrapper specified in
child is not a child of the directory.
This method raises
NSInternalInconsistencyException if the receiver is not a directory file wrapper.
Accessing File-Wrapper Information
The file wrappers contained by a directory file wrapper.
Adds a child file wrapper to the receiver, which must be a directory file wrapper.
Removes a child file wrapper from the receiver, which must be a directory file wrapper.
Creates a file wrapper from a given file-system node and adds it to the receiver, which must be a directory file wrapper.
Provides the pathname referenced by the file wrapper object, which must be a symbolic-link file wrapper.
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