---
title: allowsNextDrawableTimeout
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/cametallayer/allowsnextdrawabletimeout
---

# allowsNextDrawableTimeout

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

## Declaration

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

## Discussion

Discussion If true, the nextDrawable() method returns nil if it can’t provide a drawable object within one second. If false, the nextDrawable() method waits indefinitely for a drawable to become available. The default value is true.

## See Also

### Obtaining a Metal Drawable

- [nextDrawable()](quartzcore/cametallayer/nextdrawable().md)
- [maximumDrawableCount](quartzcore/cametallayer/maximumdrawablecount.md)
