---
title: zoneWideSharing
framework: cloudkit
role: symbol
role_heading: Type Property
path: cloudkit/ckrecordzone/capabilities-swift.struct/zonewidesharing
---

# zoneWideSharing

A capability for sharing the entire contents of a record zone.

## Declaration

```swift
static var zoneWideSharing: CKRecordZone.Capabilities { get }
```

## Discussion

Discussion CloudKit allows you to share custom record zones that you create in the user’s private database. For more information, see Shared Records.

## See Also

### Zone Capabilities

- [atomic](cloudkit/ckrecordzone/capabilities-swift.struct/atomic.md)
- [fetchChanges](cloudkit/ckrecordzone/capabilities-swift.struct/fetchchanges.md)
- [sharing](cloudkit/ckrecordzone/capabilities-swift.struct/sharing.md)
