Cocoaのリファレンス
Home
目次
内容の保証はしません。
NSDocumentController
autosavingDelay
defaultType
新しいドキュメントを作るときに使われるドキュメントタイプの名前を返します
documentClassNames
このアプリケーションがサポートするNSDocumentサブクラスの名前を返します
documentForURL:
documentForURL:
makeDocumentWithContentsOfURL:ofType:error:
makeUntitledDocumentOfType:error:
maximumRecentDocumentCount
openDocumentWithContentsOfURL:display:error:
openUntitledDocumentAndDisplay:error:
presentError:
presentError:modalForWindow:delegate:didPresentSelector:contextInfo:
reopenDocumentForURL:withContentsOfURL:error:
setAutosavingDelay:
typeForContentsOfURL:inAbsoluteURL error:
willPresentError:
sharedDocumentController
共有ドキュメントコントローラインスタンスを返します
init
ドキュメントコントローラを初期化して返します
makeDocumentWithContentsOfFile:ofType:
ファイル名とドキュメントタイプで文書を作ります
makeDocumentWithContentsOfURL:ofType:
URLと文書タイプでドキュメントオブジェクトを作って返します
makeUntitledDocumentOfType:
タイプでドキュメントオブジェクトを作って返します
openDocumentWithContentsOfFile:display:
ファイル名の内容でドキュメントオブジェクトを返します
openDocumentWithContentsOfURL:display:
URLの内容でドキュメントオブジェクトを返します
openUntitledDocumentOfType:display:
ドキュメントタイプでドキュメントオブジェクトを返します
setShouldCreateUI:
ドキュメントが作られるときにウインドウコントローラに追加されるかをセットします
shouldCreateUI
ドキュメントが作られるときにウインドウコントローラに追加されるかを返します
runModalOpenPanel:forTypes:
指定した拡張子でオープンパネルをモーダルを開始します
fileNamesFromRunningOpenPanel
オープンパネルでファイル名を返します
currentDirectory
現在のディレクトリを返します
URLsFromRunningOpenPanel
オープンパネルからURLを作って配列で返します
closeAllDocuments
使用しません
closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:
全てのドキュメントを閉じます
reviewUnsavedDocumentsWithAlertTitle:cancellable:
使用しません
reviewUnsavedDocumentsWithAlertTitle:cancellable:delegate:didReviewAllSelector:contextInfo:
調査中
newDocument:
新規ドキュメントメニューを呼び出します
openDocument:
ドキュメントを開きます
saveAllDocuments:
セーブする必要のあるドキュメントを全て保存します
documents
ドキュメントコントローラで管理されるドキュメントオブジェクトを返します
addDocument:
ドキュメントコントローラにドキュメントを追加します
clearRecentDocuments:
アプリケーションの文書リストを空にします
currentDocument
現在のドキュメントを返します
documentClassForType:
文書タイプでドキュメントクラスを返します
documentForFileName:
ファイル名でドキュメントオブジェクトを返します
documentForWindow:
ウインドウのドキュメントオブジェクトを返します
hasEditedDocuments
文書が編集されているかを返します
noteNewRecentDocument:
新しいドキュメントを作る時に呼び出されます
noteNewRecentDocumentURL:
調査中
recentDocumentURLs
最近のドキュメントURLのリストを返します
removeDocument:
開いているドキュメントリストから指定したドキュメントを削除します
displayNameForType:
文書タイプで表示名を返します
fileExtensionsFromType:
文書タイプで拡張子の配列を返します
typeFromFileExtension:
ファイル拡張子でファイルタイプを返します
validateMenuItem:
調査中
validateUserInterfaceItem:
調査中
ホーム