---
title: CGWindowSharingType.readOnly
framework: coregraphics
role: symbol
role_heading: Case
path: coregraphics/cgwindowsharingtype/readonly
---

# CGWindowSharingType.readOnly

## Declaration

```swift
case readOnly
```

## Discussion

Discussion The window is shared and its contents can be read by all processes but modified only by the process that created it.

## See Also

### Constants

- [CGWindowSharingType.none](coregraphics/cgwindowsharingtype/none.md)
- [CGWindowSharingType.readWrite](coregraphics/cgwindowsharingtype/readwrite.md)
