---
title: SWAction
framework: sharedwithyoucore
role: symbol
role_heading: Class
path: sharedwithyoucore/swaction
---

# SWAction

An object that represents a collaboration action.

## Declaration

```swift
class SWAction
```

## Mentioned in

Adding custom collaboration to your app

## Topics

### Accessing action attributes

- [isComplete](sharedwithyoucore/swaction/iscomplete.md)
- [uuid](sharedwithyoucore/swaction/uuid.md)

### Completing an action

- [fail()](sharedwithyoucore/swaction/fail().md)
- [fulfill()](sharedwithyoucore/swaction/fulfill().md)

### Initializers

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

## Relationships

### Inherits From

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

### Inherited By

- [SWStartCollaborationAction](sharedwithyoucore/swstartcollaborationaction.md)
- [SWUpdateCollaborationParticipantsAction](sharedwithyoucore/swupdatecollaborationparticipantsaction.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

### Handle collaboration actions

- [SWCollaborationActionHandler](sharedwithyoucore/swcollaborationactionhandler.md)
- [SWStartCollaborationAction](sharedwithyoucore/swstartcollaborationaction.md)
- [SWUpdateCollaborationParticipantsAction](sharedwithyoucore/swupdatecollaborationparticipantsaction.md)
