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

# sharing

A capability for sharing a specific hierarchy of records.

## Declaration

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

## Discussion

Discussion CloudKit allows you to share record hierarchies from 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)
- [zoneWideSharing](cloudkit/ckrecordzone/capabilities-swift.struct/zonewidesharing.md)
