Enumeration Case

NSFileCoordinatorWritingForMoving

Declaration

NSFileCoordinatorWritingForMoving = 1 << 1

Discussion

When specified for a directory item, the file coordinator waits for already running read and write operations of the directory’s contents, which were themselves initiated through a file coordinator, to finish before moving the directory. Queued, but not executing, read and write operations on the directory’s contents wait until the move operation finishes.

This option has no effect on files. You can safely use it when moving file-system items without checking to see whether those items are files or directories.