<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSApplicationDelegate/application(_:didDecodeRestorableState:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSApplicationDelegate(im)application:didDecodeRestorableState:"
  },
  "title" : "application(_:didDecodeRestorableState:)"
}
-->

# application(_:didDecodeRestorableState:)

Tells the delegate when the app finished decoding its restorable state.

```
@MainActor optional func application(_ app: NSApplication, didDecodeRestorableState coder: NSCoder)
```

## Parameters

`app`

The application.

`coder`

The coder extracting the archive.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)