---
title: configuration
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstoolbar/configuration
---

# configuration

A dictionary containing the current configuration details for the toolbar.

## Declaration

```swift
var configuration: [String : Any] { get }
```

## Discussion

Discussion Use this property to retrieve the toolbar’s configuration details so you can save them to disk yourself. The dictionary in this property contains the identifiers of the current toolbar items and the values of important properties such as displayMode and isVisible.

## See Also

### Autosaving the configuration

- [autosavesConfiguration](appkit/nstoolbar/autosavesconfiguration.md)
- [setConfiguration(_:)](appkit/nstoolbar/setconfiguration(_:).md)
