---
title: SWCollaborationOption
framework: sharedwithyoucore
role: symbol
role_heading: Class
path: sharedwithyoucore/swcollaborationoption
---

# SWCollaborationOption

An object that determines how the system shares a document in a collaboration.

## Declaration

```swift
class SWCollaborationOption
```

## Overview

Overview The SWCollaborationOption represents a user-configurable setting for a collaboration that the system uses to share the document. The system displays these options on the Share Sheet or in Messages.

## Topics

### Creating collaboration options

- [init(title:identifier:)](sharedwithyoucore/swcollaborationoption/init(title:identifier:).md)
- [init(title:identifier:subtitle:selected:requiredOptionsIdentifiers:)](sharedwithyoucore/swcollaborationoption/init(title:identifier:subtitle:selected:requiredoptionsidentifiers:).md)

### Accessing option attributes

- [identifier](sharedwithyoucore/swcollaborationoption/identifier.md)
- [isSelected](sharedwithyoucore/swcollaborationoption/isselected.md)
- [requiredOptionsIdentifiers](sharedwithyoucore/swcollaborationoption/requiredoptionsidentifiers.md)
- [subtitle](sharedwithyoucore/swcollaborationoption/subtitle.md)
- [title](sharedwithyoucore/swcollaborationoption/title.md)

### Initializers

- [init(coder:)](sharedwithyoucore/swcollaborationoption/init(coder:).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)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Manage options in a collaboration

- [SWCollaborationOptionsGroup](sharedwithyoucore/swcollaborationoptionsgroup.md)
- [SWCollaborationOptionsPickerGroup](sharedwithyoucore/swcollaborationoptionspickergroup.md)
- [SWCollaborationShareOptions](sharedwithyoucore/swcollaborationshareoptions.md)
- [SWLocalCollaborationIdentifier](sharedwithyoucore/swlocalcollaborationidentifier.md)
- [UTCollaborationOptionsTypeIdentifier](sharedwithyoucore/utcollaborationoptionstypeidentifier.md)
