Document Revision History

This table describes the changes to NSDocument Class Reference.

DateNotes
2013-10-22Added PDF printing methods.
2012-09-19

Added description of restoreDocumentWindowWithIdentifier:state:completionHandler: method.

2012-07-23

Added descriptions for numerous methods, added in OS X v10.8, that support iCloud, Auto Save, moving, and renaming of documents: autosavesDrafts, backupFileURL, browseDocumentVersions:, defaultDraftName, isDraft, isLocked, lockDocument:, lockDocumentWithCompletionHandler:, moveDocument:, moveDocumentToUbiquityContainer:, moveDocumentWithCompletionHandler:, moveToURL:completionHandler:, renameDocument:, setDraft:, unlockDocument:, unlockDocumentWithCompletionHandler:, unlockWithCompletionHandler:, and usesUbiquitousStorage.

 

Added a description for the new NSAutosaveAsOperation save operation type.

2012-01-09Updated link to companion guide.
2011-09-22Made minor technical and editorial corrections throughout.
2011-07-11Updated for OS X v10.7.
2009-05-21Updated for OS X v10.6. Revised description of presentError:modalForWindow:delegate: didPresentSelector:contextInfo: so it does not imply that NSDocument provides a default implementation of didPresentErrorWithRecovery:contextInfo:. Added override advice to description of autosavingFileType method.
 

Added information about preserving file extension hiding in fileAttributesToWriteToURL:ofType:forSaveOperation:originalContentsURL:error: override. Added Multicore Considerations section to introduction.

2009-01-06Added description of NSChangeRedone constant. Updated other constant declarations and revised their descriptions. Added subclassing advice section with cross reference to main discussion.
2008-03-11Revised descriptions of saveDocumentWithDelegate:didSaveSelector: contextInfo: and isDocumentEdited methods. Added descriptions (previously removed) of deprecated methods no longer appearing in header file.
2007-04-03Added description of method introduced in OS X v10.5. Revised task categories. Removed comment stating incorrectly that close method is not called when quitting an application. Removed descriptions of deprecated methods no longer defined in header file.
2006-07-24Rewrote description of runModalSavePanelForSaveOperation:delegate: didSaveSelector:contextInfo: method; reformatted parameter descriptions and made minor revisions throughout.
2006-05-23First publication of this content as a separate document.