---
title: keywords
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsattributedstring/documentattributekey/keywords
---

# keywords

The document keywords.

## Declaration

```swift
static let keywords: NSAttributedString.DocumentAttributeKey
```

## Discussion

Discussion The value of this attribute is an NSArray object containing NSString objects, containing keywords.

## See Also

### Getting document metadata keys

- [author](foundation/nsattributedstring/documentattributekey/author.md)
- [category](foundation/nsattributedstring/documentattributekey/category.md)
- [characterEncoding](foundation/nsattributedstring/documentattributekey/characterencoding.md)
- [cocoaVersionDocumentAttribute](foundation/nsattributedstring/documentattributekey/cocoaversiondocumentattribute.md)
- [comment](foundation/nsattributedstring/documentattributekey/comment.md)
- [company](foundation/nsattributedstring/documentattributekey/company.md)
- [converted](foundation/nsattributedstring/documentattributekey/converted.md)
- [copyright](foundation/nsattributedstring/documentattributekey/copyright.md)
- [creationTime](foundation/nsattributedstring/documentattributekey/creationtime.md)
- [editor](foundation/nsattributedstring/documentattributekey/editor.md)
- [manager](foundation/nsattributedstring/documentattributekey/manager.md)
- [modificationTime](foundation/nsattributedstring/documentattributekey/modificationtime.md)
- [readOnly](foundation/nsattributedstring/documentattributekey/readonly.md)
- [subject](foundation/nsattributedstring/documentattributekey/subject.md)
- [title](foundation/nsattributedstring/documentattributekey/title.md)
