---
title: values
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsuserdefaultscontroller/values
---

# values

Returns a key value coding compliant object that is used to access the user default properties.

## Declaration

```swift
var values: Any { get }
```

## Discussion

Discussion If present the value for the property in defaults is returned, otherwise a corresponding value in initialValues is returned. This property is observable using key-value observing.

## See Also

### Managing user defaults values

- [defaults](appkit/nsuserdefaultscontroller/defaults.md)
- [initialValues](appkit/nsuserdefaultscontroller/initialvalues.md)
- [hasUnappliedChanges](appkit/nsuserdefaultscontroller/hasunappliedchanges.md)
- [appliesImmediately](appkit/nsuserdefaultscontroller/appliesimmediately.md)
- [revert(_:)](appkit/nsuserdefaultscontroller/revert(_:).md)
- [revertToInitialValues(_:)](appkit/nsuserdefaultscontroller/reverttoinitialvalues(_:).md)
- [save(_:)](appkit/nsuserdefaultscontroller/save(_:).md)
