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

# identifier

An optional, unique identifier for the storyboard segue that you can specify using the Identity inspector in Interface Builder.

```
var identifier: NSStoryboardSegue.Identifier? { get }
```

## Discussion

You use this property if you override the [`prepare(for:sender:)`](/documentation/AppKit/NSSeguePerforming/prepare(for:sender:)) method of the [`NSSeguePerforming`](/documentation/AppKit/NSSeguePerforming) protocol.

---

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)