Writes the serialized contents of the specified file wrapper to the pasteboard.
- macOS 10.0+
The file wrapper to write to the pasteboard.
true if the data was successfully written, otherwise
Writes the serialized contents of the file wrapper
wrapper to the receiver and declares the data to be of type
NSFile and also of a type appropriate for the file’s extension (as returned by the
NSCreate function when passed the files extension), if it has one. If
wrapper does not have a preferred filename, this method raises an exception.