You are here

moveItemAtPath

- (BOOL)moveItemAtPath:(NSString *)sourcePath toPath:(NSString *)destinationPath error:(NSError **)error - move file from source path to destination path.

Parameters

(NSString *)sourcePath
String specifying the source path.
(NSString *)destinationPath
String specifying the destination path.
(NSError **)error
Error object

Returns

(BOOL) - true if the file was moved successfully.

Example