Contents

makeUntitledDocumentOfType:

Creates and returns a document object for document type.

Declaration

- (id) makeUntitledDocumentOfType:(NSString *) type;

Discussion

Creates and returns an NSDocument object for document type type. The returned object is not retained. Returns nil if the NSDocument subclass for type couldn’t be determined or if the object couldn’t be created. This method calls the NSDocument init() method and is called by openUntitledDocumentOfType:display:.

See Also

Deprecated Methods