<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTabViewItem/identifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTabViewItem(py)identifier"
  },
  "title" : "identifier"
}
-->

# identifier

Sets the receiver’s optional identifier object to `identifier`.

```
var identifier: Any? { get set }
```

## Discussion

To customize how your application works with tabs, you can specify an identifier object for each tab view item.

## See Also

[`init(identifier:)`](/documentation/AppKit/NSTabViewItem/init(identifier:))

Performs default initialization for the receiver.



---

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)