SWCollaborationCoordinator

SWCollaborationCoordinator

SWCollaborationCoordinator Class of SharedWithYouCore An object that contains the shared collaboration coordinator.

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 //com.apple.documentation/documentation/UIKit/UIApplicationDelegate/application(:didFinishLaunchingWithOptions:)) method, set the actionHandler property to an object that conforms to the `doc://com.apple.sharedwithyou/documentation/SharedWithYouCore/SWCollaborationActionHandler` protocol.

Related Sessions from WWDC22: Session 10093: Integrate your custom collaboration app with Messages