fileExistsAtPath - Checks if a file exists at the
specified path location
fileExistsAtPath
- (BOOL)fileExistsAtPath:(NSString *)path - Checks if
a file exists at the specified path location
Parameters
- (NSString *)path
- String specifying the path.
Returns
(BOOL) - true if the file/folder exists
Example
fileExistsAtPath:isDirectory
- (BOOL)fileExistsAtPath:(NSString *)path isDirectory:(BOOL
*)isDirectory - Checks if a file exists at the specified path location,
passing in a memory reference pointer to a BOOL which indicates if the path points
to a directory
Parameters
- (NSString *)path
- String specifying the path.
- (BOOL *)isDirectory
- True of the path points to a directory.
Returns
(BOOL) - true if the file/folder exists