---
title: ID
framework: swift
role: symbol
role_heading: Associated Type
path: swift/identifiable/id-swift.associatedtype
---

# ID

A type representing the stable identity of the entity associated with an instance.

## Declaration

```swift
associatedtype ID : Hashable
```
