<!--
{
  "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/init(exporter:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "s:8CloudKit29CKShareTransferRepresentationV8exporterACyxGAC13ExportedShareVyx_GxYbKc_tcfc"
  },
  "title" : "init(exporter:)"
}
-->

# init(exporter:)

Creates and initializes a transfer representation.

```
init(exporter: @escaping @Sendable (Item) throws -> CKShareTransferRepresentation<Item>.ExportedShare)
```

## Parameters

`exporter`

A closure that provides a [`CKShareTransferRepresentation.ExportedShare`](/documentation/CloudKit/CKShareTransferRepresentation/ExportedShare) representation of the specified `Item`.

## Return Value

A [`CKShareTransferRepresentation.ExportedShare`](/documentation/CloudKit/CKShareTransferRepresentation/ExportedShare).

---

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)