Type Property

defaultManager

Returns the shared file manager object for the process.

Declaration

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

Return Value

The default NSFileManager object for the file system.

Discussion

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.