---
title: "init(mutating:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/unsafemutablepointer/init(mutating:)-23779"
---

# init(mutating:)

Creates a mutable typed pointer referencing the same memory as the given immutable pointer.

## Declaration

```swift
init?(mutating other: UnsafePointer<Pointee>?)
```

## Parameters

- `other`: The immutable pointer to convert. If other is nil, the result is nil.
