revertToSavedFromURL:ofType:
Reverts the receiver.
Declaration
- (BOOL) revertToSavedFromURL:(NSURL *) url ofType:(NSString *) type;Discussion
Reverts the receiver to the data stored at aURL of type type. Invokes readFromURL: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:revertToSavedFromFile:ofType:runModalPageLayoutWithPrintInfo:saveToFile:saveOperation:delegate:didSaveSelector:contextInfo:saveToURL:ofType:forSaveOperation:error: