Table of Contents

defaultManager

 
+ (NSFileManager *)defaultManager;
 

Return Value - Returns the shared file manager object for the process.

ObjC Sourcecode Example

    // ** Default FileManager **
    NSFileManager *defaultManager = [NSFileManager defaultManager];
 
    // ** Output Default FileManager **
    NSLog(@"DefaultManager: %@", defaultManager);

Output for this example code

2012-12-25 12:19:34.356 NSFileManagerSample[311:11303] DefaultManager: <NSFileManager: 0x745ad90>