Link Search Menu Expand Document

TextField

public class TextField: Control 

Inheritance

Control, TextInputTraits

Initializers

init(frame:)

public init(frame: Rect) 

Properties

delegate

public weak var delegate: TextFieldDelegate?

text

Accessing the Text Attributes

@_Win32WindowText
  public var text: String?

placeholder

public var placeholder: String?

font

public override var font: Font? 

textAlignment

public var textAlignment: TextAlignment 

adjustsFontForContentSizeCategory

public var adjustsFontForContentSizeCategory = false

isSecureTextEntry

public var isSecureTextEntry: Bool 

Methods

traitCollectionDidChange(_:)

override public func traitCollectionDidChange(_ previousTraitCollection: TraitCollection?)