NSFile 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.
- iOS 2.0–2.0Deprecated
- macOS 10.0–10.5Deprecated
- UIKit for Mac 13.0–13.0Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
NSFileobject that sent this message.
The path or a file or directory that
manageris about to attempt to move, copy, rename, delete, or link to.
You can implement this method in your handler to monitor file operations.