<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Combine",
  "identifier" : "/documentation/Combine/CustomCombineIdentifierConvertible",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Combine"
    ],
    "preciseIdentifier" : "s:7Combine06CustomA21IdentifierConvertibleP"
  },
  "title" : "CustomCombineIdentifierConvertible"
}
-->

# CustomCombineIdentifierConvertible

A protocol for uniquely identifying publisher streams.

```
protocol CustomCombineIdentifierConvertible
```

## Overview

If you create a custom [`Subscription`](/documentation/Combine/Subscription) or [`Subscriber`](/documentation/Combine/Subscriber) type, implement this protocol so that development tools can uniquely identify publisher chains in your app.
If your type is a class, Combine provides an implementation of [`combineIdentifier`](/documentation/Combine/CustomCombineIdentifierConvertible/combineIdentifier) for you.
If your type is a structure, set up the identifier as follows:

```
let combineIdentifier = CombineIdentifier()
```

## Topics

### Identifying publisher streams

[`combineIdentifier`](/documentation/Combine/CustomCombineIdentifierConvertible/combineIdentifier)

A unique identifier for identifying publisher streams.



---

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)