---
title: addsToRecentItems
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsworkspace/openconfiguration/addstorecentitems
---

# addsToRecentItems

A Boolean value indicating whether to add the app or documents to the Recent Items menu.

## Declaration

```swift
var addsToRecentItems: Bool { get set }
```

## Discussion

Discussion The default value of this property is true, which causes AppKit to add the items to the Recent Items menu.

## See Also

### Specifying app-related behaviors

- [activates](appkit/nsworkspace/openconfiguration/activates.md)
- [allowsRunningApplicationSubstitution](appkit/nsworkspace/openconfiguration/allowsrunningapplicationsubstitution.md)
- [createsNewApplicationInstance](appkit/nsworkspace/openconfiguration/createsnewapplicationinstance.md)
- [hides](appkit/nsworkspace/openconfiguration/hides.md)
- [hidesOthers](appkit/nsworkspace/openconfiguration/hidesothers.md)
