PSPDFTextFieldFormElementView
Objective-C
@interface PSPDFTextFieldFormElementView
: PSPDFFormElementView <UITextViewDelegate, UITextFieldDelegate,
PSPDFOverridable>
Swift
class TextFieldFormElementView : PDFFormElementView, UITextViewDelegate, UITextFieldDelegate, Overridable
Free Text View. Allows inline text editing.
-
Start editing, shows the keyboard.
-
Ends editing, hides the keyboard.
-
Internally used textView. Only valid during begin and before endEditing.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) UITextView *textView;
Swift
var textView: UITextView? { get }
-
Internally used textField. Only valid during begin and before endEditing.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) UITextField *textField;
Swift
var textField: UITextField? { get }
-
Is this a multiline text view?
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isMultiline;
Swift
var isMultiline: Bool { get }
-
Is this a secure text view for displaying passwords?
Declaration
Objective-C
@property (nonatomic, readonly) BOOL isPassword;
Swift
var isPassword: Bool { get }
-
Whether view is in edit mode.
Declaration
Objective-C
@property (nonatomic) BOOL editMode;
Swift
var editMode: Bool { get set }
-
The dragging view, if we are currently dragged.
Declaration
Objective-C
@property (nonatomic, weak) PSPDFResizableView *_Nullable resizableView;
Swift
weak var resizableView: PSPDFResizableView? { get set }
-
Creates a textView on the fly once we enter edit mode.
Declaration
Objective-C
@property (nonatomic, readonly) UITextView *_Nonnull setTextViewForEditing;
Swift
var setTextViewForEditing: UITextView { get }