Returns the NSDocument
subclass associated with a given document type.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
Parameters
typeName
The name of a document type, specified by
CFBundle
in the application’sType Name Info
file..plist The document type must be one the receiver can read.
Return Value
Returns the NSDocument
subclass associated with document
. If the class cannot be found, returns nil
.