Contents

init(string:)

Initializes a single-line editable text field for user input using the system default font and standard visual appearance.

Declaration

convenience init(string stringValue: String)

Parameters

  • stringValue:

    A string to use as the initial content of the editable text field.

Return Value

A single-line editable text field that displays the specified string.

See Also

Creating Text Fields