setShouldCreateUI:
Sets whether the window controllers of a document should be created when the document is created.
Declaration
- (void) setShouldCreateUI:(BOOL) flag;Discussion
Sets whether the window controllers (NSWindowController instances) of a document should be created when the document is created. When a window controller is created, it loads the nib file containing the window it manages. Often flag is set to false for scripting or searching operations involving the document’s data.
See Also
Deprecated Methods
documentForFileName:fileExtensionsFromType:fileNamesFromRunningOpenPanelmakeUntitledDocumentOfType:makeDocumentWithContentsOfURL:ofType:makeDocumentWithContentsOfFile:ofType:openDocumentWithContentsOfFile:display:openDocumentWithContentsOfURL:display:openDocumentWithContentsOfURL:display:error:openUntitledDocumentOfType:display:reopenDocumentForURL:withContentsOfURL:error:shouldCreateUItypeFromFileExtension: