@protocol MDCMultilineTextInput <MDCTextInput>

Common API for Material Design compliant multi-line text inputs.

  • Should the text field grow vertically as new lines are added.

    Default is YES.



    @property (assign, readwrite, nonatomic) BOOL expandsOnOverflow;
  • The minimum number of lines to use for rendering text.

    The height of an empty text field is measured in potential lines. If the value were 3, the height of would never be shorter than 3 times the line height of the input font (plus clearance for auxillary views like the underline and the underline labels.)

    The smallest number of lines allowed is 1. A value of 0 has no effect.

    Default is 1.



    @property (assign, readwrite, nonatomic) NSUInteger minimumLines;