---
title: UnsafePointer.Distance
framework: swift
role: symbol
role_heading: Type Alias
path: swift/unsafepointer/distance
---

# UnsafePointer.Distance

A type that represents the distance between two pointers.

## Declaration

```swift
typealias Distance = Int
```
