---
title: documentClassNames
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsdocumentcontroller/documentclassnames
---

# documentClassNames

An array of strings representing the custom document classes supported by this app.

## Declaration

```swift
var documentClassNames: [String] { get }
```

## Discussion

Discussion The items in the array are NSString objects, each of which represents the name of a document subclasses supported by the app. The document class names are derived from the app’s Info.plist.  You can override this property and use it to return the names of document classes that are dynamically loaded from plugins.

## See Also

### Managing Document Types

- [defaultType](appkit/nsdocumentcontroller/defaulttype.md)
- [documentClass(forType:)](appkit/nsdocumentcontroller/documentclass(fortype:).md)
- [displayName(forType:)](appkit/nsdocumentcontroller/displayname(fortype:).md)
- [typeForContents(of:)](appkit/nsdocumentcontroller/typeforcontents(of:).md)
