readFromURL:ofType:
Reads and loads document data.
Declaration
- (BOOL) readFromURL:(NSURL *) url ofType:(NSString *) type;Discussion
Reads and loads document data of type docType from the URL aURL, returning whether the operation was successful. This method only supports URLs of the file: scheme and calls readFromFile:ofType:.
See Also
Methods
dataRepresentationOfType:fileAttributesToWriteToFile:ofType:saveOperation:fileNamefileWrapperRepresentationOfType:initWithContentsOfFile:ofType:initWithContentsOfURL:ofType:loadDataRepresentation:ofType:loadFileWrapperRepresentation:ofType:printShowingPrintPanel:readFromFile:ofType:revertToSavedFromFile:ofType:revertToSavedFromURL:ofType:runModalPageLayoutWithPrintInfo:saveToFile:saveOperation:delegate:didSaveSelector:contextInfo:saveToURL:ofType:forSaveOperation:error: