PTNoteEditController

@interface PTNoteEditController : UIViewController

A view controller that displays and allows editing of an annotation’s popup note.

  • The UITextView that displays the contents of the note.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) UITextView *_Nonnull textView;

    Swift

    var textView: UITextView { get }
  • The contents of the note.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *_Nonnull noteString;

    Swift

    var noteString: String { get set }
  • Whether the note is readonly and editing is disabled. The default value is NO.

    Declaration

    Objective-C

    @property (getter=isReadonly, assign, readwrite, nonatomic) BOOL readonly;

    Swift

    var isReadonly: Bool { get set }
  • Returns a PTNoteEditController.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDelegate:
                                (nonnull id<PTNoteEditControllerDelegate>)delegate
                                   annotType:(PTExtendedAnnotType)annotType;

    Swift

    init(delegate: PTNoteEditControllerDelegate, annotType: PTExtendedAnnotType)