FWTextField

final class FWTextField : UITextField

Formworks custom UITextField implementation

  • Declaration

    Swift

    override init(frame: CGRect)
  • Defines the width rect size of the text rect.

    Declaration

    Swift

    override func textRect(forBounds bounds: CGRect) -> CGRect
  • Defines the placeholder rect size of the text rect.

    Declaration

    Swift

    override func placeholderRect(forBounds bounds: CGRect) -> CGRect
  • Defines the editing rect size of the text rect.

    Declaration

    Swift

    override func editingRect(forBounds bounds: CGRect) -> CGRect