PTCollaborationDocumentViewController
@interface PTCollaborationDocumentViewController : PTDocumentViewController
A subclass of the PTDocumentViewController that will synchronize annotations between the device and
central server.
The implementation is minimal:
It connects the
PTCollaborationDocumentViewController.toolManager.collaborationManagerand thePTCollaborationServerCommunication service.It does not allow the user to select annotations where the author of the annotation does not match the user that is logged in to the
PTCollaborationServerCommunication service.
-
The object that communicates with the server.
Declaration
Objective-C
@property (nonatomic, strong, readonly) id<PTCollaborationServerCommunication> _Nonnull service;Swift
var service: any PTCollaborationServerCommunication { get } -
Creates a new
PTCollaborationDocumentViewControllerand sets itsserviceproperty to that provided in this initializer.Declaration
Objective-C
- (nonnull instancetype)initWithCollaborationService: (nonnull id<PTCollaborationServerCommunication>)service;Swift
init(collaborationService service: any PTCollaborationServerCommunication)
-
The
PTAnnotationReplyViewControllershown by this view controller for viewing annotation replies.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) PTAnnotationReplyViewController *collaborationReplyViewController;Swift
var collaborationReplyViewController: PTAnnotationReplyViewController? { get } -
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithCoder:(nonnull NSCoder *)aDecoder; -
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init;
PTCollaborationDocumentViewController Class Reference