Contents

SWCollaborationCoordinator

An object that contains the shared collaboration coordinator.

Declaration

class SWCollaborationCoordinator

Overview

SWCollaborationCoordinator is a singleton, meaning there’s a global shared instance. The singleton invokes its actionHandler delegate to coordinate new collaborations and updates to existing collaborations.

Register the delegate soon after launch and handle actions immediately to avoid timeouts. Here’s how to set up the collaboration coordinator after your app finishes launching:

  1. Access the singleton coordinator instance through the shared property.

  2. Then, in the app delegate’s application(_:didFinishLaunchingWithOptions:) method, set the actionHandler property to an object that conforms to the SWCollaborationActionHandler protocol.

Topics

Accessing coordinator attributes