PTAnnotationAuthorModel

@protocol PTAnnotationAuthorModel <NSObject>

A protocol that defines the interface of an annotation author model object.

  • A string that uniquely identifies this author.

    Declaration

    Objective-C

    @required
    @property (nonatomic, copy, readonly, nullable) NSString *identifier;

    Swift

    var identifier: String? { get }
  • The display name of this author.

    Declaration

    Objective-C

    @required
    @property (nonatomic, copy, readonly, nullable) NSString *name;

    Swift

    var name: String? { get }
  • The annotations created by this author.

    Declaration

    Objective-C

    @required
    @property (nonatomic, copy, readonly, nullable)
        NSSet<id<PTAnnotationModel>> *annotations;

    Swift

    var annotations: Set<AnyHashable>? { get }
  • The documents that this author has edited in some way.

    Declaration

    Objective-C

    @required
    @property (nonatomic, copy, readonly, nullable)
        NSSet<id<PTDocumentModel>> *documents;

    Swift

    var documents: Set<AnyHashable>? { get }