Type Property

defaultManager

The shared file manager object for the process.

Declaration

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

Discussion

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.