---
title: restorableState
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsviewinvalidating/restorablestate
---

# restorableState

A change that invalidates the restorable state of the view.

## Declaration

```swift
static var restorableState: NSView.Invalidations.RestorableState { get }
```

## Discussion

Discussion Use this invalidation type to call invalidateRestorableState() so that a change in property value invalidates the viewʼs restorable state. This triggers the app to save any information the restoration system needs to restore the current state of the view.

## See Also

### Types of Invalidations

- [constraints](appkit/nsviewinvalidating/constraints.md)
- [display](appkit/nsviewinvalidating/display.md)
- [intrinsicContentSize](appkit/nsviewinvalidating/intrinsiccontentsize.md)
- [layout](appkit/nsviewinvalidating/layout.md)
