Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Свойство TextBox сделать публичным #5

@modestman

Description

@modestman
  • В TextField и TextView свойство textBox сделать публичным
  • В TextBox свойство state сделать публичным
  • Добавить делегат (или KVO) для возможности отслеживания изменения свойства TextBox.state

Примерно такой протокол:

public protocol TextBoxDelegate: class {
    func willChangeState(newValue: TextInputState, animated: Bool)
    func didChangeState(newValue: TextInputState, animated: Bool)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions