Adding a Text Field to your iOS App

This tutorial requires basic knowledge of Storyboards and Swift. Read this if you lack that.

Find the Text Field in the Object Library and drag it to your view:

Screen Shot 2018-06-12 at 12.08.19.png

Create an Outlet for the Text Field:

Screen Shot 2018-06-12 at 12.08.45.png

At any point, you can set or get (printed in this case) the contents of the Text Field with the following:

myTextField.text = "Hello"

Resulting in the following:

Screen Shot 2018-06-12 at 12.15.20.png