---
title: SWCollaborationMetadata
framework: sharedwithyoucore
role: symbol
role_heading: Class
path: sharedwithyoucore/swcollaborationmetadata
---

# SWCollaborationMetadata

A model object for conveying data during a collaboration.

## Declaration

```swift
class SWCollaborationMetadata
```

## Mentioned in

Adding custom collaboration to your app Adding shared content collaboration to your app

## Overview

Overview Use SWCollaborationMetadata to share content without using iCloud. The system wraps the metadata object in an NSItemProvider object to implement a custom collaboration infrastructure. If your app uses SwiftUI, SWCollaborationMetadata is compatible with the Transferable protocol and the ShareLink view.

## Topics

### Creating collaboration metadata

- [init(localIdentifier:)](sharedwithyoucore/swcollaborationmetadata/init(localidentifier:).md)
- [init(collaborationIdentifier:)](sharedwithyoucore/swcollaborationmetadata/init(collaborationidentifier:).md)

### Accessing metadata attributes

- [collaborationIdentifier](sharedwithyoucore/swcollaborationmetadata/collaborationidentifier.md)
- [defaultShareOptions](sharedwithyoucore/swcollaborationmetadata/defaultshareoptions.md)
- [initiatorHandle](sharedwithyoucore/swcollaborationmetadata/initiatorhandle.md)
- [initiatorNameComponents](sharedwithyoucore/swcollaborationmetadata/initiatornamecomponents.md)
- [localIdentifier](sharedwithyoucore/swcollaborationmetadata/localidentifier.md)
- [title](sharedwithyoucore/swcollaborationmetadata/title.md)
- [userSelectedShareOptions](sharedwithyoucore/swcollaborationmetadata/userselectedshareoptions.md)

### Initializers

- [init(coder:)](sharedwithyoucore/swcollaborationmetadata/init(coder:).md)

## Relationships

### Inherits From

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

### Conforms To

- [CVarArg](swift/cvararg.md)
- [Copyable](swift/copyable.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSItemProviderReading](foundation/nsitemproviderreading.md)
- [NSItemProviderWriting](foundation/nsitemproviderwriting.md)
- [NSMutableCopying](foundation/nsmutablecopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Transferable](coretransferable/transferable.md)
