Type Property


The shared file manager object for the process.


@property(class, readonly, strong) NSFileManager *defaultManager;


This method always represents the same file manager object. If you plan to use a delegate with the file manager to receive notifications about the completion of file-based operations, you should create a new instance of NSFileManager (using the init method) rather than using the shared object.

See Also

Creating a File Manager

- init

Initializes a file manager object.

+ fileManagerWithAuthorization:

Initializes a file manager object that is authorized to perform privileged file system operations.

Beta Software

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