---
title: CKShareTransferRepresentation.ExportedShare
framework: cloudkit
role: symbol
role_heading: Structure
path: cloudkit/cksharetransferrepresentation/exportedshare
---

# CKShareTransferRepresentation.ExportedShare

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

## Declaration

```swift
struct ExportedShare
```

## Topics

### Accessing share attributes

- [transferRepresentation](cloudkit/cksharetransferrepresentation/exportedshare/transferrepresentation.md)

### Preparing an exported share

- [existing(_:container:allowedSharingOptions:)](cloudkit/cksharetransferrepresentation/exportedshare/existing(_:container:allowedsharingoptions:).md)
- [prepareShare(container:allowedSharingOptions:preparationHandler:)](cloudkit/cksharetransferrepresentation/exportedshare/prepareshare(container:allowedsharingoptions:preparationhandler:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Transferable](coretransferable/transferable.md)

## See Also

### Accessing transfer representation attributes

- [body](cloudkit/cksharetransferrepresentation/body.md)
