revertToSavedFromFile:ofType:
Reverts the receiver to the data stored in the file system.
Declaration
- (BOOL) revertToSavedFromFile:(NSString *) fileName ofType:(NSString *) type;Discussion
Reverts the receiver to the data stored in the file system in file named fileName of file type type. Invokes readFromFile:ofType: and returns whether that method successfully read the file and processed the document data.
See Also
Methods
dataRepresentationOfType:fileAttributesToWriteToFile:ofType:saveOperation:fileNamefileWrapperRepresentationOfType:initWithContentsOfFile:ofType:initWithContentsOfURL:ofType:loadDataRepresentation:ofType:loadFileWrapperRepresentation:ofType:printShowingPrintPanel:readFromFile:ofType:readFromURL:ofType:revertToSavedFromURL:ofType:runModalPageLayoutWithPrintInfo:saveToFile:saveOperation:delegate:didSaveSelector:contextInfo:saveToURL:ofType:forSaveOperation:error: