<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Collaboration",
  "identifier" : "/documentation/Collaboration/CBIdentity/init(persistentReference:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Collaboration"
    ],
    "preciseIdentifier" : "c:objc(cs)CBIdentity(cm)identityWithPersistentReference:"
  },
  "title" : "init(persistentReference:)"
}
-->

# init(persistentReference:)

Returns the identity object matching the persistent reference data.

```
init?(persistentReference data: Data)
```

## Parameters

`data`

The persistent data object that refers to an identity.

## Return Value

The identity object matching the persistent data object, or `nil` if the identity is not found.

## Discussion

A persistent reference is an opaque data object suitable for persistent storage.

---

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)