init

Initializes a file manager object.

Declaration

- init

Return Value

A new file manager object.

Discussion

In iOS and in macOS 10.5 and later, you can use this method to create a specific file manager instance. You might do this in situations where you want to associate a delegate with the file manager to receive notifications about the status of file-related operations.

See Also

Creating a File Manager

defaultManager

Returns the shared file manager object for the process.