---
title: CKSystemSharingUIObserver
framework: cloudkit
role: symbol
role_heading: Class
path: cloudkit/cksystemsharinguiobserver
---

# CKSystemSharingUIObserver

An object the system uses to monitor changes in sharing.

## Declaration

```swift
class CKSystemSharingUIObserver
```

## Overview

Overview Initialize a CKSystemSharingUIObserver instance with your CKContainer when preparing to share an item using the share sheet. Use your implementation to update the local state of a shared item when your app receives a CKShare, or to delete a locally cached share when the system notifies your app about a share deletion. The system only propagates changes on the local device using CKSystemSharingUIObserver. The system doesn’t notify your app about any remote changes on the server. For more information about how to keep your local cache in sync with remote changes, see Remote Records.

## Topics

### Creating a sharing observer

- [init(container:)](cloudkit/cksystemsharinguiobserver/init(container:).md)

### Accessing sharing blocks

- [systemSharingUIDidSaveShareBlock](cloudkit/cksystemsharinguiobserver/systemsharinguididsaveshareblock-8c9vi.md)
- [systemSharingUIDidStopSharingBlock](cloudkit/cksystemsharinguiobserver/systemsharinguididstopsharingblock-7nmiw.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Collaboration

- [Sharing CloudKit Data with Other iCloud Users](cloudkit/sharing-cloudkit-data-with-other-icloud-users.md)
- [Sharing Core Data objects between iCloud users](coredata/sharing-core-data-objects-between-icloud-users.md)
- [CKShare](cloudkit/ckshare.md)
- [CKShareTransferRepresentation](cloudkit/cksharetransferrepresentation.md)
- [CKAllowedSharingOptions](cloudkit/ckallowedsharingoptions.md)
- [UICloudSharingController](uikit/uicloudsharingcontroller.md)
- [CKSharingSupported](bundleresources/information-property-list/cksharingsupported.md)
