We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextField
TextView
textBox
TextBox
state
TextBox.state
Примерно такой протокол:
public protocol TextBoxDelegate: class { func willChangeState(newValue: TextInputState, animated: Bool) func didChangeState(newValue: TextInputState, animated: Bool) }
The text was updated successfully, but these errors were encountered:
Делегат не нужен, можно обойтись методом для переопределения
Sorry, something went wrong.
Покажи пример кода
open TextField { private func updateState(animated: Bool) { // ... inputStateDidUpdate() } open func inputStateDidUpdate() { // } }
No branches or pull requests
TextField
иTextView
свойствоtextBox
сделать публичнымTextBox
свойствоstate
сделать публичнымTextBox.state
Примерно такой протокол:
The text was updated successfully, but these errors were encountered: