- (BOOL)createDirectoryAtPath:(NSString *)path
withIntermediateDirectories:(BOOL)createIntermediates attributes:(NSDictionary
*)attributes error:(NSError **)error - create a directory at the specified
location.
Parameters
- (NSString *)path
- String specifying the path.
- (BOOL)createIntermediates
- Set to true to create any intermediate directories required by the specified path.
- (NSDictionary *)attributes
- Attributes for the directory.
- (NSError **)error
- Error object
Returns
(BOOL) - true if the directory was created successfully.