<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.0.0 - 27.0.0",
    "macOS: 10.13.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLDevice/isRemovable",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLDevice(py)removable"
  },
  "title" : "isRemovable"
}
-->

# isRemovable

A Boolean value that indicates whether the GPU is removable.

```
var isRemovable: Bool { get }
```

## Discussion

You can respond to GPU removal notifications by registering with
the [`MTLCopyAllDevicesWithObserver(handler:)`](/documentation/Metal/MTLCopyAllDevicesWithObserver(handler:)) function in Swift,
or the [`MTLCopyAllDevicesWithObserver`](/documentation/Metal/MTLCopyAllDevicesWithObserver) function in Objective-C,
and responding to the [`removalRequested`](/documentation/Metal/MTLDeviceNotificationName/removalRequested) and
[`wasRemoved`](/documentation/Metal/MTLDeviceNotificationName/wasRemoved) device notification names.

> Important:
> If a person removes a GPU without warning, ``doc://com.apple.metal/documentation/Metal/MTLDevice`` APIs may fail even before your app receives a ``doc://com.apple.metal/documentation/Metal/MTLDeviceNotificationName/wasRemoved`` notification.

---

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)