FUINoteFormCellContentView

open class FUINoteFormCellContentView : FUIFormCellContentView<FUITextView>, FUIValueComponent, FUIPlaceholderComponent, UITextViewDelegate

The content view of a FUIDrawingNoteFormCell.

  • If isTrackingLiveChanges is true, then onChangeHandler will be invoked for every letter entered.

    Otherwise, onChangeHandler will be invoked only after user taps Done key, or the field resigns first responder.

    Defaults to false.

    Declaration

    Swift

    public var isTrackingLiveChanges: Bool
  • The minimum number of lines in the valueView. The cell height will be set to display the text with this number of lines. The default value is 1. Setting this value to less or equal to zero is ignored. This property is ignored when the height of the cell is fixed.

    Declaration

    Swift

    public var minNumberOfLines: Int { get set }
  • The maximum number of lines in the valueView. The cell height could grow to display the text with this number of lines. This property is ignored when the height of the cell is fixed. The default is 0. Any value less or equals to zero means no limit.

    Declaration

    Swift

    public var maxNumberOfLines: Int
  • This is the maximum length of the text in the valueView, if maxNoteTextLength is greater than 0.

    If the text length reaches this limit, the user cannot enter more text. Note: If the user pastes a string and the length plus the current text length is greater than the limit, the insert is rejected. Partial strings are not accepted in the text field.

    The default value for maxNoteTextLength is 0, which means no limit.

    Declaration

    Swift

    public var maxValueTextLength: Int