SWCollaborationCoordinator
An object that contains the shared collaboration coordinator.
Declaration
class SWCollaborationCoordinatorOverview
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:
Access the singleton coordinator instance through the shared property.
Then, in the app delegate’s application(_:didFinishLaunchingWithOptions:) method, set the
actionHandlerproperty to an object that conforms to the SWCollaborationActionHandler protocol.