<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CAMetalLayer/allowsNextDrawableTimeout",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CAMetalLayer(py)allowsNextDrawableTimeout"
  },
  "title" : "allowsNextDrawableTimeout"
}
-->

# allowsNextDrawableTimeout

A Boolean value that determines whether requests for a new buffer expire if the system can’t satisfy them.

```
var allowsNextDrawableTimeout: Bool { get set }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, the [`nextDrawable()`](/documentation/QuartzCore/CAMetalLayer/nextDrawable()) method returns <doc://com.apple.documentation/documentation/ObjectiveC/nil-227m0> if it can’t provide a drawable object within one second. If <doc://com.apple.documentation/documentation/Swift/false>, the [`nextDrawable()`](/documentation/QuartzCore/CAMetalLayer/nextDrawable()) method waits indefinitely for a drawable to become available.

The default value is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)