An NSFileManager object sends this message to its handler for each error it encounters when copying, moving, removing, or linking files or directories.
A dictionary that contains two or three pieces of information (all NSString objects) related to the error:
Key
Value
値
@"Path"
The path related to the error (usually the source path)
@"Error"
A description of the error
@"ToPath"
The destination path (not all errors)
Return Value
戻り値
YES if the operation (which is often continuous within a loop) should proceed, otherwise NO.
Discussion
解説
An NSFileManager object, manager, sends this message for each error it encounters when copying, moving, removing, or linking files or directories. The return value is passed back to the invoker of copyPath:toPath:handler:, movePath:toPath:handler:, removeFileAtPath:handler:, or linkPath:toPath:handler:. If an error occurs and your handler has not implemented this method, the invoking method automatically returns NO.
Returns a dictionary that describes the attributes of the mounted file system on which a given path resides.
そこにおいて与えられたパスが存在するところのマウントされたファイルシステムの属性を記述する辞書を返します。
An NSFileManager object sends this message to a handler immediately before attempting to move, copy, rename, or delete, or before attempting to link to a given path.