<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSUserInterfaceItemIdentification",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSUserInterfaceItemIdentification"
  },
  "title" : "NSUserInterfaceItemIdentification"
}
-->

# NSUserInterfaceItemIdentification

A set of methods used to associate a unique identifier with objects in your user interface.

```
protocol NSUserInterfaceItemIdentification
```

## Overview

The protocol is adopted by AppKit interface objects to support window restoration, whereby information about window and other interface-related objects is preserved and used to restore the application’s interface during the next launch cycle.

## Topics

### Accessing the User Interface Identifier

[`identifier`](/documentation/AppKit/NSUserInterfaceItemIdentification/identifier)

A string that identifies the user interface item.

[`NSUserInterfaceItemIdentifier`](/documentation/AppKit/NSUserInterfaceItemIdentifier)



---

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)