Instance Method
fileWrapperRepresentationOfType:
Returns an NSFileWrapper object that represents the data of the receiver in a given type.
SDK
- macOS 10.0–10.4Deprecated
Discussion
Returns an NSFileWrapper
object that represents the data of the receiver in a given type (aType
). This method invokes dataRepresentationOfType:
to get the data object from which to create a plain-file file wrapper. Subclasses can override this method if dataRepresentationOfType:
is not adequate for their needs. This method is invoked by the default implementation of writeToFile:ofType:
.
See Also
Deprecated Methods
- dataRepresentationOfType:
A primitive method overridden by subclasses to return a data object that represents the data of the receiver in a given type.
Deprecated- fileName
Returns the filename (as a fully qualified path) under which the receiver has been saved.
Deprecated- saveToURL:ofType:forSaveOperation:error:
Saves the contents of the document to a file or file package located by a URL, formatted to a specified type, for a particular kind of save operation, and returns YES
if successful.
Deprecated- setFileName:
Sets the file (filename and directory path) under which document data is saved.
Deprecated- validateMenuItem:
Validates the Revert menu item and items selected from the Save panel’s pop-up list of writable document types items.