<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGWindowSharingType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@E@CGWindowSharingType"
  },
  "title" : "CGWindowSharingType"
}
-->

# CGWindowSharingType

The data type used to specify the sharing mode used by a window.

```
enum CGWindowSharingType
```

## Overview

This type is used in conjunction with the constants described in [Window Sharing Constants](/documentation/CoreGraphics/window-sharing-constants).

## Topics

### Constants

[`CGWindowSharingType.none`](/documentation/CoreGraphics/CGWindowSharingType/none)

[`CGWindowSharingType.readOnly`](/documentation/CoreGraphics/CGWindowSharingType/readOnly)

[`CGWindowSharingType.readWrite`](/documentation/CoreGraphics/CGWindowSharingType/readWrite)



---

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)