Type Property


Returns the shared file manager object for the process.


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

Return Value

The default NSFileManager object for the file system.


This method always returns 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


Initializes a file manager object.