mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-02-20 08:27:32 +08:00
* textfield readme autogenerated. * usage positioning was wrong. https://github.com/material-components/material-components-ios/pull/3628
500 B
500 B
A text field that conforms to MDCTextInput can be added to a view hierarchy the same way UITextField and UIView are. But to achieve the animations and presentations defined by the guidelines (floating placeholders, character counts), a controller that conforms to protocol MDCTextInputController must be initialized to manage the text field.
NOTE: Expect to interact with both the text field (for the traditional API) and the controller (for changes affecting the presentation and state).