NSDocumentController
Overview
Tasks
Constructors
Obtaining the Shared Document Controller
Creating and Opening Documents
Handling Errors
Managing the Open Panel
Autosaving
Responding to Action Messages
Managing Documents
Managing the Open Recent Menu
Managing Document Types
Validating User Interface Items
Deprecated Methods
Constructors
Static Methods
sharedDocumentController
Instance Methods
addDocument
autosavingDelay
clearRecentDocuments
closeAllDocuments
currentDirectory
currentDocument
defaultType
displayNameForType
documentClassForType
documentClassNames
documentForFileName
documentForURL
documentForWindow
documents
fileExtensionsFromType
fileNamesFromRunningOpenPanel
hasEditedDocuments
lastError
makeDocumentForURLWithContentsOfURLOfType
makeDocumentWithContentsOfFile
makeDocumentWithContentsOfURL
makeDocumentWithContentsOfURLOfType
makeUntitledDocumentOfType
maximumRecentDocumentCount
newDocument
noteNewRecentDocument
noteNewRecentDocumentURL
openDocument
openDocumentWithContentsOfFile
openDocumentWithContentsOfURL
openUntitledDocument
openUntitledDocumentOfType
presentError
presentErrorModalForWindow
recentDocumentURLs
removeDocument
reopenDocumentForURLWithContentsOfURL
reviewUnsavedDocumentsWithAlertTitle
runModalOpenPanel
saveAllDocuments
setAutosavingDelay
setLastError
setShouldCreateUI
shouldCreateUI
typeForContentsOfURL
typeFromFileExtension
URLsFromRunningOpenPanel
validateMenuItem
willPresentError
Index
Companion Guide
Document-Based Applications Overview