<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/UnsafeMutablePointer/pointee",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:SpsRi_zrlE7pointeexvp"
  },
  "title" : "pointee"
}
-->

# pointee

Reads or updates the instance referenced by this pointer.

```
var pointee: Pointee { get nonmutating set }
```

## Discussion

When reading from the `pointee` property, the instance referenced by this
pointer must already be initialized. When `pointee` is used as the left
side of an assignment, the instance is updated. The instance must
be initialized or this pointer’s `Pointee` type must be a trivial type.

Uninitialized memory cannot be initialized to a nontrivial type
using `pointee`. Instead, use an initializing method, such as
`initialize(to:)`.

---

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)