NSDocumentController Class Reference
PDF
Overview
Adopted Protocols
Tasks
Obtaining the Shared Document Controller
Initializing a New NSDocumentController
Creating and Opening Documents
Managing Documents
Managing Document Types
Autosaving
Closing Documents
Responding to Action Messages
Managing the Open Panel
Managing the Open Recent Menu
Validating User Interface Items
Handling Errors
Deprecated Methods
Class Methods
sharedDocumentController
Instance Methods
addDocument:
autosavingDelay
clearRecentDocuments:
closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:
currentDirectory
currentDocument
defaultType
displayNameForType:
documentClassForType:
documentClassNames
documentForURL:
documentForWindow:
documents
hasEditedDocuments
init
makeDocumentForURL:withContentsOfURL:ofType:error:
makeDocumentWithContentsOfURL:ofType:error:
makeUntitledDocumentOfType:error:
maximumRecentDocumentCount
newDocument:
noteNewRecentDocument:
noteNewRecentDocumentURL:
openDocument:
openDocumentWithContentsOfURL:display:error:
openUntitledDocumentAndDisplay:error:
presentError:
presentError:modalForWindow:delegate:didPresentSelector:contextInfo:
recentDocumentURLs
removeDocument:
reopenDocumentForURL:withContentsOfURL:error:
reviewUnsavedDocumentsWithAlertTitle:cancellable:delegate:didReviewAllSelector:contextInfo:
runModalOpenPanel:forTypes:
saveAllDocuments:
setAutosavingDelay:
typeForContentsOfURL:error:
URLsFromRunningOpenPanel
validateUserInterfaceItem:
willPresentError:
Appendix A: Deprecated NSDocumentController Methods
Deprecated in Mac OS X v10.4
documentForFileName:
fileNamesFromRunningOpenPanel
makeDocumentWithContentsOfFile:ofType:
makeDocumentWithContentsOfURL:ofType:
makeUntitledDocumentOfType:
openDocumentWithContentsOfFile:display:
openDocumentWithContentsOfURL:display:
openUntitledDocumentOfType:display:
setShouldCreateUI:
shouldCreateUI
Deprecated in Mac OS X v10.5
fileExtensionsFromType:
typeFromFileExtension:
Revision History
Index
Companion Guide
Document-Based Applications Overview