<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/canDrawConcurrently",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSView(py)canDrawConcurrently"
  },
  "title" : "canDrawConcurrently"
}
-->

# canDrawConcurrently

A Boolean value indicating whether the view can draw its contents on a background thread.

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

## Discussion

If your view’s [`draw(_:)`](/documentation/AppKit/NSView/draw(_:)) implementation can draw safely on a background thread, set this property to <doc://com.apple.documentation/documentation/Swift/true>. Doing so gives AppKit the ability to run your view’s drawing code off the app’s main thread, which can improve performance. The view’s window must also have its [`allowsConcurrentViewDrawing`](/documentation/AppKit/NSWindow/allowsConcurrentViewDrawing) property set to <doc://com.apple.documentation/documentation/Swift/true> (the default) for threaded view drawing to occur.

---

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)