PTAnnotationReplyInputView


@interface PTAnnotationReplyInputView : UIView <PTOverridable>

A view that accepts user text input.

  • Initializes a newly created PTAnnotationReplyInputView instance with the specified frame.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFrame:(CGRect)frame;

    Swift

    init(frame: CGRect)

    Parameters

    frame

    The frame for the view

    Return Value

    an initialized PTAnnotationReplyInputView instance

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
  • The text view displayed by this view.

    Declaration

    Objective-C

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

    Swift

    var textView: UITextView { get }
  • The placeholder string displayed in the text view when it is empty.

    The default value of this property is nil.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *placeholderString;

    Swift

    var placeholderString: String? { get set }
  • The button used to submit the text in the text view.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) UIButton *_Nonnull submitButton;

    Swift

    var submitButton: UIButton { get }
  • Clear the contents of the text view and reset the state of the input view.

    Declaration

    Objective-C

    - (void)clear:(nullable id)sender;

    Swift

    func clear(_ sender: Any?)