<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKShareTransferRepresentation/ExportedShare",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "s:8CloudKit29CKShareTransferRepresentationV13ExportedShareV"
  },
  "title" : "CKShareTransferRepresentation.ExportedShare"
}
-->

# CKShareTransferRepresentation.ExportedShare

An intermediate structure that returns an existing share or prepares a new one if it doesn’t exist.

```
struct ExportedShare
```

## Topics

### Accessing share attributes

[`transferRepresentation`](/documentation/CloudKit/CKShareTransferRepresentation/ExportedShare/transferRepresentation)

The representation the system uses to import and export the item.

### Preparing an exported share

[`existing(_:container:allowedSharingOptions:)`](/documentation/CloudKit/CKShareTransferRepresentation/ExportedShare/existing(_:container:allowedSharingOptions:))

Allows the user to view or make modifications to the share settings.

[`prepareShare(container:allowedSharingOptions:preparationHandler:)`](/documentation/CloudKit/CKShareTransferRepresentation/ExportedShare/prepareShare(container:allowedSharingOptions:preparationHandler:))

Creates a share when the system calls the specified handler.



---

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)